-
Notifications
You must be signed in to change notification settings - Fork 142
Expand file tree
/
Copy pathBuild-App.lua
More file actions
45 lines (36 loc) · 911 Bytes
/
Build-App.lua
File metadata and controls
45 lines (36 loc) · 911 Bytes
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
project "App"
kind "ConsoleApp"
language "C++"
cppdialect "C++20"
targetdir "Binaries/%{cfg.buildcfg}"
staticruntime "off"
files { "Source/**.h", "Source/**.cpp" }
includedirs
{
"Source",
-- Include Core
"../Core/Source"
}
links
{
"Core"
}
targetdir ("../Binaries/" .. OutputDir .. "/%{prj.name}")
objdir ("../Binaries/Intermediates/" .. OutputDir .. "/%{prj.name}")
filter "system:windows"
systemversion "latest"
defines { "WINDOWS" }
filter "configurations:Debug"
defines { "DEBUG" }
runtime "Debug"
symbols "On"
filter "configurations:Release"
defines { "RELEASE" }
runtime "Release"
optimize "On"
symbols "On"
filter "configurations:Dist"
defines { "DIST" }
runtime "Release"
optimize "On"
symbols "Off"