win32: build win app, not console
This commit is contained in:
parent
2b8f5a7b9d
commit
7288c7b541
|
@ -137,10 +137,12 @@ elseif(ANDROID)
|
|||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_RELEASE} -O3")
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -fno-stack-protector)
|
||||
set(CMAKE_ANDROID_STL_TYPE "c++_static")
|
||||
elseif(MSVC)
|
||||
elseif(WIN32)
|
||||
add_executable(${PROJECT_NAME} WIN32 core/emulator.cpp)
|
||||
else()
|
||||
elseif(APPLE)
|
||||
add_executable(${PROJECT_NAME} MACOSX_BUNDLE core/emulator.cpp)
|
||||
else()
|
||||
add_executable(${PROJECT_NAME} core/emulator.cpp)
|
||||
endif()
|
||||
|
||||
if(WINDOWS_STORE)
|
||||
|
|
Loading…
Reference in New Issue