source: src/examples/gc_no_raii/premake4.lua @ 356bb95

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationresolv-newwith_gc
Last change on this file since 356bb95 was c44e622, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

intermediate implementation of vector

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#!lua
2
3-- Additional Linux libs: "X11", "Xxf86vm", "Xi", "Xrandr", "stdc++"
4
5includeDirList = {
6        "src/",
7        "../",
8}
9
10libDirectories = {
11
12}
13
14
15if os.get() == "linux" then
16    linkLibs = {
17
18    }
19end
20
21-- Build Options:
22buildOptions = {""}
23
24solution "GC-no-RAII"
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)
36                defines {       "bool=_Bool",
37                                "\"true=((_Bool)(const signed int)1)\"",
38                                "\"false=((_Bool)(const signed int)0)\"",
39                                "_GNU_SOURCE"}
40                libdirs (libDirectories)
41                links (linkLibs)
42                linkoptions (linkOptionList)
43                includedirs (includeDirList)
44                files { "src/**.c" }
45
46        configuration "debug"
47                defines { "DEBUG" }
48                flags { "Symbols" }
49
50        configuration "release"
51                defines { "NDEBUG" }
52                flags { "Optimize" }
53
54        configuration "cproc-debug"
55                buildoptions ({"-E"})
56                linkoptions ({"-E"})
57              defines { "DEBUG" }
58              flags { "Symbols" }
59
60        configuration "cproc-release"
61                buildoptions ({"-E"})
62                linkoptions ({"-E"})
63              defines { "DEBUG" }
64              flags { "Symbols" }
65
66        configuration "cfa-debug"
67                linkoptions ({"-E"})
68                files { "build/cproc-debug/*.o" }
69              defines { "DEBUG" }
70              flags { "Symbols" }
71
72        configuration "cfa-release"
73                linkoptions ({"-E"})
74                files { "build/cproc-debug/*.o" }
75              defines { "DEBUG" }
76              flags { "Symbols" }
Note: See TracBrowser for help on using the repository browser.