comparison src/CMakeLists.txt @ 76:1e6e7699f0b8

Add replacements.ini to configure text replacements
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 05 Oct 2016 14:23:23 +0200
parents a43d8cf2fa95
children 5b815897657d
comparison
equal deleted inserted replaced
75:92139cc60121 76:1e6e7699f0b8
18 strhelp.c 18 strhelp.c
19 cconvert_options.h 19 cconvert_options.h
20 icons/icon.rc 20 icons/icon.rc
21 filenamerequester.cpp 21 filenamerequester.cpp
22 mainwindow.cpp 22 mainwindow.cpp
23 replacements.ini
23 ) 24 )
24 25
25 find_package(Qt5LinguistTools) 26 find_package(Qt5LinguistTools)
26 27
27 if(Qt5LinguistTools_FOUND) 28 if(Qt5LinguistTools_FOUND)
117 if (WIN32) 118 if (WIN32)
118 set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-municode") 119 set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-municode")
119 endif(WIN32) 120 endif(WIN32)
120 121
121 install(TARGETS ${PROJECT_NAME} DESTINATION bin BUNDLE DESTINATION .) 122 install(TARGETS ${PROJECT_NAME} DESTINATION bin BUNDLE DESTINATION .)
123 install(FILES replacements.ini DESTINATION share/apps/${PROJECT_NAME} COMPONENT config)
122 124
123 if(APPLE) 125 if(APPLE)
124 install(CODE " 126 install(CODE "
125 include(BundleUtilities) 127 include(BundleUtilities)
126 fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\") 128 fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)