source: src/examples/gc_no_raii/premake4.lua@ d67a9a1

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since d67a9a1 was d67a9a1, checked in by Thierry Delisle <tdelisle@…>, 10 years ago

pool alloc functional

  • Property mode set to 100644
File size: 1.5 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 { "../fstream.c", "../iostream.c", "../iterator.c", "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.