-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake4.lua
56 lines (50 loc) · 1.45 KB
/
premake4.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
solution("rpg")
configurations {"Debug", "Release"}
targetdir("bin")
configuration "debug"
defines { "DEBUG" }
flags { "Symbols" }
configuration "release"
defines { "NDEBUG" }
flags { "OptimizeSpeed" }
project("rpg")
--uuid("")
kind("ConsoleApp")
language("C++")
links {
"pthread",
"boost_system",
"boost_filesystem",
"boost_thread"
}
files {
"src/**.h",
"src/**.cpp"
}
excludes {
"src/tests/**"
}
includedirs {
"vendor/include/",
"/usr/local/include/",
}
libdirs {
"/usr/local/lib/",
"/usr/local/lib64/",
}
--configuration {"debug"}
-- defines { "BACKWARD_HAS_BFD=1" }
-- links {
-- "bfd",
-- "iberty"
-- }
-- --buildoptions { "-finstrument-functions" }
-- linkoptions { "`llvm-config --libs core` `llvm-config --ldflags`" }
--configuration {}
configuration { "gmake" }
buildoptions { "-std=c++11" }
--buildoptions { "-std=c++11", "-pedantic", "-Wall", "-Wextra" }
configuration { "macosx" }
buildoptions { "-U__STRICT_ANSI__", "-stdlib=libc++" }
linkoptions { "-stdlib=libc++" }
configuration {}