summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | |
* | | | | Merge topic 'hp-cpp98-tests'Brad King2014-05-081-0/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b0f277db HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards
| * | | | | HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwardsRolf Eike Beer2014-04-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old versions of aCC need a special compiler flag to get full C++98 template support as e.g. CMake itself or the Complex and ComplexOneConfig tests need. The same versions need a special flag to get a proper C++ library, too.
* | | | | | Merge topic 'decay-language-version'Brad King2014-05-082-6/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 205215fb cmTarget: Add CXX_STANDARD_REQUIRED to control decay. 1df2116b Features: Decay language flag if requested is not available. c4f4dac2 Project: Fix exit-on-error with compile feature tests. 5bb7ce72 Project: Use nullary form of main for compile feature tests. 64254e7a Project: Remove extern from static string in feature tests. 0d9c99bf Help: Fix order of help entries. dc7639bd Tests: Fix name of cache variable.
| * | | | | | Features: Decay language flag if requested is not available.Stephen Kelly2014-05-071-0/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the highest standard compile flags available if requested language version is too new. This supports use-cases like set(CMAKE_CXX_STANDARD 14) # Compiled with -std=c++11 with GNU 4.7, which has no -std=c++14 # or equivalent flag add_executable(main main.cpp) This can be used in combination with preprocessor defines which communicate the availability of certain language features for optional use.
| * | | | | Project: Fix exit-on-error with compile feature tests.Stephen Kelly2014-05-071-4/+3
| | | | | |
| * | | | | Project: Use nullary form of main for compile feature tests.Stephen Kelly2014-05-071-1/+1
| | | | | |