Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl
diff options
context:
space:
mode:
2 files changed, 11 insertions, 0 deletions
-rw-r--r--JSImpl/solution/genie.lua7
-rw-r--r--JSImpl/test/genie.lua4
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'
diff --git a/JSImpl/test/genie.lua b/JSImpl/test/genie.lua
index c3cd1d6..26b180f 100644
--- a/JSImpl/test/genie.lua
+++ b/JSImpl/test/genie.lua
@@ -2,6 +2,7 @@ project 'Test'
kind 'ConsoleApp'
language 'C++'
uuid(os.uuid('Test'))
+ location(solution().location)
files '*.cpp'
@@ -29,6 +30,7 @@ group 'gtest'
kind 'StaticLib'
language 'C++'
uuid(os.uuid('gtest'))
+ location(solution().location)
files 'googletest/googletest/src/gtest-all.cc'
files 'googletest/googletest/include/gtest/*.h'
includedirs {
@@ -40,6 +42,7 @@ group 'gtest'
kind 'StaticLib'
language 'C++'
uuid(os.uuid('gmock'))
+ location(solution().location)
files 'googletest/googlemock/src/gmock-all.cc'
files 'googletest/googlemock/include/gmock/*.h'
includedirs {
@@ -52,6 +55,7 @@ group 'gtest'
kind 'StaticLib'
language 'C++'
uuid(os.uuid('gtest_main'))
+ location(solution().location)
files 'googletest/googletest/src/gtest_main.cc'
includedirs {
'googletest/googletest',