From 728886e38902d3133f2d94e59387d87fe800ace6 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Mon, 20 Sep 2021 21:48:02 +0300 Subject: Move files to match other projects --- gctest/solution/genie.lua | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 gctest/solution/genie.lua (limited to 'gctest/solution/genie.lua') 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' + -- cgit v1.3.1-26-gb76a