-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpremake5.lua
More file actions
27 lines (24 loc) · 670 Bytes
/
premake5.lua
File metadata and controls
27 lines (24 loc) · 670 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
solution "Serialize"
kind "ConsoleApp"
language "C++"
configurations { "Debug", "Release" }
includedirs { "." }
if not os.istarget "windows" then
targetdir "bin/"
end
rtti "Off"
warnings "Extra"
flags { "FatalWarnings" }
floatingpoint "Fast"
filter "configurations:Debug"
symbols "On"
defines { "SERIALIZE_DEBUG" }
filter "configurations:Release"
symbols "Off"
optimize "Speed"
defines { "SERIALIZE_RELEASE" }
project "test"
files { "test.cpp", "serialize.h" }
defines { "SERIALIZE_ENABLE_TESTS=1" }
project "example"
files { "example.cpp", "serialize.h" }