Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / solution / genie.lua
diff options
context:
space:
mode:
1 files changed, 9 insertions, 0 deletions
-rw-r--r--spasm/solution/genie.lua9
diff --git a/spasm/solution/genie.lua b/spasm/solution/genie.lua
index d1fb495..5ba467c 100644
--- a/spasm/solution/genie.lua
+++ b/spasm/solution/genie.lua
@@ -15,6 +15,12 @@ if not solution() then
local root = '../build/'
+ if _ACTION ~= 'ninja' then
+ location '.'
+ else
+ location './ninja'
+ end
+
configuration 'Debug'
targetdir(root .. 'bin/Debug')
objdir(root .. 'obj/Debug')
@@ -38,6 +44,7 @@ end
kind 'StaticLib'
language 'C++'
uuid(os.uuid('spasm_lib'))
+ location(solution().location)
files '../src/asm/*.cpp'
removefiles {
'../src/asm/main.cpp',
@@ -50,6 +57,7 @@ end
kind 'ConsoleApp'
language 'C++'
uuid(os.uuid('spasm'))
+ location(solution().location)
links 'spasm_lib'
files '../src/asm/main.cpp'
removefiles {
@@ -62,6 +70,7 @@ end
kind 'ConsoleApp'
language 'C++'
uuid(os.uuid('sprun'))
+ location(solution().location)
files '../src/main.cpp'
links 'sprt'