summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'WriteCompilerDetectionHeader-compiler-versions'Brad King2014-06-1027-93/+160
|\ | | | | | | | | | | | | | | ddec418a Features: Add compiler version support to WriteCompilerDetectionHeader. b7029576 Project: Add configurable name for version computation macros. 78acaafe Project: Separate simulated compiler id from version detection. 567af1a5 WCDH: Issue a better message for version compatibility.
| * Features: Add compiler version support to WriteCompilerDetectionHeader.Stephen Kelly2014-06-091-1/+50
| |
| * Project: Add configurable name for version computation macros.Stephen Kelly2014-06-0526-87/+89
| |
| * Project: Separate simulated compiler id from version detection.Stephen Kelly2014-06-053-3/+14
| |
| * WCDH: Issue a better message for version compatibility.Stephen Kelly2014-06-051-2/+7
| |
* | Merge topic 'android-platform'Brad King2014-06-101-0/+9
|\ \ | | | | | | | | | | | | 42f74df6 Add basic Android platform module
| * | Add basic Android platform moduleBrad King2014-06-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a Platform/Android module that includes Platform/Linux since Android is based on Linux. Provide only the minimal settings needed to get builds with Android NDK toolchains to work. Disable use of RPATH since the Android loader ignores it and we cannot predict the install destination anyway. Android supports soname but shared library names must end in ".so" and we cannot represent the versioned names with associated symlinks on all host operating systems anyway. However, we do want the SONAME of library files to be set so that linking to them by path to the library file produces NEEDED entries with the soname and not the path. Add a new CMAKE_PLATFORM_NO_VERSIONED_SONAME setting to tell the cmTarget::GetLibraryNames method that not to use the VERSION or SOVERSION target properties in the soname.
* | | Merge topic 'WriteCompilerDetectionHeader-deprecated-define'Brad King2014-06-091-10/+52
|\ \ \ | | | | | | | | | | | | | | | | 62863106 WCDH: Add compatibility defines for deprecation.
| * | | WCDH: Add compatibility defines for deprecation.Stephen Kelly2014-06-091-10/+52
| | |/ | |/|
* | | Merge topic 'windows-RC-extension'Brad King2014-06-091-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 514c2e3d CMakeRCCompiler: Handle uppercase 'RC' as resource file format extension
| * | | CMakeRCCompiler: Handle uppercase 'RC' as resource file format extensionTim Blechmann2014-06-061-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | We already match lowercase 'rc'. Add 'RC' too. The latter is listed in other CMake<LANG>Compiler modules as ignored for their languages already. Signed-off-by: Tim Blechmann <tim@klingt.org>
* | | FindOpenGL: Fix typo in documented target nameBrad King2014-06-091-1/+1
|/ / | | | | | | | | | | We provide "OpenGL::GL", not "OpenGL::OpenGL". Reported-by: Daniel Pfeifer
* | FindOpenGL: Provide imported targets for GL and GLUPhilipp Möller2014-06-051-0/+40
| | | | | | | | | | Create OpenGL::GL and OpenGL::GLU imported targets using the locations found.
* | FindOpenGL: Organize and format module documentationPhilipp Möller2014-06-051-18/+24
|/
* 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.