comparison ui/CMakeLists.txt @ 333:de94c4ec22b1

Renamed management to administrator application.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 09 Apr 2014 12:41:07 +0200
parents 3261b2a9cab7
children 811eec4e1b99
comparison
equal deleted inserted replaced
331:455d6d00e896 333:de94c4ec22b1
25 ${CMAKE_CURRENT_SOURCE_DIR}/installwrapper.cpp 25 ${CMAKE_CURRENT_SOURCE_DIR}/installwrapper.cpp
26 ${CERTIFICATELIST_SOURCES} 26 ${CERTIFICATELIST_SOURCES}
27 ${DOWNLOADER_SOURCES} 27 ${DOWNLOADER_SOURCES}
28 ) 28 )
29 29
30 set(MANAGEMENT_SOURCES 30 set(ADMINSTRATOR_SOURCES
31 ${CMAKE_CURRENT_SOURCE_DIR}/management.cpp 31 ${CMAKE_CURRENT_SOURCE_DIR}/administrator.cpp
32 ${CMAKE_CURRENT_SOURCE_DIR}/managementwindow.cpp 32 ${CMAKE_CURRENT_SOURCE_DIR}/administratorwindow.cpp
33 ${CERTIFICATELIST_SOURCES} 33 ${CERTIFICATELIST_SOURCES}
34 ) 34 )
35 35
36 # Seperated to make it easier to include the sources in tests 36 # Seperated to make it easier to include the sources in tests
37 set(M13UI_RESOURCES 37 set(M13UI_RESOURCES
38 ${CMAKE_CURRENT_SOURCE_DIR}/icons.qrc 38 ${CMAKE_CURRENT_SOURCE_DIR}/icons.qrc
39 ${CMAKE_CURRENT_SOURCE_DIR}/certs.qrc 39 ${CMAKE_CURRENT_SOURCE_DIR}/certs.qrc
40 ) 40 )
41 41
42 set(MANAGEMENT_RESOURCES 42 set(ADMINSTRATOR_RESOURCES
43 ${CMAKE_CURRENT_SOURCE_DIR}/icons.qrc 43 ${CMAKE_CURRENT_SOURCE_DIR}/icons.qrc
44 ) 44 )
45 45
46 if(UNIX) 46 if(UNIX)
47 # See: https://bugreports.qt-project.org/browse/QTBUG-35918 47 # See: https://bugreports.qt-project.org/browse/QTBUG-35918
94 m13_common 94 m13_common
95 ${POLARSSL_LIBRARIES} 95 ${POLARSSL_LIBRARIES}
96 ${EXTRA_STATIC_LIBS} 96 ${EXTRA_STATIC_LIBS}
97 ${PROFILING_LIBS}) 97 ${PROFILING_LIBS})
98 98
99 set(MANAGEMENT_SOURCES_WITH_RESOURCES ${MANAGEMENT_SOURCES}) 99 set(ADMINSTRATOR_SOURCES_WITH_RESOURCES ${ADMINSTRATOR_SOURCES})
100 qt5_add_resources(MANAGEMENT_SOURCES_WITH_RESOURCES ${MANAGEMENT_RESOURCES}) 100 qt5_add_resources(ADMINSTRATOR_SOURCES_WITH_RESOURCES ${ADMINSTRATOR_RESOURCES})
101 add_executable(management ${MANAGEMENT_SOURCES_WITH_RESOURCES}) 101 add_executable(administrator ${ADMINSTRATOR_SOURCES_WITH_RESOURCES})
102 102
103 target_link_libraries(management Qt5::Widgets 103 target_link_libraries(administrator Qt5::Widgets
104 m13_common 104 m13_common
105 ${POLARSSL_LIBRARIES} 105 ${POLARSSL_LIBRARIES}
106 ${EXTRA_STATIC_LIBS} 106 ${EXTRA_STATIC_LIBS}
107 ${PROFILING_LIBS}) 107 ${PROFILING_LIBS})
108 108
109 # Tests 109 # Tests
110 add_subdirectory(tests) 110 add_subdirectory(tests)
111 111
112 install(TARGETS m13ui DESTINATION bin) 112 install(TARGETS m13ui DESTINATION bin)
113 install(TARGETS management DESTINATION bin) 113 install(TARGETS administrator DESTINATION bin)

http://wald.intevation.org/projects/trustbridge/