Website Summary Files Commits Branches @commit @diff @stats
path: root / gctest / solution / genie.lua
diff options
context:
space:
mode:
Commit028910e5b3340226d7943cedb229092b3cc514ed (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2021-10-02 08:30:36 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2021-10-08 21:58:10 +0300
Files6f61780f94670899dc8272f59fcbd335a3238ddf /gctest/solution/genie.lua
IPL-028910e5b3340226d7943cedb229092b3cc514ed.tar
IPL-028910e5b3340226d7943cedb229092b3cc514ed.tar.gz
IPL-028910e5b3340226d7943cedb229092b3cc514ed.zip
Parent3afe9c5646d656e244c044f8e32d60240b0fa0c0 (diff)
Generate project files in next to the solution
- Also allows for the ninja generator of genie to work correctly
1 files changed, 7 insertions, 0 deletions
-rw-r--r--gctest/solution/genie.lua7
diff --git a/gctest/solution/genie.lua b/gctest/solution/genie.lua
index 8a1473a..394417a 100644
--- a/gctest/solution/genie.lua
+++ b/gctest/solution/genie.lua
@@ -19,6 +19,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')
@@ -44,6 +50,7 @@ function setup()
configuration 'gcc'
removeflags 'ExtraWarnings'
configuration '*'
+ location(solution().location)
end
project 'test_bench'