forked from jbeder/yaml-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
49 lines (39 loc) · 782 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
44
45
46
47
48
49
project "yaml-cpp"
kind "StaticLib"
language "C++"
staticruntime "on"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files
{
"src/**.h",
"src/**.cpp",
"include/**.h"
}
includedirs
{
"include"
}
defines
{
"YAML_CPP_STATIC_DEFINE"
}
filter "system:macosx"
systemversion (macosversion)
cppdialect "C++17"
staticruntime "On"
filter "system:windows"
systemversion "latest"
cppdialect "C++17"
staticruntime "On"
filter "system:linux"
pic "On"
systemversion "latest"
cppdialect "C++17"
staticruntime "On"
filter "configurations:Debug"
runtime "Debug"
symbols "on"
filter "configurations:Release"
runtime "Release"
optimize "on"