Added Premake File
This commit is contained in:
parent
76dc671573
commit
0d2d097faa
38
premake5.lua
Normal file
38
premake5.lua
Normal file
@ -0,0 +1,38 @@
|
||||
project "yaml-cpp"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
files
|
||||
{
|
||||
"src/**.h",
|
||||
"src/**.cpp",
|
||||
|
||||
"include/**.h"
|
||||
}
|
||||
|
||||
includedirs
|
||||
{
|
||||
"include"
|
||||
}
|
||||
|
||||
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"
|
||||
Loading…
Reference in New Issue
Block a user