-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
56 lines (36 loc) · 1.03 KB
/
premake5.lua
File metadata and controls
56 lines (36 loc) · 1.03 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
Is64bit = false
UseClang = true
workspace "WotScript"
language "C++"
cppdialect "C++17"
configurations { "Debug", "Release" }
filter { "configurations:Debug" }
optimize "Off"
symbols "On"
filter { "configurations:Release" }
optimize "On"
symbols "Off"
filter { }
if Is64bit then
location "build64"
architecture "x86_64"
targetdir ("build64/bin/%{prj.name}/%{cfg.longname}")
objdir ("build64/obj/%{prj.name}/%{cfg.longname}")
else
location "build32"
architecture "x86"
targetdir ("build32/bin/%{prj.name}/%{cfg.longname}")
objdir ("build32/obj/%{prj.name}/%{cfg.longname}")
end
if UseClang then
toolset "clang"
end
project "Scanner-Preprocessor"
kind "ConsoleApp"
files { "src/**.hpp", "src/**.cpp" }
includedirs "./lib/module"
filter "configurations:Debug"
defines { "DEBUG" }
filter "configurations:Release"
defines { "NDEBUG" }
filter { }