forked from rttrorg/rttr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
43 lines (34 loc) · 921 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
project "rttr"
kind "StaticLib"
language "C++"
staticruntime "off"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
targetdir ("%{wks.location}/Binaries/" .. outputdir .. "/%{prj.name}")
objdir ("%{wks.location}/Intermediate/" .. outputdir .. "/%{prj.name}")
files
{
"src/rttr/**.h",
"src/rttr/**.h.in",
"src/rttr/**.cpp"
}
includedirs
{
"%{IncludeDirs.rttr}"
}
defines
{
}
filter "system:windows"
systemversion "latest"
filter "configurations:Debug"
defines "NIT_DEBUG"
runtime "Debug"
symbols "on"
filter "configurations:EditorRelease"
defines "NIT_RELEASE"
runtime "Release"
optimize "on"
filter "configurations:GameRelease"
defines "NIT_RELEASE"
runtime "Release"
optimize "on"