-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.lua
67 lines (50 loc) · 1.51 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
ProjectName = "limg"
project(ProjectName)
--Settings
kind "ConsoleApp"
language "C++"
flags { "FatalWarnings" }
staticruntime "On"
filter {"system:windows"}
buildoptions { '/MP' }
ignoredefaultlibraries { "msvcrt" }
defines { "_CRT_SECURE_NO_WARNINGS" }
filter { }
cppdialect "C++17"
objdir "intermediate/obj"
files { "src/**.c", "src/**.cc", "src/**.cpp", "src/**.h", "src/**.hh", "src/**.hpp", "src/**.inl", "src/**rc", "*.md" }
files { "project.lua" }
includedirs { "src**" }
includedirs { "3rdParty/stb/include" }
targetname(ProjectName)
targetdir "builds/bin"
debugdir "builds/bin"
filter {}
filter {}
warnings "Extra"
filter { }
exceptionhandling "Off"
rtti "Off"
floatingpoint "Fast"
filter { "configurations:Debug*" }
defines { "_DEBUG" }
optimize "Off"
symbols "FastLink"
filter { "configurations:Release*" }
defines { "NDEBUG" }
optimize "Speed"
flags { "NoBufferSecurityCheck" }
omitframepointer "On"
symbols "On"
filter { "system:windows" }
defines { "WIN32", "_WINDOWS" }
flags { "NoPCH", "NoMinimalRebuild" }
links { "kernel32.lib", "user32.lib", "gdi32.lib", "winspool.lib", "comdlg32.lib", "advapi32.lib", "shell32.lib", "ole32.lib", "oleaut32.lib", "uuid.lib", "odbc32.lib", "odbccp32.lib" }
filter { "system:windows", "configurations:Release" }
flags { "NoIncrementalLink" }
filter { "system:windows", "configurations:Debug" }
ignoredefaultlibraries { "libcmt" }
filter { }
filter { "system:linux" }
links { "pthread" }
filter { }