Website Summary Files Commits Branches @commit @diff @stats
path: root / solution / genie.lua
diff options
context:
space:
mode:
Commit6e19bb560d474736d45f5be011ff0830c7019991 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-05 23:34:00 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-05 23:34:00 +0200
Files42d29cf1c4e6a535ba526f434debaac3a70df2c6 /solution/genie.lua
IPL-6e19bb560d474736d45f5be011ff0830c7019991.tar
IPL-6e19bb560d474736d45f5be011ff0830c7019991.tar.gz
IPL-6e19bb560d474736d45f5be011ff0830c7019991.zip
Squashed 'spasm/' content from commit 08ee95d
git-subtree-dir: spasm git-subtree-split: 08ee95d89054ba0d33697d613799a0a013aedf89
1 files changed, 54 insertions, 0 deletions
-rw-r--r--solution/genie.lua54
diff --git a/solution/genie.lua b/solution/genie.lua
new file mode 100644
index 0000000..b3bb00f
--- /dev/null
+++ b/solution/genie.lua
@@ -0,0 +1,54 @@
+solution 'spasm'
+ configurations {'Debug', 'Release'}
+ platforms { 'x64' }
+ flags {
+ 'FatalWarnings',
+ 'ExtraWarnings',
+ 'Cpp14',
+ '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 '*'
+
+ project 'sprt'
+ kind 'StaticLib'
+ language 'C++'
+ uuid(os.uuid('sprt'))
+ files '../src/*.cpp'
+ removefiles '../src/main.cpp'
+ files '../src/*.h'
+
+ project 'spasm'
+ kind 'ConsoleApp'
+ language 'C++'
+ uuid(os.uuid('spasm'))
+ files '../src/asm/*.cpp'
+ removefiles {
+ '../src/asm/lexdump.cpp',
+ '../src/asm/lexdump3.cpp',
+ }
+ files '../src/asm/*.h'
+
+ project 'sprun'
+ kind 'ConsoleApp'
+ language 'C++'
+ uuid(os.uuid('sprun'))
+ files '../src/main.cpp'
+ links 'sprt'
+
+ -- include '../test'
+ startproject 'sprun'