Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Line(s) | |||||
200 | endforeach(_currentcustomizedir ${customizedir}) | 200 | endforeach(_currentcustomizedir ${customizedir}) | ||
201 | 201 | | |||
202 | ########### l10n xml helper ############### | 202 | ########### l10n xml helper ############### | ||
203 | 203 | | |||
204 | set( docbookl10nhelper_SRCS docbookl10nhelper.cpp ${kdoctoolslog_core_SRCS}) | 204 | set( docbookl10nhelper_SRCS docbookl10nhelper.cpp ${kdoctoolslog_core_SRCS}) | ||
205 | add_executable( docbookl10nhelper ${docbookl10nhelper_SRCS} ) | 205 | add_executable( docbookl10nhelper ${docbookl10nhelper_SRCS} ) | ||
206 | ecm_mark_nongui_executable( docbookl10nhelper ) | 206 | ecm_mark_nongui_executable( docbookl10nhelper ) | ||
207 | target_link_libraries( docbookl10nhelper Qt5::Core ) | 207 | target_link_libraries( docbookl10nhelper Qt5::Core ) | ||
208 | if(WIN32) | ||||
209 | set_target_properties(docbookl10nhelper PROPERTIES OUTPUT_NAME docbookl10nhelper5) | ||||
210 | endif() | ||||
208 | if(INSTALL_INTERNAL_TOOLS) | 211 | if(INSTALL_INTERNAL_TOOLS) | ||
209 | install(TARGETS docbookl10nhelper EXPORT KF5DocToolsTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | 212 | install(TARGETS docbookl10nhelper EXPORT KF5DocToolsTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
210 | endif() | 213 | endif() | ||
211 | 214 | | |||
212 | if(CMAKE_CROSSCOMPILING AND DOCBOOKL10NHELPER_EXECUTABLE) | 215 | if(CMAKE_CROSSCOMPILING AND DOCBOOKL10NHELPER_EXECUTABLE) | ||
213 | add_executable(KF5::docbookl10nhelper IMPORTED GLOBAL) | 216 | add_executable(KF5::docbookl10nhelper IMPORTED GLOBAL) | ||
214 | set_target_properties(KF5::docbookl10nhelper PROPERTIES IMPORTED_LOCATION ${DOCBOOKL10NHELPER_EXECUTABLE}) | 217 | set_target_properties(KF5::docbookl10nhelper PROPERTIES IMPORTED_LOCATION ${DOCBOOKL10NHELPER_EXECUTABLE}) | ||
215 | else() | 218 | else() | ||
Show All 27 Lines |