Fixed debug runtime linker errors

This commit is contained in:
unknown
2021-06-13 12:56:10 -04:00
parent 84185d4b6b
commit fca502fc77
2 changed files with 25 additions and 1 deletions

View File

@@ -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"

View File

@@ -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"