summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindPkgConfig-revise-docs'Brad King2014-03-121-135/+118
|\ | | | | | | | | 49ef91d7 FindPkgConfig: restructure documentation and document commands and variables
| * FindPkgConfig: restructure documentation and document commands and variablesDaniele E. Domenichelli2014-03-101-135/+118
| |
* | Merge topic 'fix-find_dependency-EXACT'Brad King2014-03-121-3/+3
|\ \ | | | | | | | | | | | | 224f50f4 find_dependency: Make sure invalid EXACT use can be reported.
| * | find_dependency: Make sure invalid EXACT use can be reported.Stephen Kelly2014-03-111-3/+3
| | | | | | | | | | | | | | | | | | Test the first argument directly for matching 'EXACT'. The error check in its previous position was incorrect and would only trigger with a version of '0' or similar.
| * | Merge branch 'fix-find_dependency-EXACT' into releaseBrad King2014-03-101-2/+11
| |\ \
| * \ \ Merge branch 'fix-Qt4-DBus-macro' into releaseBrad King2014-03-101-1/+1
| |\ \ \
| * \ \ \ Merge branch 'python-3.4' into releaseBrad King2014-03-102-2/+2
| |\ \ \ \
| * \ \ \ \ Merge branch 'FindRuby-2' into releaseBrad King2014-02-281-4/+20
| |\ \ \ \ \
* | \ \ \ \ \ Merge topic 'fix-xcode-compiler-force'Brad King2014-03-125-92/+37
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c9bfac3 Xcode: Convert forced CMAKE_<LANG>_COMPILER to full path if possible 6852fb80 CMakeDetermine*Compiler: Factor out search for compiler in PATH
| * | | | | | | Xcode: Convert forced CMAKE_<LANG>_COMPILER to full path if possibleBrad King2014-03-103-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During cross-compiling the toolchain file may use CMakeForceCompiler to force a compiler setting. When using the Xcode generator try to convert it to a full path by searching the PATH as is done for the Makefile generators.
| * | | | | | | CMakeDetermine*Compiler: Factor out search for compiler in PATHBrad King2014-03-105-92/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor out a _cmake_find_compiler_path helper macro to avoid duplication of the search for a full path to the compiler.
* | | | | | | | Merge topic 'FindFreetype-path-suffix-without-include'Brad King2014-03-111-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b79a1f67 FindFreetype: Add plain 'freetype2' path suffix
| * | | | | | | | FindFreetype: Add plain 'freetype2' path suffixAdrien Destugues2014-03-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Haiku, the headers are not in an 'include' directory.
* | | | | | | | | Merge topic 'FindSDL-consistent-path-suffixes'Brad King2014-03-115-5/+15
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d71db3a0 FindSDL: Make FindSDL_*.cmake path suffixes consistent with main module
| * | | | | | | | | FindSDL: Make FindSDL_*.cmake path suffixes consistent with main moduleBrad King2014-03-105-5/+15
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the 'SDL' path suffix to the FindSDL_*.cmake modules. Add a comment explaining the purpose of suffixes as in commit v3.0.0-rc1~540^2 (FindSDL: Add path suffixes for <prefix>/include/..., 2013-10-08). Inspired-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
* | | | | | | | | Merge topic 'fix-find_dependency-EXACT'Brad King2014-03-111-2/+11
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | 08ba128f find_dependency: Don't propagate EXACT argument.
| * | | | | | | | find_dependency: Don't propagate EXACT argument.Stephen Kelly2014-03-061-2/+11
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a package is requested with an EXACT version, that doesn't imply that dependencies must be found EXACTly too. Extend the macro to allow specifying that a dependency must be found by EXACT version instead.
* | | | | | | | Merge topic 'fix-Qt4-DBus-macro'Brad King2014-03-111-1/+1
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | | fc2bad57 Qt4: Use correct qdbus executable in macro.
| * | | | | | Qt4: Use correct qdbus executable in macro.Stephen Kelly2014-03-101-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit v3.0.0-rc1~71^2~9 (Qt4: Use IMPORTED executable names with custom commands., 2014-01-24) erroneusly changed this command to use the wrong target.
* | | | | | Merge topic 'dev/string-apis'Brad King2014-03-091-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b633b263 CPackWiX: Fix test to build with expected config 191f25e2 stringapi: Prevent a NULL dereference in WiX 219d6ad6 speedup: Avoid excess iterator dereferences caaad357 speedup: Cache strings for comparisons 7abf4e31 stringapi: Use strings for dependency information 94fc63e2 stringapi: Use strings for cache iterator values 85fc9f26 stringapi: Command names 6557382d stringapi: Use strings for program paths 1a1b737c stringapi: Use strings for generator names 24b5e93d stringapi: Use strings for directories 11ed3e2c stringapi: Add string overload for the Def struct b3bf31a5 stringapi: Miscellaneous char* parameters 5af95c39 typo: Match argument name with the header 2b17626e stringapi: Pass strings as install directories in CPack 3def29da stringapi: Use strings for feature arguments acb116e3 stringapi: Return a string reference for the configuration ...
| * | | | | | FindCUDA: Fix a typoBen Boeckel2014-03-081-1/+1
| | | | | | |
* | | | | | | Merge topic 'python-3.4'Brad King2014-03-072-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | / / | | |_|_|/ / | |/| | | | ab6201ab FindPython{Interp,Libs}: Search for Python 3.4.
| * | | | | FindPython{Interp,Libs}: Search for Python 3.4.Matt McCormick2014-03-062-2/+2
| | |/ / / | |/| | | | | | | | | | | | | Python 3.4.0rnc1 was released on 2014-02-20.
* | | | | Merge topic 'different-python-header-libs-exe-0013794'Brad King2014-03-061-1/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bf28ff1f FindPythonLibs: Do not try to find the interpreter (#13794)
| * | | | | FindPythonLibs: Do not try to find the interpreter (#13794)Brad King2014-03-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parent commit taught FindPythonLibs to try to find PythonInterp unconditionally. Some projects may want the libraries of a specific version even when the corresponding interpreter is not available. Drop the internal use of FindPythonInterp and just use the versions from it if it happens to have been found by the project first. That will allow projects to get a consistent version when they want both but not otherwise force them to find the interpreter.
* | | | | | Merge topic 'link-libraries-response-files'Brad King2014-03-061-1/+4
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 489b1c23 Windows: Use response files to specify link libraries for GNU tools 745caae6 Makefile: Rename linker response file boolean to be more specific 5e8e4d0f cmLocalGenerator: Add response file option to OutputLinkLibraries b9aa5041 cmLocalGenerator: Simplify GetIncludeFlags output formatting 971653b7 cmLocalGenerator: Add format option to ConvertToLinkReference 0c0ef9e7 cmLocalGenerator: Add format option to ConvertToIncludeReference 02bebd60 cmLocalGenerator: Add format option to ConvertToOutputForExisting c8751709 Makefile: Factor out some duplicate link libraries generation
| * | | | | Windows: Use response files to specify link libraries for GNU toolsBrad King2014-03-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work around the command-line-length limit by using an @linklibs.rsp response file to pass the flags for link libraries. This allows very long lists of libraries to be used in addition to the existing support for passing object files via response file. Suggested-by: Peter Keuschnigg <peter.keuschnigg@pmu.ac.at>
* | | | | | Merge topic 'watcom-rtdll-version'Brad King2014-03-051-10/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b052902c Remove hard-coded version of RTDLL for Open Watcom
| * | | | | | Remove hard-coded version of RTDLL for Open WatcomJiri Malak2014-03-041-10/+14
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In InstallRequiredSystemLibraries the version number for RTDLL can be calculated from the compiler version. This will support current and future OW versions without updating the module again.
* | | | | | FeatureSummary: Allow to combine and reorder values for the "WHAT" optionDaniele E. Domenichelli2014-03-031-17/+39
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example it is now possible to do: feature_summary(WHAT ENABLED_FEATURES DISABLED_FEATURES) That produces an output like: -- -- The following features have been enabled: * Feature1 * Feature2 -- The following features have been disabled: * Feature2 Skipping the lists that are empty. Without this patch this would require to do: message(STATUS "") feature_summary(WHAT ENABLED_FEATURES DESCRIPTION "The following features have been enabled:") feature_summary(WHAT DISABLED_FEATURES DESCRIPTION "The following features have been disabled:") And empty lists would not be skipped. The behaviour when WHAT has a single argument (ALL or any option) is unchanged.
* | | | | Merge topic 'wix-additions'Brad King2014-03-032-1/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 642fa25d CPackWIX: support installation of empty directories 378eb5b7 CPackWIX: Allow Windows Installer property customization
| * | | | | CPackWIX: Allow Windows Installer property customizationNils Gladitz2014-03-012-1/+18
| | | | | |
* | | | | | Merge topic 'FindRuby-2'Brad King2014-03-031-4/+20
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 57abfeaa Help: Add FindRuby-2 topic release notes 165f6430 FindRuby: Add support for Ruby 2.0 and 2.1
| * | | | | FindRuby: Add support for Ruby 2.0 and 2.1Bas Couwenberg2014-02-281-4/+20
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | The most significant change since Ruby 1.9 is the changed path of config.h, from RbConfig::CONFIG['rubyhdrdir'] to RbConfig::CONFIG['rubyarchhdrdir'].
* | | | | Merge topic 'watcom-wlib-quoting'Brad King2014-03-031-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5c5be193 Watcom: Fix static library name quoting for wlib
| * | | | | Watcom: Fix static library name quoting for wlibJiri Malak2014-02-281-2/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Use double-quotes instead of single-quotes around the static library target name in 'wlib' invocations.
* | | | | Merge topic 'watcom-dll-no-symbols'Brad King2014-03-031-4/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 00503d38 Watcom: Fix creation of DLLs without any exported symbols
| * | | | | Watcom: Fix creation of DLLs without any exported symbolsBrad King2014-02-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create each DLL import library by passing "option implib=..." to the linker for its SHARED library. This works even when there are no symbols to be exported. Leave the option out for MODULE libraries because we do not need an import library for them. For executables, retain the separate invocation of wlib because we want an import library only when the ENABLE_EXPORTS property is set, and in that case the project should provide symbols. Suggested-by: J Decker <d3ck0r@gmail.com>
* | | | | | Merge topic 'different-python-header-libs-exe-0013794'Brad King2014-03-031-4/+9
|\ \ \ \ \ \ | |_|/ / / / |/| | | / / | | |_|/ / | |/| | | 3816cd2d FindPythonLibs: Find consistent Python interp, headers, libs (#13794)
| * | | | FindPythonLibs: Find consistent Python interp, headers, libs (#13794)Matt McCormick2014-03-031-4/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When possible, get consistent version of the Python interpreter, headers path, and library. Now find_package(PythonLibs) internally calls find_package(PythonInterp QUIET) and uses the resulting PYTHON_VERSION_MAJOR and PYTHON_VERSION_MINOR to prefer these versions when looking for the header path and library. The Python_ADDITIONAL_VERSIONS variable has priority over the interpreter version. Co-Author: Adam Wolf Co-Author: Gert Wollny <gw.fossdev@gmail.com>
* | | | Merge topic 'FindPkgConfig-PKG_CONFIG'Brad King2014-02-281-2/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 80aa18b4 Help: Add release notes for topic 'FindPkgConfig-PKG_CONFIG' c53b5cd2 FindPkgConfig: Prefer PKG_CONFIG to find pkg-config (#13175)
| * | | | FindPkgConfig: Prefer PKG_CONFIG to find pkg-config (#13175)Christoph Grüninger2014-02-271-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | If the environment variable PKG_CONFIG is set, use this as the default pkg-config executable.
* | | | | Merge topic 'FindGTest-AUTO-SOURCES'Brad King2014-02-281-2/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac42bca8 Help: Add FindGTest-AUTO-SOURCES topic release notes c50325b8 FindGTest: Optionally detect sources automatically (#14775)
| * | | | | FindGTest: Optionally detect sources automatically (#14775)Nikolay Orliuk2014-02-271-2/+6
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Teach GTEST_ADD_TESTS an "AUTO" option to read the source files from the SOURCES target property of an executable.
* | | | | Merge topic 'qt4-overlink'Brad King2014-02-281-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b94ecab6 FindQt4: prevent overlinking when using UseQt4.cmake.
| * | | | | FindQt4: prevent overlinking when using UseQt4.cmake.Clinton Stimpson2014-02-261-1/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Now it only links with the Qt libraries specified by the user, instead of automatically including all dependencies. Fixes #14750 and thanks to Orion Poplawski.
* | | | | Merge topic 'add-FindOpenCL'Brad King2014-02-281-0/+134
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | 1b08e609 Help: Add release notes for topic 'add-FindOpenCL' 041485bc Add FindOpenCL module
| * | | | Add FindOpenCL moduleMatthäus G. Chajdas2014-02-261-0/+134
| |/ / /
* | | | Merge topic 'fix-find_dependency-macro'Brad King2014-02-261-1/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | 3d8f7102 find_dependency: unset cmake_fd_version variable at end of macro 85d0f8de find_dependency: use correct version variable name
| * | | find_dependency: unset cmake_fd_version variable at end of macroAlex Merry2014-02-261-0/+1
| | | | | | | | | | | | | | | | This matches the other macro variables.