mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 07:39:43 -05:00
Link Windows executables in Release builds such that no console
terminal is invoked when run. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3860 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
c2eff2f520
commit
d3038831ad
@ -22,6 +22,10 @@ endif (NOT CMAKE_BUILD_TYPE)
|
||||
#
|
||||
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
|
||||
if (WIN32)
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-keep-inline-dllexport")
|
||||
set (CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wl,-subsystem,windows")
|
||||
endif (WIN32)
|
||||
|
||||
|
||||
set (CXXSRCS
|
||||
|
Loading…
Reference in New Issue
Block a user