Commit 0ff599b8 authored by Jan Möbius's avatar Jan Möbius

Cmake flag for debug console on windows

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20331 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 527db399
...@@ -132,6 +132,16 @@ if (NOT CATCH_SIGSEGV) ...@@ -132,6 +132,16 @@ if (NOT CATCH_SIGSEGV)
add_definitions( -DNO_CATCH_SIGSEGV ) add_definitions( -DNO_CATCH_SIGSEGV )
endif() endif()
if (WIN32)
set ( WIN_GET_DEBUG_CONSOLE False CACHE BOOL "Whether a debug console should be visible on windows" )
if (WIN_GET_DEBUG_CONSOLE)
add_definitions( -DWIN_GET_DEBUG_CONSOLE )
endif()
endif ()
# ==================================================================================== # ====================================================================================
# Get list of ll plugin dependencies and handle special ones # Get list of ll plugin dependencies and handle special ones
# where we need to link the library directly into the core to prevent # where we need to link the library directly into the core to prevent
......
...@@ -69,12 +69,6 @@ ...@@ -69,12 +69,6 @@
#include <execinfo.h> #include <execinfo.h>
#endif #endif
#ifdef WIN32
#ifndef NDEBUG
#define WIN_GET_DEBUG_CONSOLE
#endif
#endif
#ifdef USE_OPENMP #ifdef USE_OPENMP
#include <omp.h> #include <omp.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment