no WinMain experiment - TEST!
This commit is contained in:
parent
94512e5b20
commit
4e2dd5ec63
|
@ -698,6 +698,7 @@ if (WIN32)
|
||||||
list(APPEND DEPENDENCIES_LIBRARIES shlwapi)
|
list(APPEND DEPENDENCIES_LIBRARIES shlwapi)
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
list(APPEND DEPENDENCIES_LIBRARIES -static)
|
list(APPEND DEPENDENCIES_LIBRARIES -static)
|
||||||
|
list(APPEND DEPENDENCIES_LINK_OPTIONS "-mconsole")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -742,7 +743,7 @@ if (WARNINGS_ARE_ERRORS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_executable(furnace WIN32 ${USED_SOURCES})
|
add_executable(furnace ${USED_SOURCES})
|
||||||
elseif(ANDROID AND NOT TERMUX)
|
elseif(ANDROID AND NOT TERMUX)
|
||||||
add_library(furnace SHARED ${USED_SOURCES})
|
add_library(furnace SHARED ${USED_SOURCES})
|
||||||
else()
|
else()
|
||||||
|
|
|
@ -591,6 +591,6 @@ int main(int argc, char** argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
//#ifdef _WIN32
|
||||||
#include "winMain.cpp"
|
//#include "winMain.cpp"
|
||||||
#endif
|
//#endif
|
||||||
|
|
Loading…
Reference in New Issue