source: src/examples/gc_no_raii/premake4.lua @ 15db1ab

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 15db1ab was 15db1ab, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

added some files for the garbage collector and hack together the compilation

  • Property mode set to 100644
File size: 900 bytes
Line 
1#!lua
2
3-- Additional Linux libs: "X11", "Xxf86vm", "Xi", "Xrandr", "stdc++"
4
5includeDirList = {
6        "../"
7}
8
9libDirectories = {
10
11}
12
13
14if os.get() == "linux" then
15    linkLibs = {
16
17    }
18end
19
20premake.gcc.cc = "../cfa"
21premake.gcc.cxx = "../cfa"
22
23-- Build Options:
24buildOptions = {""}
25
26solution "CS488-Projects"
27    configurations { "Debug", "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", "*.c" }
41
42    configuration "Debug"
43        defines { "DEBUG" }
44        flags { "Symbols" }
45
46    configuration "Release"
47        defines { "NDEBUG" }
48        flags { "Optimize" }
Note: See TracBrowser for help on using the repository browser.