ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since f739788 was
60aa49a7,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
refactored vector trait to speed-up compilation
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[15db1ab] | 1 | #!lua |
---|
| 2 | |
---|
| 3 | -- Additional Linux libs: "X11", "Xxf86vm", "Xi", "Xrandr", "stdc++" |
---|
| 4 | |
---|
| 5 | includeDirList = { |
---|
[a2b2761] | 6 | "src/", |
---|
[60aa49a7] | 7 | "../" |
---|
[15db1ab] | 8 | } |
---|
| 9 | |
---|
| 10 | libDirectories = { |
---|
| 11 | |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | if os.get() == "linux" then |
---|
| 16 | linkLibs = { |
---|
| 17 | |
---|
| 18 | } |
---|
| 19 | end |
---|
| 20 | |
---|
| 21 | -- Build Options: |
---|
[d48a9a7] | 22 | buildOptions = { |
---|
| 23 | "-g", |
---|
| 24 | "-DTEST_FILE=${test}", |
---|
| 25 | "\n test = gctest", |
---|
| 26 | "\n CC = cfa\n CXX = cfa", } |
---|
[15db1ab] | 27 | |
---|
[e47f529] | 28 | solution "GC-no-RAII" |
---|
[a2b2761] | 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) |
---|
[d67a9a1] | 40 | defines { "bool=_Bool", |
---|
| 41 | "\"true=((_Bool)(const signed int)1)\"", |
---|
| 42 | "\"false=((_Bool)(const signed int)0)\"", |
---|
[8a74081] | 43 | "_GNU_SOURCE", |
---|
| 44 | "__cforall" |
---|
| 45 | } |
---|
[a2b2761] | 46 | libdirs (libDirectories) |
---|
| 47 | links (linkLibs) |
---|
| 48 | linkoptions (linkOptionList) |
---|
| 49 | includedirs (includeDirList) |
---|
[6643e72] | 50 | files { "src/**.c", "containers/**.c" } |
---|
[a2b2761] | 51 | |
---|
| 52 | configuration "debug" |
---|
[d67a9a1] | 53 | defines { "DEBUG" } |
---|
[a2b2761] | 54 | flags { "Symbols" } |
---|
| 55 | |
---|
| 56 | configuration "release" |
---|
[d67a9a1] | 57 | defines { "NDEBUG" } |
---|
[a2b2761] | 58 | flags { "Optimize" } |
---|
| 59 | |
---|
| 60 | configuration "cproc-debug" |
---|
| 61 | buildoptions ({"-E"}) |
---|
| 62 | linkoptions ({"-E"}) |
---|
[d67a9a1] | 63 | defines { "DEBUG" } |
---|
[a2b2761] | 64 | flags { "Symbols" } |
---|
| 65 | |
---|
| 66 | configuration "cproc-release" |
---|
| 67 | buildoptions ({"-E"}) |
---|
| 68 | linkoptions ({"-E"}) |
---|
[d67a9a1] | 69 | defines { "DEBUG" } |
---|
[a2b2761] | 70 | flags { "Symbols" } |
---|
| 71 | |
---|
| 72 | configuration "cfa-debug" |
---|
| 73 | linkoptions ({"-E"}) |
---|
| 74 | files { "build/cproc-debug/*.o" } |
---|
[d67a9a1] | 75 | defines { "DEBUG" } |
---|
[a2b2761] | 76 | flags { "Symbols" } |
---|
| 77 | |
---|
| 78 | configuration "cfa-release" |
---|
| 79 | linkoptions ({"-E"}) |
---|
| 80 | files { "build/cproc-debug/*.o" } |
---|
[d67a9a1] | 81 | defines { "DEBUG" } |
---|
[a2b2761] | 82 | flags { "Symbols" } |
---|
Note: See
TracBrowser
for help on using the repository browser.