-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathproject.lua
96 lines (70 loc) · 2.09 KB
/
project.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
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
ProjectName = "hsrlekit"
project(ProjectName)
--Settings
kind "ConsoleApp"
language "C++"
staticruntime "On"
filter { "system:windows" }
buildoptions { '/Gm-' }
buildoptions { '/MP' }
ignoredefaultlibraries { "msvcrt" }
filter { "system:linux" }
cppdialect "C++11"
buildoptions { "-mxsave" }
filter { }
filter { "configurations:Release" }
flags { "LinkTimeOptimization" }
filter { }
defines { "_CRT_SECURE_NO_WARNINGS", "SSE2" }
objdir "intermediate/obj"
files { "src/**.cpp", "src/**.c", "src/**.cc", "src/**.h", "src/**.hh", "src/**.hpp", "src/**.inl", "src/**rc" }
files { "project.lua" }
filter { "system:windows" }
includedirs { "3rdParty/OpenCL/include" }
filter { }
filter { "configurations:Debug", "system:Windows" }
ignoredefaultlibraries { "libcmt" }
filter { }
--filter { "system:linux" }
-- libdirs { "3rdParty/OpenCL/lib/x64/" }
-- links { "opencl" }
filter { "system:windows" }
links { "3rdParty/OpenCL/lib/x64/OpenCL.lib" }
filter {}
filter { "system:windows" }
defines { "BUILD_WITH_OPENCL" }
filter {}
targetname(ProjectName)
targetdir "builds/bin"
debugdir "builds/bin"
filter {}
warnings "Extra"
flags { "FatalWarnings" }
filter {"configurations:Release"}
targetname "%{prj.name}"
filter {"configurations:Debug"}
targetname "%{prj.name}D"
filter {}
flags { "NoMinimalRebuild", "NoPCH" }
exceptionhandling "Off"
rtti "Off"
floatingpoint "Fast"
filter { "configurations:Debug*" }
defines { "_DEBUG" }
optimize "Off"
symbols "On"
filter { "configurations:Release" }
defines { "NDEBUG" }
optimize "Speed"
flags { "NoBufferSecurityCheck", "NoIncrementalLink" }
omitframepointer "On"
symbols "On"
filter { "system:linux", "configurations:ReleaseClang" }
buildoptions { "-O3" }
filter { "system:windows", "configurations:Release", "action:vs2012" }
buildoptions { "/d2Zi+" }
filter { "system:windows", "configurations:Release", "action:vs2013" }
buildoptions { "/Zo" }
filter { "system:windows", "configurations:Release" }
flags { "NoIncrementalLink" }
editandcontinue "Off"