From b8040415995d3cb8c0d29bb52bacb8798cef8979 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Mon, 20 Apr 2015 17:01:50 +0000 Subject: [PATCH] Revert to defaulting proper Windows programs on Windows The CMake option WSJT_CREATE_WINMAIN is now available for both release and debug configuration builds so it may be disabled in any Windows build configuration if required. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5250 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e0722cb01..715d1a6ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,15 +119,12 @@ CMAKE_DEPENDENT_OPTION (WSJT_QDEBUG_IN_RELEASE "Leave Qt debugging statements in CMAKE_DEPENDENT_OPTION (WSJT_ENABLE_EXPERIMENTAL_FEATURES "Enable features not fully ready for public releases." ON "is_debug_build" OFF) CMAKE_DEPENDENT_OPTION (WSJT_CREATE_WINMAIN - "The wsjtx target is normally built as GUI executable with a WinMain -entry point on Windows, if you want a console application instead then -set this option to OFF. + "The wsjtx target is normally built as GUI executable with a WinMain entry point on Windows, +if you want a console application instead then set this option to OFF. -If you just want to see the debug output from the application then the -easiest way is to attach a debugger which will then receive the -console output inside its console. This option is off by default for -Debug configuration builds anyway." ON - "NOT is_debug_build;WIN32" OFF) +If you just want to see the debug output from the application then the easiest way is to +attach a debugger which will then receive the console output inside its console." ON + "WIN32" OFF) # # decide if we are bundling kvasd (non-FOSS)