Added YAML_CPP_STATIC_DEFINE define to premake build script
This commit is contained in:
parent
9f9a9e490c
commit
43006c84b8
13
premake5.lua
13
premake5.lua
@ -18,21 +18,26 @@ project "yaml-cpp"
|
|||||||
"include"
|
"include"
|
||||||
}
|
}
|
||||||
|
|
||||||
filter "system:windows"
|
defines
|
||||||
|
{
|
||||||
|
"YAML_CPP_STATIC_DEFINE"
|
||||||
|
}
|
||||||
|
|
||||||
|
filter "system:windows"
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
cppdialect "C++17"
|
cppdialect "C++17"
|
||||||
staticruntime "off"
|
staticruntime "off"
|
||||||
|
|
||||||
filter "system:linux"
|
filter "system:linux"
|
||||||
pic "On"
|
pic "On"
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
cppdialect "C++17"
|
cppdialect "C++17"
|
||||||
staticruntime "off"
|
staticruntime "off"
|
||||||
|
|
||||||
filter "configurations:Debug"
|
filter "configurations:Debug"
|
||||||
runtime "Debug"
|
runtime "Debug"
|
||||||
symbols "on"
|
symbols "on"
|
||||||
|
|
||||||
filter "configurations:Release"
|
filter "configurations:Release"
|
||||||
runtime "Release"
|
runtime "Release"
|
||||||
optimize "on"
|
optimize "on"
|
||||||
Loading…
Reference in New Issue
Block a user