comparison src/CMakeLists.txt @ 50:36ee5dd46fd3

Add GUI New Mainwindow that allows to set output formats and input files through a GUI.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 19 Jul 2016 12:19:45 +0200
parents 11618dd45312
children a43d8cf2fa95
comparison
equal deleted inserted replaced
49:a849b1de248f 50:36ee5dd46fd3
15 set(APPLICATION_SRC 15 set(APPLICATION_SRC
16 main.cpp 16 main.cpp
17 converter.cpp 17 converter.cpp
18 strhelp.c 18 strhelp.c
19 cconvert_options.h 19 cconvert_options.h
20 icons/icon.rc
21 filenamerequester.cpp
22 mainwindow.cpp
20 ) 23 )
21 24
22 find_package(Qt5LinguistTools) 25 find_package(Qt5LinguistTools)
23 26
24 if(Qt5LinguistTools_FOUND) 27 if(Qt5LinguistTools_FOUND)
34 qt5_add_resources(APPLICATION_SRC ${CMAKE_CURRENT_BINARY_DIR}/l10n.qrc) 37 qt5_add_resources(APPLICATION_SRC ${CMAKE_CURRENT_BINARY_DIR}/l10n.qrc)
35 qt5_create_translation(TRANSLATION_SRC ${FILES_TO_TRANSLATE} 38 qt5_create_translation(TRANSLATION_SRC ${FILES_TO_TRANSLATE}
36 ${CMAKE_CURRENT_SOURCE_DIR}/l10n/main_de_DE.ts) 39 ${CMAKE_CURRENT_SOURCE_DIR}/l10n/main_de_DE.ts)
37 endif() 40 endif()
38 41
42 qt5_add_resources(APPLICATION_SRC icons/icons.qrc)
39 43
40 add_executable(${PROJECT_NAME} 44 add_executable(${PROJECT_NAME}
41 ${_add_executable_params} 45 ${_add_executable_params}
42 ${APPLICATION_SRC} 46 ${APPLICATION_SRC}
43 ${TRANSLATION_SRC} 47 ${TRANSLATION_SRC}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)