Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / solution / genie.lua
diff options
context:
space:
mode:
1 files changed, 25 insertions, 10 deletions
-rw-r--r--JSImpl/solution/genie.lua35
diff --git a/JSImpl/solution/genie.lua b/JSImpl/solution/genie.lua
index 571bf9c..8b34d97 100644
--- a/JSImpl/solution/genie.lua
+++ b/JSImpl/solution/genie.lua
@@ -1,25 +1,40 @@
-solution 'IPL'
- configurations {'debug', 'release'}
+solution 'JSImpl'
+ configurations {'Debug', 'Release'}
+ platforms { 'x64' }
flags {
'FatalWarnings',
'ExtraWarnings',
'Cpp14',
+ 'Symbols',
}
+
local root = '../build/'
- configuration 'debug'
- targetdir(root .. 'bin/debug')
- objdir(root .. 'obj/debug')
+ configuration 'Debug'
+ targetdir(root .. 'bin/Debug')
+ objdir(root .. 'obj/Debug')
- configuration 'release'
- targetdir(root .. 'bin/release')
- objdir(root .. 'obj/release')
+ configuration 'Release'
+ flags 'OptimizeSpeed'
+ targetdir(root .. 'bin/Release')
+ objdir(root .. 'obj/Release')
configuration '*'
+ project 'JSLib'
+ kind 'StaticLib'
+ language 'C++'
+ uuid(os.uuid('JSLib'))
+ files '../src/*.cpp'
+ removefiles '../src/main.cpp'
+ files '../src/*.h'
+
project 'JSImpl'
kind 'ConsoleApp'
language 'C++'
uuid(os.uuid('JSImpl'))
- files '../src/*.cpp'
- files '../src/*.h'
+ files '../src/main.cpp'
+ links 'JSLib'
+
+ include '../test'
+ startproject 'Test'