forked from erincatto/box2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
37 lines (30 loc) · 817 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
project "box2d"
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/**.h",
"src/**.cpp",
"include/**.h"
}
includedirs
{
"include",
"src"
}
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"