diff options
1 files changed, 51 insertions, 0 deletions
| -rw-r--r-- | JSImpl/solution/genie.lua | 51 |
diff --git a/JSImpl/solution/genie.lua b/JSImpl/solution/genie.lua new file mode 100644 index 0000000..e3720a4 --- /dev/null +++ b/JSImpl/solution/genie.lua @@ -0,0 +1,51 @@ +solution 'JSImpl' + if _ACTION ~= 'jcdb' then + platforms { 'x32', 'x64' } + configurations {'Debug', 'Release'} + else + configurations {'Debug'} + end + flags { + 'FatalWarnings', + 'ExtraWarnings', + 'Cpp17', + 'Symbols', + } + defines { + '_SCL_SECURE_NO_WARNINGS', + } + + + local root = '../build/' + + configuration 'Debug' + targetdir(root .. 'bin/Debug') + objdir(root .. 'obj/Debug') + + configuration 'Release' + flags 'OptimizeSpeed' + targetdir(root .. 'bin/Release') + objdir(root .. 'obj/Release') + configuration '*' + + include '../test' + startproject 'Test' + + group 'JSImpl' + 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/main.cpp' + links 'JSLib' + + group 'Spasm' + include '../../spasm/solution/' |
