comparison ui/CMakeLists.txt @ 497:5e77d1c4826c

Add Icon for Windows
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 25 Apr 2014 10:16:00 +0000
parents fa3a7ebf0049
children ce8325686b09
comparison
equal deleted inserted replaced
496:fa3a7ebf0049 497:5e77d1c4826c
22 ${CMAKE_CURRENT_SOURCE_DIR}/sslhelp.cpp 22 ${CMAKE_CURRENT_SOURCE_DIR}/sslhelp.cpp
23 ${CMAKE_CURRENT_SOURCE_DIR}/aboutdialog.cpp 23 ${CMAKE_CURRENT_SOURCE_DIR}/aboutdialog.cpp
24 ${CMAKE_CURRENT_SOURCE_DIR}/createcertlistdialog.cpp 24 ${CMAKE_CURRENT_SOURCE_DIR}/createcertlistdialog.cpp
25 ) 25 )
26 26
27 # Cmake does not correctly identify gcc windres when cross compiling
28 # making this line neccessary to set the correct flags for it.
29 # See: http://public.kitware.com/Bug/view.php?id=11773
30 SET(CMAKE_RC_COMPILE_OBJECT
31 "<CMAKE_RC_COMPILER> <FLAGS> <DEFINES> -Ocoff <SOURCE> <OBJECT>")
32
27 set(TRUSTBRIDGE_SOURCES 33 set(TRUSTBRIDGE_SOURCES
28 ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp 34 ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
29 ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.cpp 35 ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.cpp
30 ${CMAKE_CURRENT_SOURCE_DIR}/helpdialog.cpp 36 ${CMAKE_CURRENT_SOURCE_DIR}/helpdialog.cpp
31 ${CMAKE_CURRENT_SOURCE_DIR}/statusdialog.cpp 37 ${CMAKE_CURRENT_SOURCE_DIR}/statusdialog.cpp
32 ${CMAKE_CURRENT_SOURCE_DIR}/certificateitemdelegate.cpp 38 ${CMAKE_CURRENT_SOURCE_DIR}/certificateitemdelegate.cpp
33 ${CMAKE_CURRENT_SOURCE_DIR}/separatoritemdelegate.cpp 39 ${CMAKE_CURRENT_SOURCE_DIR}/separatoritemdelegate.cpp
34 ${CMAKE_CURRENT_SOURCE_DIR}/installwrapper.cpp 40 ${CMAKE_CURRENT_SOURCE_DIR}/installwrapper.cpp
41 ${CMAKE_CURRENT_SOURCE_DIR}/img/icon.rc
35 ${CERTIFICATELIST_SOURCES} 42 ${CERTIFICATELIST_SOURCES}
36 ${DOWNLOADER_SOURCES} 43 ${DOWNLOADER_SOURCES}
37 ) 44 )
38 45
39 set(ADMINSTRATOR_SOURCES 46 set(ADMINSTRATOR_SOURCES

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