-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
45 lines (37 loc) · 840 Bytes
/
premake5.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
-- premake5.lua
workspace "pathtracer"
configurations { "debug", "profile", "release" }
platforms { "x86", "x64" }
defaultplatform "x64"
targetdir "bin/%{cfg.buildcfg}"
objdir "bin/obj"
inlining "Explicit"
-- callingconvention "VectorCall"
vectorextensions "SSE2"
floatingpoint "Fast"
floatingpointexceptions "Off"
exceptionhandling "Off"
flags {
"NoBufferSecurityCheck",
"NoImportLib",
}
project "pathtracer"
kind "ConsoleApp"
language "C"
cdialect "C11"
toolset "clang"
targetdir "bin/%{cfg.buildcfg}"
files {
"source/*.h",
"source/*.c",
}
filter "configurations:debug"
defines { "DEBUG", "_DEBUG" }
symbols "On"
filter "configurations:profile"
defines { "NDEBUG", "PROFILE" }
optimize "On"
symbols "On"
filter "configurations:release"
defines { "NDEBUG", "RELEASE" }
optimize "On"