Removed solution, only project
This commit is contained in:
parent
e503ae1814
commit
680cf4bab7
|
@ -1,71 +0,0 @@
|
||||||
project "ModelCompileLibrary"
|
|
||||||
kind "ConsoleApp"
|
|
||||||
language "C++"
|
|
||||||
cppdialect "C++20"
|
|
||||||
targetdir (outputdir)
|
|
||||||
objdir (interdir)
|
|
||||||
systemversion "latest"
|
|
||||||
|
|
||||||
files
|
|
||||||
{
|
|
||||||
"%{prj.location}/src/**.h",
|
|
||||||
"%{prj.location}/src/**.cpp",
|
|
||||||
}
|
|
||||||
|
|
||||||
externalincludedirs
|
|
||||||
{
|
|
||||||
"%{IncludeDir.assimp}\\include"
|
|
||||||
}
|
|
||||||
|
|
||||||
includedirs
|
|
||||||
{
|
|
||||||
"%{prj.location}/src",
|
|
||||||
}
|
|
||||||
|
|
||||||
externalwarnings "Off"
|
|
||||||
|
|
||||||
libdirs
|
|
||||||
{
|
|
||||||
"%{IncludeDir.assimp}/lib/Debug",
|
|
||||||
"%{IncludeDir.assimp}/lib/Release"
|
|
||||||
}
|
|
||||||
|
|
||||||
flags
|
|
||||||
{
|
|
||||||
"MultiProcessorCompile"
|
|
||||||
}
|
|
||||||
|
|
||||||
filter "configurations:Debug"
|
|
||||||
postbuildcommands
|
|
||||||
{
|
|
||||||
"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Debug\\assimp-vc142-mtd.dll\" \"$(OutDir)\""
|
|
||||||
}
|
|
||||||
|
|
||||||
filter "configurations:Release"
|
|
||||||
postbuildcommands
|
|
||||||
{
|
|
||||||
"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Release\\assimp-vc142-mt.dll\" \"$(OutDir)\""
|
|
||||||
}
|
|
||||||
|
|
||||||
filter "configurations:Publish"
|
|
||||||
postbuildcommands
|
|
||||||
{
|
|
||||||
"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Release\\assimp-vc142-mt.dll\" \"$(OutDir)\""
|
|
||||||
}
|
|
||||||
|
|
||||||
warnings 'Extra'
|
|
||||||
|
|
||||||
filter "configurations:Debug"
|
|
||||||
symbols "On"
|
|
||||||
defines {"_DEBUG"}
|
|
||||||
links{"assimp-vc142-mtd.lib"}
|
|
||||||
|
|
||||||
filter "configurations:Release"
|
|
||||||
optimize "On"
|
|
||||||
defines{"_RELEASE"}
|
|
||||||
links{"assimp-vc142-mt.lib"}
|
|
||||||
|
|
||||||
filter "configurations:Publish"
|
|
||||||
optimize "On"
|
|
||||||
defines{"_RELEASE, _PUBLISH"}
|
|
||||||
links{"assimp-vc142-mt.lib"}
|
|
79
premake5.lua
79
premake5.lua
|
@ -1,9 +1,14 @@
|
||||||
IncludeDir = {}
|
IncludeDir = {}
|
||||||
IncludeDir["assimp"] = "%{wks.location}\\Dependencies\\assimp"
|
IncludeDir["assimp"] = "%{wks.location}\\Dependencies\\assimp"
|
||||||
|
|
||||||
workspace "ModelCompileLibrary"
|
project "ModelCompileLibrary"
|
||||||
architecture "x64"
|
kind "ConsoleApp"
|
||||||
startproject "Assimp Compile Application"
|
language "C++"
|
||||||
|
cppdialect "C++20"
|
||||||
|
targetdir (outputdir)
|
||||||
|
objdir (interdir)
|
||||||
|
systemversion "latest"
|
||||||
|
|
||||||
|
|
||||||
configurations
|
configurations
|
||||||
{
|
{
|
||||||
|
@ -11,13 +16,67 @@ workspace "ModelCompileLibrary"
|
||||||
"Release",
|
"Release",
|
||||||
"Publish"
|
"Publish"
|
||||||
}
|
}
|
||||||
|
|
||||||
flags
|
files
|
||||||
{
|
{
|
||||||
"MultiProcessorCompile"
|
"%{prj.location}/src/**.h",
|
||||||
|
"%{prj.location}/src/**.cpp",
|
||||||
|
}
|
||||||
|
|
||||||
|
externalincludedirs
|
||||||
|
{
|
||||||
|
"%{IncludeDir.assimp}\\include"
|
||||||
}
|
}
|
||||||
|
|
||||||
outputdir = "%{wks.location}/bin/%{cfg.buildcfg}"
|
includedirs
|
||||||
interdir = "%{wks.location}/bin_int"
|
{
|
||||||
|
"%{prj.location}/src",
|
||||||
|
}
|
||||||
|
|
||||||
include "ModelCompileLibrary"
|
externalwarnings "Off"
|
||||||
|
|
||||||
|
libdirs
|
||||||
|
{
|
||||||
|
"%{IncludeDir.assimp}/lib/Debug",
|
||||||
|
"%{IncludeDir.assimp}/lib/Release"
|
||||||
|
}
|
||||||
|
|
||||||
|
flags
|
||||||
|
{
|
||||||
|
"MultiProcessorCompile"
|
||||||
|
}
|
||||||
|
|
||||||
|
filter "configurations:Debug"
|
||||||
|
postbuildcommands
|
||||||
|
{
|
||||||
|
"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Debug\\assimp-vc142-mtd.dll\" \"$(OutDir)\""
|
||||||
|
}
|
||||||
|
|
||||||
|
filter "configurations:Release"
|
||||||
|
postbuildcommands
|
||||||
|
{
|
||||||
|
"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Release\\assimp-vc142-mt.dll\" \"$(OutDir)\""
|
||||||
|
}
|
||||||
|
|
||||||
|
filter "configurations:Publish"
|
||||||
|
postbuildcommands
|
||||||
|
{
|
||||||
|
"xcopy /r /y /q \"%{IncludeDir.assimp}\\bin\\Release\\assimp-vc142-mt.dll\" \"$(OutDir)\""
|
||||||
|
}
|
||||||
|
|
||||||
|
warnings 'Extra'
|
||||||
|
|
||||||
|
filter "configurations:Debug"
|
||||||
|
symbols "On"
|
||||||
|
defines {"_DEBUG"}
|
||||||
|
links{"assimp-vc142-mtd.lib"}
|
||||||
|
|
||||||
|
filter "configurations:Release"
|
||||||
|
optimize "On"
|
||||||
|
defines{"_RELEASE"}
|
||||||
|
links{"assimp-vc142-mt.lib"}
|
||||||
|
|
||||||
|
filter "configurations:Publish"
|
||||||
|
optimize "On"
|
||||||
|
defines{"_RELEASE, _PUBLISH"}
|
||||||
|
links{"assimp-vc142-mt.lib"}
|
Loading…
Reference in New Issue