@@ -1,34 +1,34 | |||||
1 | include_directories(include) |
|
1 | include_directories(include) | |
2 |
|
2 | |||
3 | FILE (GLOB_RECURSE app_SRCS |
|
3 | FILE (GLOB_RECURSE app_SRCS | |
4 | include/*.h |
|
4 | include/*.h | |
5 | src/*.cpp |
|
5 | src/*.cpp | |
6 | resources/*.qrc |
|
6 | resources/*.qrc | |
7 | ) |
|
7 | ) | |
8 |
|
8 | |||
9 | QT5_WRAP_UI(UiGenerated_SRCS |
|
9 | QT5_WRAP_UI(UiGenerated_SRCS | |
10 | ui/MainWindow.ui |
|
10 | ui/MainWindow.ui | |
11 | ) |
|
11 | ) | |
12 |
|
12 | |||
13 | add_executable(sciqlopapp ${app_SRCS} ${UiGenerated_SRCS}) |
|
13 | add_executable(sciqlopapp WIN32 ${app_SRCS} ${UiGenerated_SRCS}) | |
14 | if(NOT BUILD_SHARED_LIBS) |
|
14 | if(NOT BUILD_SHARED_LIBS) | |
15 | add_definitions(-DQT_STATICPLUGIN) |
|
15 | add_definitions(-DQT_STATICPLUGIN) | |
16 | target_link_libraries(sciqlopapp mockplugin) |
|
16 | target_link_libraries(sciqlopapp mockplugin) | |
17 | target_link_libraries(sciqlopapp amdaplugin) |
|
17 | target_link_libraries(sciqlopapp amdaplugin) | |
18 | endif() |
|
18 | endif() | |
19 |
|
19 | |||
20 | target_link_libraries(sciqlopapp |
|
20 | target_link_libraries(sciqlopapp | |
21 | Qt5::Core |
|
21 | Qt5::Core | |
22 | Qt5::Widgets |
|
22 | Qt5::Widgets | |
23 | Qt5::Network |
|
23 | Qt5::Network | |
24 | Qt5::PrintSupport |
|
24 | Qt5::PrintSupport | |
25 | Qt5::Svg |
|
25 | Qt5::Svg | |
26 | sciqlopgui |
|
26 | sciqlopgui | |
27 | sciqlopcore |
|
27 | sciqlopcore | |
28 | ) |
|
28 | ) | |
29 |
|
29 | |||
30 | install(TARGETS sciqlopapp DESTINATION ${CMAKE_INSTALL_BINDIR}) |
|
30 | install(TARGETS sciqlopapp DESTINATION ${CMAKE_INSTALL_BINDIR}) | |
31 | install(FILES resources/SciQLOP.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/) |
|
31 | install(FILES resources/SciQLOP.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/) | |
32 | install(FILES resources/sciqlopLOGO.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/SciQLOP/icons/) |
|
32 | install(FILES resources/sciqlopLOGO.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/SciQLOP/icons/) | |
33 |
|
33 | |||
34 |
|
34 |
General Comments 0
You need to be logged in to leave comments.
Login now