@@ -1,34 +1,34 | |||
|
1 | 1 | include_directories(include) |
|
2 | 2 | |
|
3 | 3 | FILE (GLOB_RECURSE app_SRCS |
|
4 | 4 | include/*.h |
|
5 | 5 | src/*.cpp |
|
6 | 6 | resources/*.qrc |
|
7 | 7 | ) |
|
8 | 8 | |
|
9 | 9 | QT5_WRAP_UI(UiGenerated_SRCS |
|
10 | 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 | 14 | if(NOT BUILD_SHARED_LIBS) |
|
15 | 15 | add_definitions(-DQT_STATICPLUGIN) |
|
16 | 16 | target_link_libraries(sciqlopapp mockplugin) |
|
17 | 17 | target_link_libraries(sciqlopapp amdaplugin) |
|
18 | 18 | endif() |
|
19 | 19 | |
|
20 | 20 | target_link_libraries(sciqlopapp |
|
21 | 21 | Qt5::Core |
|
22 | 22 | Qt5::Widgets |
|
23 | 23 | Qt5::Network |
|
24 | 24 | Qt5::PrintSupport |
|
25 | 25 | Qt5::Svg |
|
26 | 26 | sciqlopgui |
|
27 | 27 | sciqlopcore |
|
28 | 28 | ) |
|
29 | 29 | |
|
30 | 30 | install(TARGETS sciqlopapp DESTINATION ${CMAKE_INSTALL_BINDIR}) |
|
31 | 31 | install(FILES resources/SciQLOP.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications/) |
|
32 | 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