comparison ui/CMakeLists.txt @ 883:7e10d55b6c8f

(issue71) Add client icon also for admin application.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 08 Aug 2014 10:31:36 +0200
parents 0051cb07da28
children 6abf8e77cd5f
comparison
equal deleted inserted replaced
882:666f78265c48 883:7e10d55b6c8f
111 # TRUSTBRIDGE_SOURCES in the test subdirectory. 111 # TRUSTBRIDGE_SOURCES in the test subdirectory.
112 set(TRUSTBRIDGE_MAIN_WITH_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp 112 set(TRUSTBRIDGE_MAIN_WITH_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
113 ${CMAKE_CURRENT_SOURCE_DIR}/img/icon.rc) 113 ${CMAKE_CURRENT_SOURCE_DIR}/img/icon.rc)
114 qt5_add_resources(TRUSTBRIDGE_MAIN_WITH_RESOURCES ${TRUSTBRIDGE_RESOURCES}) 114 qt5_add_resources(TRUSTBRIDGE_MAIN_WITH_RESOURCES ${TRUSTBRIDGE_RESOURCES})
115 115
116 set(ADMINISTRATOR_MAIN_WITH_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/administrator.cpp) 116 set(ADMINISTRATOR_MAIN_WITH_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/administrator.cpp
117 ${CMAKE_CURRENT_SOURCE_DIR}/img/icon.rc)
117 qt5_add_resources(ADMINISTRATOR_MAIN_WITH_RESOURCES ${ADMINISTRATOR_RESOURCES}) 118 qt5_add_resources(ADMINISTRATOR_MAIN_WITH_RESOURCES ${ADMINISTRATOR_RESOURCES})
118 119
119 if(WIN32) 120 if(WIN32)
120 # This option causes cmake to use the appropiate liker flags to hide 121 # This option causes cmake to use the appropiate liker flags to hide
121 # the console Window on Windows 122 # the console Window on Windows

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