From c50d6b8ea119e1186646f59840903fe8e2bf0a72 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Thu, 28 Sep 2023 01:05:50 -0400 Subject: [PATCH] Updated premake --- premake5.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/premake5.lua b/premake5.lua index a708409a..df0762e3 100644 --- a/premake5.lua +++ b/premake5.lua @@ -209,9 +209,6 @@ project "NuakeRuntime" "WIN32_LEAN_AND_MEAN" } - entrypoint "WinMainCRTStartup" - buildoptions { "-mwindows"} - filter "configurations:Dist" kind "WindowedApp" runtime "Release" @@ -219,7 +216,8 @@ project "NuakeRuntime" flags { "WinMain" } defines { - "NK_DIST" + "NK_DIST", + "WIN32_LEAN_AND_MEAN" } @@ -333,8 +331,8 @@ project "Editor" } -- Removes the console for windows - filter {"configurations:Dist", "platforms:windows"} - kind "WindowedApp" + --filter {"configurations:Dist", "platforms:windows"} + -- kind "WindowedApp"-- -- copy a file from the objects directory to the target directory postbuildcommands {