You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
52 lines
1.0 KiB
52 lines
1.0 KiB
project "bakatools" |
|
kind "StaticLib" |
|
language "C++" |
|
cppdialect "C++20" |
|
systemversion "latest" |
|
staticruntime "on" |
|
|
|
targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") |
|
objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") |
|
|
|
includedirs |
|
{ |
|
"%{IncludeDirs.spdlog}", |
|
"%{IncludeDirs.bakatools}" |
|
} |
|
|
|
files |
|
{ |
|
"%{prj.location}/src/bakatools/**.h", |
|
"%{prj.location}/src/bakatools/**.cpp", |
|
"%{prj.location}/src/bakatoolspch.h", |
|
} |
|
|
|
filter "system:windows" |
|
defines |
|
{ |
|
"BK_PLATFORM_WINDOWS" |
|
} |
|
|
|
filter "system:linux" |
|
defines |
|
{ |
|
"BK_PLATFORM_LINUX" |
|
} |
|
|
|
filter "configurations:Debug" |
|
defines |
|
{ |
|
"BK_DEBUG", |
|
"DEBUG" |
|
} |
|
runtime "Debug" |
|
symbols "on" |
|
|
|
filter "configurations:Release" |
|
defines |
|
{ |
|
"BK_RELEASE", |
|
"NDEBUG" |
|
} |
|
runtime "Release" |
|
optimize "on"
|
|
|