diff 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
line wrap: on
line diff
--- a/ui/CMakeLists.txt	Tue Apr 08 15:09:13 2014 +0000
+++ b/ui/CMakeLists.txt	Wed Apr 09 12:41:07 2014 +0200
@@ -27,9 +27,9 @@
     ${DOWNLOADER_SOURCES}
 )
 
-set(MANAGEMENT_SOURCES
-    ${CMAKE_CURRENT_SOURCE_DIR}/management.cpp
-    ${CMAKE_CURRENT_SOURCE_DIR}/managementwindow.cpp
+set(ADMINSTRATOR_SOURCES
+    ${CMAKE_CURRENT_SOURCE_DIR}/administrator.cpp
+    ${CMAKE_CURRENT_SOURCE_DIR}/administratorwindow.cpp
     ${CERTIFICATELIST_SOURCES}
 )
 
@@ -39,7 +39,7 @@
    ${CMAKE_CURRENT_SOURCE_DIR}/certs.qrc
 )
 
-set(MANAGEMENT_RESOURCES
+set(ADMINSTRATOR_RESOURCES
    ${CMAKE_CURRENT_SOURCE_DIR}/icons.qrc
 )
 
@@ -96,11 +96,11 @@
    ${EXTRA_STATIC_LIBS}
    ${PROFILING_LIBS})
 
-set(MANAGEMENT_SOURCES_WITH_RESOURCES ${MANAGEMENT_SOURCES})
-qt5_add_resources(MANAGEMENT_SOURCES_WITH_RESOURCES ${MANAGEMENT_RESOURCES})
-add_executable(management ${MANAGEMENT_SOURCES_WITH_RESOURCES})
+set(ADMINSTRATOR_SOURCES_WITH_RESOURCES ${ADMINSTRATOR_SOURCES})
+qt5_add_resources(ADMINSTRATOR_SOURCES_WITH_RESOURCES ${ADMINSTRATOR_RESOURCES})
+add_executable(administrator ${ADMINSTRATOR_SOURCES_WITH_RESOURCES})
 
-target_link_libraries(management Qt5::Widgets
+target_link_libraries(administrator Qt5::Widgets
    m13_common
    ${POLARSSL_LIBRARIES}
    ${EXTRA_STATIC_LIBS}
@@ -110,4 +110,4 @@
 add_subdirectory(tests)
 
 install(TARGETS m13ui DESTINATION bin)
-install(TARGETS management DESTINATION bin)
+install(TARGETS administrator DESTINATION bin)

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