2022-09-12 17:46:01 +08:00
|
|
|
project "SHADE_Managed"
|
|
|
|
kind "SharedLib"
|
|
|
|
language "C++"
|
|
|
|
clr "NetCore"
|
2022-09-16 14:02:55 +08:00
|
|
|
dotnetframework "net5.0"
|
2022-09-12 17:46:01 +08:00
|
|
|
cppdialect "C++17"
|
2022-09-15 09:23:40 +08:00
|
|
|
targetdir (outputdir)
|
|
|
|
objdir (interdir)
|
2022-09-12 17:46:01 +08:00
|
|
|
systemversion "latest"
|
|
|
|
pchheader "SHpch.h"
|
|
|
|
pchsource "%{prj.location}/src/SHpch.cpp"
|
2022-09-13 15:18:56 +08:00
|
|
|
staticruntime "off"
|
2022-09-12 17:46:01 +08:00
|
|
|
|
|
|
|
files
|
|
|
|
{
|
|
|
|
"%{prj.location}/src/**.hxx",
|
|
|
|
"%{prj.location}/src/**.h++",
|
|
|
|
"%{prj.location}/src/**.cxx",
|
2022-09-12 18:17:59 +08:00
|
|
|
"%{prj.location}/src/**.h",
|
|
|
|
"%{prj.location}/src/**.hpp",
|
|
|
|
"%{prj.location}/src/**.c",
|
|
|
|
"%{prj.location}/src/**.cpp",
|
2022-09-12 17:46:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
includedirs
|
|
|
|
{
|
|
|
|
"%{prj.location}/src",
|
2022-09-12 22:42:46 +08:00
|
|
|
"%{IncludeDir.spdlog}/include",
|
2022-09-12 17:46:01 +08:00
|
|
|
"%{IncludeDir.imgui}",
|
|
|
|
"%{IncludeDir.imguizmo}",
|
|
|
|
"%{IncludeDir.imnodes}",
|
|
|
|
"%{IncludeDir.yamlcpp}",
|
2022-10-10 18:07:21 +08:00
|
|
|
"%{IncludeDir.RTTR}/include",
|
2022-10-01 22:56:15 +08:00
|
|
|
"%{IncludeDir.dotnet}\\include",
|
2022-10-10 18:07:21 +08:00
|
|
|
"%{IncludeDir.reactphysics3d}\\include",
|
2022-09-12 19:00:54 +08:00
|
|
|
"%{wks.location}/SHADE_Engine/src"
|
2022-09-12 17:46:01 +08:00
|
|
|
}
|
2022-09-27 01:12:02 +08:00
|
|
|
|
|
|
|
libdirs
|
|
|
|
{
|
|
|
|
"%{IncludeDir.RTTR}/lib"
|
|
|
|
}
|
2022-09-12 17:46:01 +08:00
|
|
|
|
2022-09-12 22:42:46 +08:00
|
|
|
links
|
|
|
|
{
|
|
|
|
"yaml-cpp",
|
|
|
|
"imgui",
|
2022-09-13 20:28:34 +08:00
|
|
|
"SHADE_Engine"
|
|
|
|
}
|
|
|
|
|
2022-09-15 12:28:53 +08:00
|
|
|
disablewarnings
|
|
|
|
{
|
|
|
|
"4251"
|
|
|
|
}
|
|
|
|
|
2022-09-13 20:28:34 +08:00
|
|
|
defines
|
|
|
|
{
|
|
|
|
"NOMINMAX"
|
2022-09-12 22:42:46 +08:00
|
|
|
}
|
|
|
|
|
2022-09-12 17:46:01 +08:00
|
|
|
flags
|
|
|
|
{
|
|
|
|
"MultiProcessorCompile"
|
|
|
|
}
|
|
|
|
|
2022-10-01 18:58:13 +08:00
|
|
|
disablewarnings
|
|
|
|
{
|
|
|
|
"4275"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-09-12 22:42:46 +08:00
|
|
|
dependson
|
|
|
|
{
|
|
|
|
"yaml-cpp",
|
|
|
|
"imgui",
|
2022-09-13 15:18:56 +08:00
|
|
|
"SHADE_Engine"
|
2022-09-12 22:42:46 +08:00
|
|
|
}
|
|
|
|
|
2022-09-12 17:46:01 +08:00
|
|
|
warnings 'Extra'
|
|
|
|
|
|
|
|
filter "configurations:Debug"
|
|
|
|
symbols "On"
|
|
|
|
defines {"_DEBUG"}
|
2022-09-27 01:12:02 +08:00
|
|
|
links{"librttr_core_d.lib"}
|
2022-09-12 17:46:01 +08:00
|
|
|
|
|
|
|
filter "configurations:Release"
|
|
|
|
optimize "On"
|
|
|
|
defines{"_RELEASE"}
|
2022-09-27 01:12:02 +08:00
|
|
|
links{"librttr_core.lib"}
|
2022-10-02 00:47:26 +08:00
|
|
|
|
|
|
|
filter "configurations:Publish"
|
|
|
|
optimize "On"
|
|
|
|
defines{"_RELEASE"}
|
|
|
|
links{"librttr_core.lib"}
|