Show console on windows only in debug mode
This commit is contained in:
parent
8711955bdc
commit
90ecf50414
@ -1155,8 +1155,12 @@ void askForInternetPermission()
|
||||
|
||||
//=============================================================================
|
||||
|
||||
#if defined(DEBUG) && defined(WIN32) && !defined(__CYGWIN__)
|
||||
#pragma comment(linker, "/SUBSYSTEM:console")
|
||||
#if defined(WIN32) && defined(_MSC_VER)
|
||||
#ifdef DEBUG
|
||||
#pragma comment(linker, "/SUBSYSTEM:console")
|
||||
#else
|
||||
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user