@@ -13,6 +13,7 OPTION (BUILD_APP "Build SciQLop application" ON) | |||
|
13 | 13 | OPTION (BUILD_CORE "Build SciQLop Core module" ON) |
|
14 | 14 | OPTION (BUILD_GUI "Build SciQLop GUI module" ON) |
|
15 | 15 | OPTION (BUILD_PLUGINS "Build SciQLop plugins" ON) |
|
16 | OPTION (ENABLE_WIN32_CONSOLE "Enables console on Win32 platfrom" OFF) | |
|
16 | 17 | |
|
17 | 18 | set(CMAKE_CXX_STANDARD 17) |
|
18 | 19 |
@@ -10,7 +10,12 QT5_WRAP_UI(UiGenerated_SRCS | |||
|
10 | 10 | ui/MainWindow.ui |
|
11 | 11 | ) |
|
12 | 12 | |
|
13 | if(ENABLE_WIN32_CONSOLE) | |
|
14 | add_executable(sciqlopapp ${app_SRCS} ${UiGenerated_SRCS}) | |
|
15 | else() | |
|
13 | 16 | add_executable(sciqlopapp WIN32 ${app_SRCS} ${UiGenerated_SRCS}) |
|
17 | endif() | |
|
18 | ||
|
14 | 19 | if(NOT BUILD_SHARED_LIBS) |
|
15 | 20 | add_definitions(-DQT_STATICPLUGIN) |
|
16 | 21 | if(BUILD_PLUGINS) |
General Comments 0
You need to be logged in to leave comments.
Login now