Revert "no WinMain experiment - TEST!"

This reverts commit 4e2dd5ec63.
This commit is contained in:
tildearrow 2022-11-15 22:24:23 -05:00
parent 4e2dd5ec63
commit f6f6101762
2 changed files with 4 additions and 5 deletions

View file

@ -698,7 +698,6 @@ if (WIN32)
list(APPEND DEPENDENCIES_LIBRARIES shlwapi)
if (NOT MSVC)
list(APPEND DEPENDENCIES_LIBRARIES -static)
list(APPEND DEPENDENCIES_LINK_OPTIONS "-mconsole")
endif()
endif()
@ -743,7 +742,7 @@ if (WARNINGS_ARE_ERRORS)
endif()
if (MSVC)
add_executable(furnace ${USED_SOURCES})
add_executable(furnace WIN32 ${USED_SOURCES})
elseif(ANDROID AND NOT TERMUX)
add_library(furnace SHARED ${USED_SOURCES})
else()

View file

@ -591,6 +591,6 @@ int main(int argc, char** argv) {
return 0;
}
//#ifdef _WIN32
//#include "winMain.cpp"
//#endif
#ifdef _WIN32
#include "winMain.cpp"
#endif