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"
}
filter "system:windows"
defines
{
"YAML_CPP_STATIC_DEFINE"
}
filter "system:windows"
systemversion "latest"
cppdialect "C++17"
staticruntime "off"
filter "system:linux"
filter "system:linux"
pic "On"
systemversion "latest"
cppdialect "C++17"
staticruntime "off"
filter "configurations:Debug"
filter "configurations:Debug"
runtime "Debug"
symbols "on"
filter "configurations:Release"
filter "configurations:Release"
runtime "Release"
optimize "on"