Added YAML_CPP_STATIC_DEFINE define to premake build script

This commit is contained in:
Nathan Chitnis 2024-03-12 17:53:13 -04:00 committed by GitHub
parent 9f9a9e490c
commit 43006c84b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"