diff --git a/Nuake/dependencies/assimp_p5.lua b/Nuake/dependencies/assimp_p5.lua index b53a08c7..27dc3ea9 100644 --- a/Nuake/dependencies/assimp_p5.lua +++ b/Nuake/dependencies/assimp_p5.lua @@ -111,4 +111,12 @@ project 'assimp' 'ASSIMP_BUILD_NO_M3D_EXPORTER', 'ASSIMP_BUILD_NO_3MF_EXPORTER', 'ASSIMP_BUILD_NO_ASSJSON_EXPORTER' - } \ No newline at end of file + } + + filter "configurations:Debug" + runtime "Debug" + symbols "on" + + filter "configurations:Release" + runtime "Release" + optimize "on" \ No newline at end of file diff --git a/premake5.lua b/premake5.lua index c4f0402e..2a821680 100644 --- a/premake5.lua +++ b/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"