ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 62315a0 was
bf71cfd,
checked in by Thierry Delisle <tdelisle@…>, 6 years ago
|
Moved up many directories in source
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | #!lua |
---|
2 | |
---|
3 | -- Additional Linux libs: "X11", "Xxf86vm", "Xi", "Xrandr", "stdc++" |
---|
4 | |
---|
5 | includeDirList = { |
---|
6 | "src/", |
---|
7 | "../" |
---|
8 | } |
---|
9 | |
---|
10 | libDirectories = { |
---|
11 | |
---|
12 | } |
---|
13 | |
---|
14 | |
---|
15 | if os.get() == "linux" then |
---|
16 | linkLibs = { |
---|
17 | |
---|
18 | } |
---|
19 | end |
---|
20 | |
---|
21 | -- Build Options: |
---|
22 | buildOptions = { |
---|
23 | "-g", |
---|
24 | "-DTEST_FILE=${test}", |
---|
25 | "\n test = gctest", |
---|
26 | "\n CC = cfa\n CXX = cfa", } |
---|
27 | |
---|
28 | solution "GC-no-RAII" |
---|
29 | configurations { "debug", "release", |
---|
30 | "cproc-debug", "cproc-release", |
---|
31 | "cfa-debug", "cfa-release" } |
---|
32 | |
---|
33 | project "gc-test" |
---|
34 | kind "ConsoleApp" |
---|
35 | language "C" |
---|
36 | location "build" |
---|
37 | objdir "build" |
---|
38 | targetdir "." |
---|
39 | buildoptions (buildOptions) |
---|
40 | defines { "bool=_Bool", |
---|
41 | "\"true=((_Bool)(const signed int)1)\"", |
---|
42 | "\"false=((_Bool)(const signed int)0)\"", |
---|
43 | "_GNU_SOURCE", |
---|
44 | "__cforall" |
---|
45 | } |
---|
46 | libdirs (libDirectories) |
---|
47 | links (linkLibs) |
---|
48 | linkoptions (linkOptionList) |
---|
49 | includedirs (includeDirList) |
---|
50 | files { "src/**.c", "containers/**.c" } |
---|
51 | |
---|
52 | configuration "debug" |
---|
53 | defines { "DEBUG" } |
---|
54 | flags { "Symbols" } |
---|
55 | |
---|
56 | configuration "release" |
---|
57 | defines { "NDEBUG" } |
---|
58 | flags { "Optimize" } |
---|
59 | |
---|
60 | configuration "cproc-debug" |
---|
61 | buildoptions ({"-E"}) |
---|
62 | linkoptions ({"-E"}) |
---|
63 | defines { "DEBUG" } |
---|
64 | flags { "Symbols" } |
---|
65 | |
---|
66 | configuration "cproc-release" |
---|
67 | buildoptions ({"-E"}) |
---|
68 | linkoptions ({"-E"}) |
---|
69 | defines { "DEBUG" } |
---|
70 | flags { "Symbols" } |
---|
71 | |
---|
72 | configuration "cfa-debug" |
---|
73 | linkoptions ({"-E"}) |
---|
74 | files { "build/cproc-debug/*.o" } |
---|
75 | defines { "DEBUG" } |
---|
76 | flags { "Symbols" } |
---|
77 | |
---|
78 | configuration "cfa-release" |
---|
79 | linkoptions ({"-E"}) |
---|
80 | files { "build/cproc-debug/*.o" } |
---|
81 | defines { "DEBUG" } |
---|
82 | flags { "Symbols" } |
---|
Note: See
TracBrowser
for help on using the repository browser.