Skip to content

Commit

Permalink
Python: disable the PythonConsole window in debug mode under Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Nov 7, 2019
1 parent 3687c17 commit 46f003d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Expand Up @@ -867,6 +867,10 @@ if(USE_PREBUILT_QTWEBKIT_PACKAGE)
# We are using the prebuilt version of our Python package, so build all
# our plugins

if(RELEASE_MODE OR NOT WIN32)
set(MISCELLANEOUS_PYTHON_CONSOLE_WINDOW miscellaneous/PythonConsoleWindow)
endif()

list(APPEND PLUGINS
thirdParty/libSBML
thirdParty/PythonPackages
Expand All @@ -889,7 +893,7 @@ if(USE_PREBUILT_QTWEBKIT_PACKAGE)
miscellaneous/Core
miscellaneous/HelpWindow
miscellaneous/JupyterKernel
miscellaneous/PythonConsoleWindow
${MISCELLANEOUS_PYTHON_CONSOLE_WINDOW}
miscellaneous/PythonShell
miscellaneous/WebBrowserWindow

Expand Down

0 comments on commit 46f003d

Please sign in to comment.