summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindQt4: Use standard section header underline conventionBrad King2014-06-021-6/+6
| | | | | | | The FindQt4 module is a CMake Domain object of type "module". Our convention for domain object document titles is "------" and domain object document sections is "^^^^^^". Switch to these within the FindQt4 documentation.
* Merge topic 'dpkg-shlibdeps-locale'Brad King2014-05-291-1/+1
|\ | | | | | | | | 21ec5f84 CPackDeb: Invoke "dpkg-shlibdeps --version" with C locale
| * CPackDeb: Invoke "dpkg-shlibdeps --version" with C localeNils Gladitz2014-05-281-1/+1
| | | | | | | | The version message is localized and may not match when a non-english locale is in use.
* | Merge topic 'FindDoxygen-windows-dot'Brad King2014-05-291-5/+19
|\ \ | | | | | | | | | | | | | | | f49b6a33 FindDoxygen: Deprecate DOXYGEN_DOT_PATH 7980eab8 FindDoxygen: Improve search for Graphviz "dot" on Windows
| * | FindDoxygen: Deprecate DOXYGEN_DOT_PATHBrad King2014-05-271-3/+11
| | | | | | | | | | | | | | | | | | | | | While at it, do not cache the value since it should always be computed directly from DOXYGEN_DOT_EXECUTABLE. Inspired-by: Lars Bilke <larsbilke83@googlemail.com>
| * | FindDoxygen: Improve search for Graphviz "dot" on WindowsBrad King2014-05-271-2/+8
| |/ | | | | | | | | | | | | As of Graphviz 2.31, their installer provides no PATH or registry modifications. Glob possible install paths instead. Inspired-by: Lars Bilke <larsbilke83@googlemail.com>
* | Merge topic 'cxx14-features'Brad King2014-05-295-2/+57
|\ \ | | | | | | | | | | | | dd043c3f Features: Add support for C++14 features.
| * | Features: Add support for C++14 features.Stephen Kelly2014-05-225-2/+57
| | | | | | | | | | | | Record the features implemented by GNU 4.9 and Clang 3.4.
* | | Merge topic 'FindFreetype-updates'Brad King2014-05-281-25/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 58f7baab FindFreetype: Indent with 2 spaces instead of 4 444f8801 FindFreetype: Use lower-case name in call to FPHSA 836a28d5 FindFreetype: Move PATH_SUFFIXES argument for more consistency 4ad6dace FindFreetype: Add newlines to reduce code width
| * | | FindFreetype: Indent with 2 spaces instead of 4Taylor Holberton2014-05-271-15/+15
| | | | | | | | | | | | | | | | This is more consistent with style elsewhere.
| * | | FindFreetype: Use lower-case name in call to FPHSATaylor Holberton2014-05-271-1/+2
| | | | | | | | | | | | | | | | | | | | Use 'find_package_handle_standard_args' because lower-case style is now preferred.
| * | | FindFreetype: Move PATH_SUFFIXES argument for more consistencyTaylor Holberton2014-05-271-1/+2
| | | |
| * | | FindFreetype: Add newlines to reduce code widthTaylor Holberton2014-05-271-9/+30
| | |/ | |/| | | | | | | This also makes argument lists easier to update.
* | | Merge topic 'GNUtoMS-vs-12'Brad King2014-05-281-1/+3
|\ \ \ | |/ / |/| | | | | | | | 668e571d GNUtoMS: Add support for VS 2013 (#14936)
| * | GNUtoMS: Add support for VS 2013 (#14936)Brad King2014-05-271-1/+3
| | | | | | | | | | | | | | | | | | Add to the Platform/Windows-GNU module list of VS registry entries those for VS 2013. Also add the name "vcvars64.bat" used by VS 10 and above for 64-bit tools.
* | | Help: Add a manual for compiler feature control.Stephen Kelly2014-05-271-0/+3
| |/ |/| | | | | | | | | | | | | Link to it from the documentation of related properties, variables and commands. Extend the cmake-developer(7) documentation with notes on extending feature support for compilers.
* | Merge topic 'OpenBSD-paths'Brad King2014-05-221-0/+13
|\ \ | | | | | | | | | | | | bd32b682 OpenBSD: honor the LOCALBASE and X11BASE environment variables
| * | OpenBSD: honor the LOCALBASE and X11BASE environment variablesRolf Eike Beer2014-05-211-0/+13
| | |
* | | Merge topic 'FindQt_versioned_tools'Brad King2014-05-222-8/+8
|\ \ \ | |/ / |/| | | | | | | | 0645eedb FindQt[34]: Prefer matching versioned tool names
| * | FindQt[34]: Prefer matching versioned tool namesRolf Eike Beer2014-05-222-8/+8
| | | | | | | | | | | | | | | | | | | | | After finding qmake we search in QT_BINARY_DIR for the other Qt tools. Try all versioned executable names before trying the plain executable name. This makes it much more likely that if 2 different major versions are installed in the same prefix CMake will be able to detect a proper set of tools.
* | | Merge topic 'clang-features'Brad King2014-05-215-1/+143
|\ \ \ | | | | | | | | | | | | | | | | cda23319 Features: Record for Clang 3.4
| * | | Features: Record for Clang 3.4Stephen Kelly2014-05-205-1/+143
| |/ / | | | | | | | | | Clang 3.4 supports all features currently known to CMake.
* | | Merge topic 'GNUInstallDirs-OpenBSD'Brad King2014-05-211-8/+20
|\ \ \ | | | | | | | | | | | | | | | | d4fdd9c1 GNUInstallDirs: use the proper default for info and man paths on OpenBSD
| * | | GNUInstallDirs: use the proper default for info and man paths on OpenBSDRolf Eike Beer2014-05-201-8/+20
| |/ /
* | | Merge topic 'OpenBSD_no_multilib'Brad King2014-05-211-0/+3
|\ \ \ | | | | | | | | | | | | | | | | 956b7190 OpenBSD: disable FIND_LIBRARY_USE_LIB64_PATHS
| * | | OpenBSD: disable FIND_LIBRARY_USE_LIB64_PATHSRolf Eike Beer2014-05-201-0/+3
| |/ / | | | | | | | | | OpenBSD has no multilib paths.
* | | Features: Ensure that list exists to remove from.Stephen Kelly2014-05-201-1/+1
|/ /
* | Merge topic 'preserve_cmake_minimum_required_version'Brad King2014-05-208-12/+6
|\ \ | | | | | | | | | | | | | | | 1890c668 Keep cmake_minimum_required calls in sync with current version 81a3f228 Do not change minimum required version in modules
| * | Keep cmake_minimum_required calls in sync with current versionDaniele E. Domenichelli2014-05-195-5/+5
| | | | | | | | | | | | | | | | | | Update cmake_minimum_required calls in CMakeLists.txt in Modules and in CMakeLists.txt generated by other modules, so that they are always in sync with current CMake version.
| * | Do not change minimum required version in modulesDaniele E. Domenichelli2014-05-193-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some modules change CMake minimum required version when they are included. For example: cmake_minimum_required(VERSION 2.8.12) message("${CMAKE_MINIMUM_REQUIRED_VERSION}") include(CheckTypeSize) message("${CMAKE_MINIMUM_REQUIRED_VERSION}") will produce the following output: 2.8.12 2.6 This patch ensures that when you include a CMake module the minimum required version and the policies set are left unchanged. Fixes Issue #14864
* | | Merge topic 'compile-features-C-language'Brad King2014-05-206-5/+111
|\ \ \ | |/ / |/| | | | | | | | e0890d03 Features: Extend concept to C language.
| * | Features: Extend concept to C language.Stephen Kelly2014-05-146-5/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add properties and variables corresponding to CXX equivalents. Add features for c_function_prototypes (C90), c_restrict (C99), c_variadic_macros (C99) and c_static_assert (C11). This feature set can be extended later. Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader to conditionally represent the c_restrict feature.
* | | Merge topic 'FindCUDA-separable-compilation-flags'Brad King2014-05-191-0/+9
|\ \ \ | | |/ | |/| | | | | | | 6ad14c71 FindCUDA: Use CUDA_NVCC_FLAGS* for separable compilation
| * | FindCUDA: Use CUDA_NVCC_FLAGS* for separable compilationJames Bigler2014-05-191-0/+9
| | | | | | | | | | | | | | | | | | | | | Previously when linking the intermediate link file for separable compilation the CUDA_NVCC_FLAGS* were not used. This caused tremendous confusion when using this feature, and I consider it to be a bug. This change should fix this.
| * | Merge branch 'ncurses-tinfo' into releaseBrad King2014-05-061-3/+15
| |\ \
* | | | Features: Use the features symbol in the feature-test compile.Stephen Kelly2014-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang discards the entire string if it is not used, removing the ability to read the features from the compiled binary. That is prevented by using the symbol. GNU with -O3 also discards the string, so use the string in a way which is determined by a runtime value (argc) to prevent it being discarded.
* | | | Features: Only require AppleClang policy to be NEW on APPLE.Stephen Kelly2014-05-141-1/+1
| |_|/ |/| |
* | | Merge topic 'WriteCompilerDetectionHeader-module'Brad King2014-05-141-0/+401
|\ \ \ | | | | | | | | | | | | | | | | 62a4a67d Add the WriteCompilerDetectionHeader module.
| * | | Add the WriteCompilerDetectionHeader module.Stephen Kelly2014-05-141-0/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a function to write a portable header to detect compiler features. Generate a preprocessor #error for unknown compilers and compiler versions whose features are not yet recorded. This error condition might be relaxed in the future, but for now it is useful for verification of expectations.
* | | | FindGTest: use new add_test() signature (#14913)Rolf Eike Beer2014-05-121-1/+1
| | | | | | | | | | | | | | | | This allows to use target names as executables.
* | | | Merge topic 'features-gnu-oldest-supported'Brad King2014-05-121-10/+9
|\ \ \ \ | |/ / / | | | | | | | | | | | | f782417b Features: Record the oldest supported compiler.
| * | | Features: Record the oldest supported compiler.Stephen Kelly2014-05-081-10/+9
| | | | | | | | | | | | | | | | | | | | This may be used to ensure that features are reported correctly only if the compiler minimum version is met.
* | | | CMakeConfigurableFile: Remove excess newline.Stephen Kelly2014-05-101-1/+0
| | | |
* | | | Features: Fix GNU 4.8.1 version test.Stephen Kelly2014-05-101-1/+1
| | | |
* | | | Tests: Make CompileFeature tests use highest standard known.Stephen Kelly2014-05-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the use of check_cxx_source_compiles which is now just getting in the way. Blacklist the cxx_alignof feature in the test with GNU 4.7. The test file compiles, but it is documented as available first in GNU 4.8.
* | | | Windows: Avoid () in environment variable referencesBen Boeckel2014-05-082-3/+5
|/ / / | | | | | | | | | Use nested variable evaluation instead.
* | | Merge topic 'GNU-4.7-features'Brad King2014-05-082-4/+3
|\ \ \ | | | | | | | | | | | | | | | | 9cbc63e4 Features: Record for GNU 4.7.
| * | | Features: Record for GNU 4.7.Stephen Kelly2014-05-072-4/+3
| | | | | | | | | | | | | | | | | | | | Update the CompileFeatures test to verify that unsupported features do not work.
* | | | Merge topic 'minor-cleanups'Brad King2014-05-081-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 47795421 Fix whitespace in docs. aa283b6b Features: Fix test for GNU 4.8.1. bbfd4cd4 Features: Include the language of the compiler in error messages.
| * | | | Features: Fix test for GNU 4.8.1.Stephen Kelly2014-05-071-1/+1
| | | | |