-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
107 lines (87 loc) · 2.48 KB
/
Copy pathpremake5.lua
File metadata and controls
107 lines (87 loc) · 2.48 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
workspace("mx")
targetdir("bin")
configurations {"Debug", "Release"}
defines {
}
-- Debug Config
configuration "Debug"
defines { "DEBUG" }
symbols "On"
linkoptions { }
configuration "linux"
links {
}
-- Release Config
configuration "Release"
defines { "NDEBUG" }
optimize "speed"
targetname("mx_dist")
-- gmake Config
configuration "gmake"
buildoptions { "-std=c++11" }
-- buildoptions { "-std=c++11", "-pedantic", "-Wall", "-Wextra", '-v', '-fsyntax-only'}
links {
"pthread",
"boost_system",
"boost_chrono",
"boost_thread",
"boost_coroutine",
}
includedirs {
"/usr/local/include/",
}
libdirs {
"/usr/local/lib"
}
buildoptions {
}
linkoptions {
}
configuration "macosx"
links {
}
--buildoptions { "-U__STRICT_ANSI__", "-stdlib=libc++" }
--linkoptions { "-stdlib=libc++" }
configuration "windows"
toolset "v140"
flags { "MultiProcessorCompile" }
links {
"boost_system-vc140-mt-1_61",
}
includedirs {
"c:/local/boost_1_61_0",
"c:/msvc/include",
}
configuration { "windows", "Debug" }
libdirs {
"c:/msvc/lib32/debug"
}
configuration { "windows" }
libdirs {
"c:/msvc/lib32",
"c:/local/boost_1_61_0/lib32-msvc-14.0",
}
-- buildoptions {
-- "/MP",
-- "/Gm-",
-- }
configuration { "windows", "Debug" }
links {
}
configuration {}
configuration { "windows", "Release" }
links {
}
project "mx"
kind "ConsoleApp"
language "C++"
-- Project Files
files {
"tests/**",
"mx/**"
}
-- Exluding Files
excludes {
}
includedirs {
}