From 034a710af4a31c257719c78d735b80acf6f8e797 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Mon, 5 Nov 2018 23:50:47 +0200 Subject: Allowed inclusion of spasm solution in other solutions --- spasm/solution/genie.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'spasm/solution') diff --git a/spasm/solution/genie.lua b/spasm/solution/genie.lua index b3bb00f..b310ad0 100644 --- a/spasm/solution/genie.lua +++ b/spasm/solution/genie.lua @@ -1,4 +1,5 @@ -solution 'spasm' +if not solution() then + solution 'spasm' configurations {'Debug', 'Release'} platforms { 'x64' } flags { @@ -8,9 +9,9 @@ solution 'spasm' 'Symbols', } - defines { - '_SCL_SECURE_NO_WARNINGS', - } + defines { + '_SCL_SECURE_NO_WARNINGS', + } local root = '../build/' @@ -23,6 +24,7 @@ solution 'spasm' targetdir(root .. 'bin/Release') objdir(root .. 'obj/Release') configuration '*' +end project 'sprt' kind 'StaticLib' -- cgit v1.3.1-26-gb76a