source: src/examples/gc_no_raii/premake4.lua @ 6be0cf9

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

gcpointers.c compiles

  • 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                libdirs (libDirectories)
37                links (linkLibs)
38                linkoptions (linkOptionList)
39                includedirs (includeDirList)
40                files { "../fstream.c", "../iostream.c", "../iterator.c", "src/**.c" }
41
42        configuration "debug"
43                defines { "DEBUG", "bool=_Bool" }
44                flags { "Symbols" }
45
46        configuration "release"
47                defines { "NDEBUG", "bool=_Bool" }
48                flags { "Optimize" }
49
50        configuration "cproc-debug"
51                buildoptions ({"-E"})
52                linkoptions ({"-E"})
53              defines { "DEBUG", "bool=_Bool" }
54              flags { "Symbols" }
55
56        configuration "cproc-release"
57                buildoptions ({"-E"})
58                linkoptions ({"-E"})
59              defines { "DEBUG", "bool=_Bool" }
60              flags { "Symbols" }
61
62        configuration "cfa-debug"
63                linkoptions ({"-E"})
64                files { "build/cproc-debug/*.o" }
65              defines { "DEBUG", "bool=_Bool" }
66              flags { "Symbols" }
67
68        configuration "cfa-release"
69                linkoptions ({"-E"})
70                files { "build/cproc-debug/*.o" }
71              defines { "DEBUG", "bool=_Bool" }
72              flags { "Symbols" }
Note: See TracBrowser for help on using the repository browser.