summaryrefslogtreecommitdiffstats
path: root/Modules/FindGettext.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'include-FPHSA'Brad King2012-09-111-2/+2
|\ | | | | | | | | ff0d1a8 include FPHSA from current directory in all modules
| * include FPHSA from current directory in all modulesRolf Eike Beer2012-09-081-2/+2
| |
* | FindGettext: remove code duplicating FPHSA checksRolf Eike Beer2012-09-081-8/+1
|/
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-17/+17
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-112/+112
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* FindGetText: fix multiple targets with the same name problem (CMP0002)Alex Neundorf2012-02-121-5/+43
| | | | | | | | | | | The functions in FindGettext create a custom target. If the functions are called multiple times, multiple times the same target is created. This works only if CMP0002 is set to OLD. With this patch there is only one central target created, and each invocation of the function creates a target with a unique name and make the central target depend on this one. Alex
* FindGettext: support version selectionRolf Eike Beer2012-01-251-1/+15
|
* FindGettext: two more fixes for files with multiple dotsAlex Neundorf2011-11-161-2/+4
| | | | | | | Another patch by Albert Astals Cid for dealing with translation files with multiple dots. Alex
* -make GETTEXT_PROCESS_PO_FILES() work with files with multiple dotsAlex Neundorf2011-11-151-1/+2
| | | | | | | | | | | Patch by Albert Astals Cid. E.g. plasma_package_org.kde.activityswitcher.po will now be installed correctly as plasma_package_org.kde.activityswitcher.mo, and not as plasma_package_org.mo. This is kind-of related to #12282 Alex
* Strip trailing whitespaceAlex Neundorf2011-11-151-3/+3
| | | | Alex
* Support REQUIRED in FindGettext.cmake (using FPHSA.cmake)Alex Neundorf2011-08-101-0/+3
| | | | Alex
* Add macros GETTEXT_PROCESS_POT() and GETTEXT_PROCESS_PO_FILES()Alex Neundorf2011-08-101-7/+91
| | | | | | | These macros (functions actually) can be used to process pot and po files. Patch prepared by Raphael Kubo da Costa. Alex
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-1/+12
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* BUG: fix #8122, _firstPoFile was not empty because it was no real variableAlexander Neundorf2009-01-101-1/+3
| | | | | | but just a macro argument -> make it a real variable Alex
* BUG: fix 7230: don't ignore first parameter if it's not ALLAlexander Neundorf2008-06-291-1/+1
| | | | Alex
* BUG: fix typo reported by Duncan Mac VicarAlexander Neundorf2007-02-261-1/+1
| | | | Alex
* BUG: add gettext module for working with GNU gettext (#4081)Alexander Neundorf2007-02-021-0/+65
Alex