summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'intel-fortran-2016'Brad King2015-10-291-1/+3
|\ | | | | | | | | 77be366c Intel: Recognize MSVC version for Intel Fortran 2016 (#15809)
| * Intel: Recognize MSVC version for Intel Fortran 2016 (#15809)Brad King2015-10-261-1/+3
| |
* | Merge topic 'cpack-osx-sysroot'Brad King2015-10-291-1/+1
|\ \ | | | | | | | | | | | | 63e2af0f CPack: Fix CPACK_OSX_SYSROOT with symbolic CMAKE_OSX_SYSROOT (#15816)
| * | CPack: Fix CPACK_OSX_SYSROOT with symbolic CMAKE_OSX_SYSROOT (#15816)Brad King2015-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | We support setting CMAKE_OSX_SYSROOT to a symbolic value like "macosx". Modules/Platform/Darwin-Initialize.cmake takes care of finding the actual SDK path on disk. Use that result to set CPACK_OSX_SYSROOT instead.
* | | FindPkgConfig: return actual error when a package is not found (#15810)Benjamin Chrétien2015-10-281-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases, CMake returned the following error: -- Checking for module 'foo' -- Package 'foo' not found When the actual error returned by pkg-config was: Package 'bar', required by 'foo', not found Now, the actual error is forwarded to the user. -- Checking for module 'foo' -- Package 'bar', required by 'foo', not found For the standard case (i.e. the package was indeed not found), the CMake error was: -- Checking for module 'foo' -- Package 'foo' not found But it now prints: -- Checking for module 'foo' -- No package 'foo' found The associated test was also updated. ${last} refers to the last CLI argument.
* | | Merge topic 'fix-C-comment-syntax'Brad King2015-10-281-2/+2
|\ \ \ | |/ / |/| | | | | | | | e166203f CheckForPthreads.c: Do not use C++-style comments in C source
| * | CheckForPthreads.c: Do not use C++-style comments in C sourceMarc Chevrier2015-10-261-2/+2
| |/
* | Merge topic 'ninja-refactor-deptype-selection'Brad King2015-10-211-0/+2
|\ \ | | | | | | | | | | | | 123de191 Ninja: Refactor selection of 'deps = ' value for MS-compatible toolchains
| * | Ninja: Refactor selection of 'deps = ' value for MS-compatible toolchainsBrad King2015-10-201-0/+2
| | | | | | | | | | | | | | | | | | Set variables in the platform information modules to tell the Ninja generator what deps type to use instead of hard-coding conditions in the generator itself.
* | | Merge topic 'deprecate-CMakeForceCompiler'Brad King2015-10-211-3/+15
|\ \ \ | |/ / |/| | | | | | | | ed77504d CMakeForceCompiler: Deprecate this module and its macros
| * | CMakeForceCompiler: Deprecate this module and its macrosBrad King2015-10-191-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module was added by commit v2.6.0~1489 (...supporting embedded compilers..., 2007-07-02) to avoid needing to build the compiler id detection source on toolchains that need special flags or linker files to produce executables. Since then CMake has learned other ways to identify such compilers (e.g. passing vendor-specific version flags and checking for vendor-specific banners in the output). Furthermore, CMake now detects a lot more than just the compiler id during language initialization in order to support things like <LANG>_STANDARD and COMPILE_FEATURES. Therefore CMakeForceCompiler is no longer a viable approach because it skips such detection. One remaining challenge to support toolchains that require special linker files is to build the test for a working compiler, compiler ABI detection binary, and other try_compile cases. This will have to be worked out as such cases are encountered.
* | | FindFLEX: Add a DEFINES_FILE option to specify flex-generated header (#15781)Chris Davies2015-10-191-6/+22
| | |
* | | FindFLEX: Fix typo in ADD_FLEX_BISON_DEPENDENCY errorsChris Davies2015-10-191-2/+2
| | |
* | | FindFLEX: Use CMAKE_PARSE_ARGUMENTS to parse argumentsChris Davies2015-10-191-22/+37
|/ /
* | Merge topic 'ExternalProject-fix-git-version'Brad King2015-10-161-1/+2
|\ \ | | | | | | | | | | | | | | | c9e0173e ExternalProject: Always use CMake builtin FindGit (#15791) 4cd52dc5 ExternalProject: Fix Git version report in error message (#15791)
| * | ExternalProject: Always use CMake builtin FindGit (#15791)Brad King2015-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Unset CMAKE_MODULE_PATH before calling find_package(Git) to ensure we do not get a project-provided FindGit module that may not provide the GIT_VERSION_STRING that we need. We do not need to restore the value explicitly because this occurs inside the _ep_add_download_command function call scope.
| * | ExternalProject: Fix Git version report in error message (#15791)Brad King2015-10-151-1/+1
| |/ | | | | | | | | | | Refactoring in commit v3.4.0-rc1~77^2~1 (ExternalProject: Use GIT_VERSION_STRING instead of custom method, 2015-09-17) forgot to update the variable name used in an error message.
* | Merge topic 'FindGit-Atlassian-SourceTree'Brad King2015-10-131-1/+5
|\ \ | | | | | | | | | | | | 57f701a7 FindGit: Search in 'Atlassian SourceTree' user directory (#15758)
| * | FindGit: Search in 'Atlassian SourceTree' user directory (#15758)Kevin Wojniak2015-10-121-1/+5
| | |
* | | Merge topic 'FindPostgreSQL-v9.5'Brad King2015-10-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 5225e004 FindPostgreSQL: Search for version 9.5
| * | | FindPostgreSQL: Search for version 9.5Tamar Kranenburg2015-10-121-1/+1
| | |/ | |/|
* | | Merge topic 'xcode-adjust-deployment-to-host-version'Brad King2015-10-131-0/+4
|\ \ \ | |_|/ |/| | | | | | | | 24aafbde Xcode: Adjust deployment target SDK version to host version
| * | Xcode: Adjust deployment target SDK version to host versionGregor Jasny2015-10-121-0/+4
| |/ | | | | | | | | | | | | | | | | | | If the automatically selected SDK is newer than the host OS version and no deployment version has been set then adjust the deployment version to the host OS version. Otherwise the user won't be able to launch the executables on the build host. This is for example a problem on a MacOSX 10.10 host with Xcode 7 which only provides a MacOSX10.11 SDK.
* | Merge topic 'cpack-wix-typos'Brad King2015-10-121-2/+2
|\ \ | | | | | | | | | | | | fb9ec243 CPackWIX: fix typos in documentation
| * | CPackWIX: fix typos in documentationKevin Wojniak2015-10-081-2/+2
| |/
* | Merge topic 'revert-compiler-features-solaris'Brad King2015-10-121-19/+13
|\ \ | | | | | | | | | | | | 340d0897 Revert topic 'compiler-features-solaris'
| * | Revert topic 'compiler-features-solaris'Brad King2015-10-081-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.4.0-rc1~10^2~2 (Features: Disable support for Oracle SolarisStudio on non-Linux, 2015-09-29) and two follow-up commits. The support of compile features and language standards on Orcale SolarisStudio needs more investigation so for CMake 3.4 we should just act as 3.3 did.
* | | Merge topic 'FindGTK2_sigc++_c++11'Brad King2015-10-121-0/+58
|\ \ \ | | | | | | | | | | | | | | | | 3d9e3d7b FindGTK2: Enable c++11 for sigc++ 2.5.1 or later
| * | | FindGTK2: Enable c++11 for sigc++ 2.5.1 or laterDaniele E. Domenichelli2015-10-121-0/+58
| | |/ | |/| | | | | | | | | | | | | | | | Starting with sigc++ 2.5.1, c++11 must be enabled in order to use sigc++. The GTK2::sigc++ imported target will automatically enable the required build flags in order to build with the version found on the system.
* | | Merge topic 'FindOpenSSL-mingw'Brad King2015-10-081-7/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | 1bf66fed FindOpenSSL: Search for unix-named libraries first on MinGW (#15765) 6b575dec FindOpenSSL: Tolerate tabs in header while parsing version (#15765)
| * | | FindOpenSSL: Search for unix-named libraries first on MinGW (#15765)Wayne Stambaugh2015-10-061-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generalize the change made by commit v2.8.10~228^2~4 (FindOpenSSL: find cross-compiled OpenSSL from MinGW, 2012-07-23) to be used on builds hosted on Windows too. When building for MinGW, consider library names that come with MinGW before looking for the main Windows distribution of OpenSSL.
| * | | FindOpenSSL: Tolerate tabs in header while parsing version (#15765)Wayne Stambaugh2015-10-061-1/+1
| | | | | | | | | | | | | | | | Tolerate tabs instead of spaces in the "# define" line.
* | | | Merge topic 'cpack-nsis-bitmap'Brad King2015-10-082-0/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 3758af12 CPackNSIS: Add options to set the bitmap for NSIS installer left side
| * | | | CPackNSIS: Add options to set the bitmap for NSIS installer left sideColin Tracey2015-10-062-0/+10
| | |/ / | |/| | | | | | | | | | | | | | set MUI_WELCOMEFINISHPAGE_BITMAP set MUI_UNWELCOMEFINISHPAGE_BITMAP
* | | | Merge topic 'fix-spelling-typos'Brad King2015-10-085-5/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | 06247384 bootstrap: Fix spelling of "succeeded" b6702d40 Modules: Fix spelling of "succeeded" in check messages
| * | | Modules: Fix spelling of "succeeded" in check messagesTerrell Russell2015-10-065-5/+5
| |/ / | | | | | | | | | Change "succeded" to "succeeded" everywhere.
* | | FindOpenSSL: Add support for static MSVC runtimeThijs Wenker2015-10-051-5/+12
|/ / | | | | | | | | Add an OPENSSL_MSVC_STATIC_RT option to switch from the default search for `/MD` libraries to look for `/MT` libraries instead.
* | Merge topic 'vs-win10-store'Brad King2015-10-051-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2402bb8c Help: Document Windows 10 Universal Applications in cmake-toolchains(7) 1be2f12c VS: Add support for Windows 10 Universal (Store) Applications 2798dbda VS: Refactor indentation of LinkLibraryDependencies 8c426183 MSVC: Add system libs for WindowsStore on VS 2015 d1b87d72 VS: Select Windows 10 Store SDK and toolset for VS 2015
| * | MSVC: Add system libs for WindowsStore on VS 2015Gilles Khouzam2015-10-021-1/+3
| | | | | | | | | | | | Use WindowsApp.lib for a Universal Application Platform project.
* | | FindMatlab: Add support for Matlab R2015bFrancesco Romano2015-10-051-0/+1
| | |
* | | Merge topic 'compiler-features-solaris'Brad King2015-10-021-13/+19
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 5fdf7594 Tests: Suppress WriteCompilerDetectionHeader failure on SunPro c824b23d Features: Fix C++98 flags on Oracle SolarisStudio 12.4 on Linux 61bc0f73 Features: Disable support for Oracle SolarisStudio on non-Linux
| * | Features: Fix C++98 flags on Oracle SolarisStudio 12.4 on LinuxBrad King2015-09-301-0/+2
| | |
| * | Features: Disable support for Oracle SolarisStudio on non-LinuxBrad King2015-09-291-13/+17
| | | | | | | | | | | | | | | | | | On SunOS the -std=c++11 flag must be used for linking as well as compiling. Until we implement support for this we cannot support the CXX_STANDARD property except on Linux (where it was tested).
* | | Merge topic 'vs-win10-sdk'Brad King2015-10-022-0/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 3f077996 VS: Add support for selecting the Windows 10 SDK (#15670) 5dfc4c5f VS: Add hook to initialize Windows platform settings 61c472a2 cmSystemTools: Add VersionCompareGreater helper
| * | VS: Add support for selecting the Windows 10 SDK (#15670)Gilles Khouzam2015-10-022-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the VS 2015 generator to produce a WindowsTargetPlatformVersion value. Use the CMAKE_SYSTEM_VERSION to specify the version and if not set choose a default based on available SDKs. Activate this behavior when targeting Windows 10. Co-Author: Brad King <brad.king@kitware.com>
* | | Merge topic 'explicit-system-version'Brad King2015-10-021-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | b31ac171 Allow CMAKE_SYSTEM_VERSION to be set without CMAKE_SYSTEM_NAME 70688609 Help: Improve CMAKE_SYSTEM_{NAME,VERSION} variable documentation
| * | Allow CMAKE_SYSTEM_VERSION to be set without CMAKE_SYSTEM_NAMEGilles Khouzam2015-10-021-1/+3
| |/ | | | | | | | | | | Teach CMakeDetermineSystem to check for a CMAKE_SYSTEM_VERSION setting even when CMAKE_SYSTEM_NAME is not set. This will allow builds on the host OS to target other versions of the OS without full cross-compiling.
* | Disable shared library support when compiler links staticallyBrad King2015-09-307-0/+23
|/ | | | | | | | | When a user or a compiler wrapper adds '-static' to the compiler flags then it will always link static binaries. Detect this from the compiler id binary and disable TARGET_SUPPORTS_SHARED_LIBS. This will prevent projects from accidentally adding shared libraries when the toolchain does not support them. It also helps CMake avoid linking with flags that require shared libraries to be supported.
* Merge topic 'ProcessorCount-SunOS-psrinfo'Brad King2015-09-291-8/+21
|\ | | | | | | | | 1ff96bf6 ProcessorCount: Implement with psrinfo tool on recent SunOS versions
| * ProcessorCount: Implement with psrinfo tool on recent SunOS versionsMarc Chevrier2015-09-281-8/+21
| |