diff ui/CMakeLists.txt @ 336:26817025351f

merge
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 09 Apr 2014 13:49:59 +0000
parents 811eec4e1b99
children e6aa82466420
line wrap: on
line diff
--- a/ui/CMakeLists.txt	Tue Apr 08 17:47:35 2014 +0000
+++ b/ui/CMakeLists.txt	Wed Apr 09 13:49:59 2014 +0000
@@ -27,9 +27,10 @@
     ${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
+    ${CMAKE_CURRENT_SOURCE_DIR}/certificatetablemodel.cpp
     ${CERTIFICATELIST_SOURCES}
 )
 
@@ -39,7 +40,7 @@
    ${CMAKE_CURRENT_SOURCE_DIR}/certs.qrc
 )
 
-set(MANAGEMENT_RESOURCES
+set(ADMINSTRATOR_RESOURCES
    ${CMAKE_CURRENT_SOURCE_DIR}/icons.qrc
 )
 
@@ -96,11 +97,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 +111,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/