diff options
| Commit | 028910e5b3340226d7943cedb229092b3cc514ed (patch) | |
|---|---|---|
| Author | 2021-10-02 08:30:36 +0300 | |
| Committer | 2021-10-08 21:58:10 +0300 | |
| Files | 6f61780f94670899dc8272f59fcbd335a3238ddf /JSImpl/solution | |
| IPL-028910e5b3340226d7943cedb229092b3cc514ed.tar IPL-028910e5b3340226d7943cedb229092b3cc514ed.tar.gz IPL-028910e5b3340226d7943cedb229092b3cc514ed.zip | ||
| Parent | 3afe9c5646d656e244c044f8e32d60240b0fa0c0 (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-- | JSImpl/solution/genie.lua | 7 |
diff --git a/JSImpl/solution/genie.lua b/JSImpl/solution/genie.lua index 5d36fc8..0da986a 100644 --- a/JSImpl/solution/genie.lua +++ b/JSImpl/solution/genie.lua @@ -17,6 +17,11 @@ solution 'JSImpl' local root = '../build/' + if _ACTION ~= 'ninja' then + location '.' + else + location './ninja' + end configuration 'Debug' targetdir(root .. 'bin/Debug') @@ -36,6 +41,7 @@ solution 'JSImpl' kind 'StaticLib' language 'C++' uuid(os.uuid('JSLib')) + location(solution().location) files '../src/*.cpp' removefiles '../src/main.cpp' files '../src/*.h' @@ -44,6 +50,7 @@ solution 'JSImpl' kind 'ConsoleApp' language 'C++' uuid(os.uuid('JSImpl')) + location(solution().location) files '../src/main.cpp' links 'JSLib' |
