ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 8a74081 was
8a74081,
checked in by Thierry Delisle <tdelisle@…>, 9 years ago
|
cforall define
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[15db1ab] | 1 | #!lua |
---|
| 2 | |
---|
| 3 | -- Additional Linux libs: "X11", "Xxf86vm", "Xi", "Xrandr", "stdc++" |
---|
| 4 | |
---|
| 5 | includeDirList = { |
---|
[a2b2761] | 6 | "src/", |
---|
[e47f529] | 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: |
---|
| 22 | buildOptions = {""} |
---|
| 23 | |
---|
[e47f529] | 24 | solution "GC-no-RAII" |
---|
[a2b2761] | 25 | configurations { "debug", "release", |
---|
| 26 | "cproc-debug", "cproc-release", |
---|
| 27 | "cfa-debug", "cfa-release" } |
---|
| 28 | |
---|
| 29 | project "gc-test" |
---|
| 30 | kind "ConsoleApp" |
---|
| 31 | language "C" |
---|
| 32 | location "build" |
---|
| 33 | objdir "build" |
---|
| 34 | targetdir "." |
---|
| 35 | buildoptions (buildOptions) |
---|
[d67a9a1] | 36 | defines { "bool=_Bool", |
---|
| 37 | "\"true=((_Bool)(const signed int)1)\"", |
---|
| 38 | "\"false=((_Bool)(const signed int)0)\"", |
---|
[8a74081] | 39 | "_GNU_SOURCE", |
---|
| 40 | "__cforall" |
---|
| 41 | } |
---|
[a2b2761] | 42 | libdirs (libDirectories) |
---|
| 43 | links (linkLibs) |
---|
| 44 | linkoptions (linkOptionList) |
---|
| 45 | includedirs (includeDirList) |
---|
[c44e622] | 46 | files { "src/**.c" } |
---|
[a2b2761] | 47 | |
---|
| 48 | configuration "debug" |
---|
[d67a9a1] | 49 | defines { "DEBUG" } |
---|
[a2b2761] | 50 | flags { "Symbols" } |
---|
| 51 | |
---|
| 52 | configuration "release" |
---|
[d67a9a1] | 53 | defines { "NDEBUG" } |
---|
[a2b2761] | 54 | flags { "Optimize" } |
---|
| 55 | |
---|
| 56 | configuration "cproc-debug" |
---|
| 57 | buildoptions ({"-E"}) |
---|
| 58 | linkoptions ({"-E"}) |
---|
[d67a9a1] | 59 | defines { "DEBUG" } |
---|
[a2b2761] | 60 | flags { "Symbols" } |
---|
| 61 | |
---|
| 62 | configuration "cproc-release" |
---|
| 63 | buildoptions ({"-E"}) |
---|
| 64 | linkoptions ({"-E"}) |
---|
[d67a9a1] | 65 | defines { "DEBUG" } |
---|
[a2b2761] | 66 | flags { "Symbols" } |
---|
| 67 | |
---|
| 68 | configuration "cfa-debug" |
---|
| 69 | linkoptions ({"-E"}) |
---|
| 70 | files { "build/cproc-debug/*.o" } |
---|
[d67a9a1] | 71 | defines { "DEBUG" } |
---|
[a2b2761] | 72 | flags { "Symbols" } |
---|
| 73 | |
---|
| 74 | configuration "cfa-release" |
---|
| 75 | linkoptions ({"-E"}) |
---|
| 76 | files { "build/cproc-debug/*.o" } |
---|
[d67a9a1] | 77 | defines { "DEBUG" } |
---|
[a2b2761] | 78 | flags { "Symbols" } |
---|
Note: See
TracBrowser
for help on using the repository browser.