summaryrefslogtreecommitdiffstats
path: root/Modules/FindKDE3.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Modules: Consistently use 2 space indentationKitware Robot2019-05-141-105/+105
|
* Help: Improve description of modulesBartosz Kosiorek2019-04-231-2/+1
|
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-135/+136
|
* Modules: Replace coded PATHS with PATH_SUFFIXESChristian Pfeiffer2017-11-201-2/+1
| | | | | | | Some modules assume that `/usr` and `/usr/local` are the only `CMAKE_PREFIX_PATH` entries and explicitly enumerate all paths instead of using `PATH_SUFFIXES` and relying on the dynamic set of prefix paths. This commit attempts to rectify that behavior.
* Modules: Add x32-abi support to hard-coded pathsSteven Newbury2017-03-071-0/+2
| | | | | Update hard-coded library paths in bundled CMake Modules for libx32 as used with x32-abi.
* Simplify CMake per-source license noticesBrad King2016-09-271-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Modules: Format documentation to avoid over-long preformatted linesBrad King2014-10-221-23/+26
| | | | | | Convert several preformatted code block literals that enumerate lists of options or variables to use reST definition lists instead. Manually wrap other long lines in code blocks.
* Replace string(REGEX REPLACE) with string(REPLACE) where possibleRolf Eike Beer2014-04-141-1/+1
| | | | The simple replacement is much faster.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-42/+110
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()Rolf Eike Beer2012-11-041-1/+1
| | | | | | This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the installed version on the system is rather old this may even lead to bugs, e.g. https://bugs.gentoo.org/show_bug.cgi?id=436540
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-32/+32
| | | | | | | | | | | | | | | | | 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-114/+114
| | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Fix typo direcotry -> directory (and similar) [#13444]Rolf Eike Beer2012-07-301-1/+1
|
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+14
| | | | | | | 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 potential issue with empty stringsBill Hoffman2009-02-031-3/+3
|
* BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can beAlexander Neundorf2008-08-161-0/+12
| | | | | | | | | | | | | found in the system Qt3 and Qt4 cannot be used together in one project. Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET Alex
* BUG: fix #7452, bad closing ENDIF() statementAlexander Neundorf2008-08-051-1/+1
| | | | Alex
* BUG: modify the compiler flags only if KDE3 has actually been foundAlexander Neundorf2008-06-181-41/+45
| | | | Alex
* STYLE: use uppercase to be consistent with the rest of the fileAlexander Neundorf2008-06-181-8/+8
| | | | Alex
* BUG: the variable is _KDE4_USE_FLAGSAlexander Neundorf2008-06-181-5/+6
| | | | | | ENH: I guess this is also true for gcc 2.95 ? Alex
* ENH: use correct variableBill Hoffman2008-06-181-6/+6
|
* ENH: fix for findallBill Hoffman2008-06-181-6/+16
|
* ENH: try to module run testBill Hoffman2008-06-181-2/+2
|
* ENH: try to module run testBill Hoffman2008-06-181-4/+4
|
* ENH: fix find module stuff for testBill Hoffman2008-06-161-4/+8
|
* ENH: Cleanup Find* modules with new HINTS featureBrad King2008-06-091-34/+16
| | | | | | | | | | - The find_* commands now provide a HINTS option. - The option specifies paths to be preferred over the system paths. - Many Find* modules were using two find calls with NO_DEFAULT_PATH to approximate the behavior, but that blocked users from overriding things with CMAKE_PREFIX_PATH. - This commit uses the HINTS feature to get desired behavior in only one find command call.
* ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but makeAlexander Neundorf2007-07-171-2/+10
| | | | | | it adjustable and detect if libkdecore.so is a 64bit library Alex
* BUG: remove KDE3_ENABLE_FINAL (#4140): it doesn't work currently and IAlexander Neundorf2007-02-201-14/+15
| | | | | | | don't have the time to fix this since it would require bigger changes. Maybe I'll do this if the KDE3 support of CMake becomes more widely used. Alex
* BUG: fix #3955: add -O2 by default but only if no special buildtype is setAlexander Neundorf2006-10-231-4/+10
| | | | Alex
* STYLE: remove unnecessary /usr/local/include search pathAlexander Neundorf2006-08-271-1/+0
| | | | Alex
* BUG: fix comment (#3511)Alexander Neundorf2006-08-271-1/+1
| | | | Alex
* ENH: #3225: first check the special paths, the the default path, also forAlexander Neundorf2006-08-271-17/+63
| | | | | | searching kde-config Alex
* BUG: Fix usage of FIND_PROGRAM command.Brad King2006-08-011-3/+3
|
* BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the completeAlexander Neundorf2006-03-211-1/+3
| | | | | | libkdecore.so Alex
* STYLE: fix typosAlexander Neundorf2006-03-181-4/+3
| | | | Alex
* ENH: add real-world-tested and used KDE3 support, and obsolete ↵Alexander Neundorf2006-03-091-0/+211
FindKDE.cmake, which wasn't used by anybody that I heard of Alex