forked from massitommi/GroovyEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake_core.lua
37 lines (28 loc) · 893 Bytes
/
premake_core.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
architecture "x86_64"
configurations
{
"Debug",
"Development",
"Shipping"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}")
rtti "Off"
defines ("LINKER_OUTPUT_DIR=\"" .. outputdir .. "\"")
disablewarnings "4251"
filter "configurations:Debug"
optimize "Off"
defines { "BUILD_DEBUG", "WITH_EDITOR" }
filter {}
filter "configurations:Development"
optimize "On"
defines { "BUILD_DEVELOPMENT", "WITH_EDITOR" }
filter {}
filter "configurations:Shipping"
optimize "On"
defines { "BUILD_SHIPPING", "BUILD_MONOLITHIC" }
filter {}
filter "system:windows"
defines "PLATFORM_WIN32"
filter {}