Website Summary Files Commits Branches @commit @diff @stats
path: root / gctest / solution / genie.lua
diff options
context:
space:
mode:
Commit728886e38902d3133f2d94e59387d87fe800ace6 (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2021-09-20 21:48:02 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2021-09-20 21:48:02 +0300
Files1589603eab06bf9aab3ceb3145f51347e056d175 /gctest/solution/genie.lua
IPL-728886e38902d3133f2d94e59387d87fe800ace6.tar
IPL-728886e38902d3133f2d94e59387d87fe800ace6.tar.gz
IPL-728886e38902d3133f2d94e59387d87fe800ace6.zip
Parent8f14aeac7728e6b0efc9a9f7e849c784538dcb07 (diff)
Move files to match other projects
1 files changed, 56 insertions, 0 deletions
-rw-r--r--gctest/solution/genie.lua56
diff --git a/gctest/solution/genie.lua b/gctest/solution/genie.lua
new file mode 100644
index 0000000..2f56616
--- /dev/null
+++ b/gctest/solution/genie.lua
@@ -0,0 +1,56 @@
+solution 'gctest'
+ if _ACTION ~= 'jcdb' then
+ platforms { 'x32', 'x64' }
+ configurations {'Debug', 'Release'}
+ else
+ configurations {'Debug'}
+ end
+ flags {
+ 'FatalWarnings',
+ 'ExtraWarnings',
+ 'Cpp17',
+ 'Symbols',
+ }
+ defines {
+ '_SCL_SECURE_NO_WARNINGS',
+ '_CRT_SECURE_NO_WARNINGS',
+ 'MTR_ENABLED',
+ }
+
+ 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')
+ -- GCC generates a warning for uninitialized data in
+ -- std::normal_distribution
+ configuration 'gcc'
+ removeflags 'ExtraWarnings'
+ configuration '*'
+
+ project 'test_bench'
+ kind 'StaticLib'
+ language 'C++'
+ files {
+ '../src/main.cpp',
+ '../src/minitrace.cpp',
+ }
+ removeflags 'ExtraWarnings'
+
+ project 'leak_gc'
+ kind 'ConsoleApp'
+ language 'C++'
+ files '../src/gc_leak.cpp'
+ links 'test_bench'
+
+ project 'dummy_gc'
+ kind 'ConsoleApp'
+ language 'C++'
+ files '../src/gc_dummy.cpp'
+ links 'test_bench'
+