Debian Codegraph @

build_files/Modules/Internationalization.cmake

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 IF(APPLE)
2 # ADD_DEFINITIONS(-DI18NDIR=QCoreApplication::applicationDirPath\(\)+"/../Resources/i18n")
3 SET(I18NDIR QCoreApplication::applicationDirPath\(\)+"/../Resources/i18n")
4 SET(HELPDIR QCoreApplication::applicationDirPath\(\)+"/../Resources/help")
5 SET(HDRHTMLDIR QCoreApplication::applicationDirPath\(\)+"/../Resources/hdrhtml")
6 ELSEIF(UNIX)
7 # ADD_DEFINITIONS(-DPREFIX=${CMAKE_INSTALL_PREFIX})
8 # ADD_DEFINITIONS(-DI18NDIR="${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/i18n")
9 SET(BASEDIR "\"${CMAKE_INSTALL_PREFIX}\"")
10 SET(I18NDIR "\"${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/i18n\"")
11 SET(HELPDIR "\"${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/help\"")
12 SET(HDRHTMLDIR "\"${CMAKE_INSTALL_PREFIX}/share/luminance-hdr/hdrhtml\"")
13 ELSEIF(WIN32)
14 # ADD_DEFINITIONS(-DI18NDIR=QCoreApplication::applicationDirPath\(\)+"/i18n")
15 SET(I18NDIR QCoreApplication::applicationDirPath\(\)+"/i18n")
16 SET(HELPDIR QCoreApplication::applicationDirPath\(\)+"/help")
17 SET(HDRHTMLDIR QCoreApplication::applicationDirPath\(\)+"/hdrhtml")
18 ENDIF()
19
20 OPTION(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files (WARNING: make clean will delete the source .ts files! Danger!)")
21 OPTION(LUPDATE_NOOBSOLETE "While doing an lupdate, remove obsolete entries.")
22
23 # Holds al the file that will be translated
24 SET(FILES_TO_TRANSLATE )
25
26 # add a function here that creates the translation when necessary