Fixed debug runtime linker errors
This commit is contained in:
@@ -111,4 +111,12 @@ project 'assimp'
|
||||
'ASSIMP_BUILD_NO_M3D_EXPORTER',
|
||||
'ASSIMP_BUILD_NO_3MF_EXPORTER',
|
||||
'ASSIMP_BUILD_NO_ASSJSON_EXPORTER'
|
||||
}
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
||||
filter "configurations:Release"
|
||||
runtime "Release"
|
||||
optimize "on"
|
||||
16
premake5.lua
16
premake5.lua
@@ -73,6 +73,14 @@ project "Nuake"
|
||||
cppdialect "C++17"
|
||||
staticruntime "On"
|
||||
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
||||
filter "configurations:Release"
|
||||
runtime "Release"
|
||||
optimize "on"
|
||||
|
||||
project "Editor"
|
||||
location "Editor"
|
||||
kind "ConsoleApp"
|
||||
@@ -128,6 +136,14 @@ project "Editor"
|
||||
cppdialect "C++17"
|
||||
staticruntime "On"
|
||||
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
||||
filter "configurations:Release"
|
||||
runtime "Release"
|
||||
optimize "on"
|
||||
|
||||
-- copy a file from the objects directory to the target directory
|
||||
postbuildcommands {
|
||||
--"{COPY} "Nuake/dependencies/GLFW/lib-vc2019/glfw3.dll" " .. "./bin/" .. outputdir .. "/%{prj.name}/glfw3.dll"
|
||||
|
||||
Reference in New Issue
Block a user