blob: 0165e7a671687d4a58e35ae506cd808dc04293e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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',
'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')
configuration '*'
project 'test_bench'
kind 'StaticLib'
language 'C++'
files {
'main.cpp',
}
project 'leak_gc'
kind 'ConsoleApp'
language 'C++'
files 'gc_leak.cpp'
links 'test_bench'
|