summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | FindJsonCpp: Drop new module due to upstream jsoncpp providing packageBrad King2015-02-201-117/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since jsoncpp 0.7.0 (2014-11-20) the upstream may provide a CMake package configuration file such that find_package(jsoncpp) will find a jsoncppConfig.cmake file. In order to avoid conflicting with this (especially on case-insensitive filesystems), and since we always prefer projects to provide package config files (that they maintain), it is better to not provide FindJsonCpp publicly. Move FindJsonCpp into a private source directory that is not installed so that we can still use it for building CMake itself. Reported-by: Ryan Pavlik <ryan.pavlik@gmail.com>
* | | | | | Merge topic 'CMakeParseImplicitLinkInfo-CMP0054'Brad King2015-02-191-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1cf09e3 CMakeParseImplicitLinkInfo: Avoid if() auto-deref in quoted arg
| * | | | | | CMakeParseImplicitLinkInfo: Avoid if() auto-deref in quoted argBrad King2015-02-181-1/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | When matching implicit library names, use a sentinel "x" to avoid ever expanding the library name as a variable. This was detected by a CMP0054 warning.
* | | | | | Merge topic 'mingw-no-find_library-dll'Brad King2015-02-191-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a0f17fbe Windows-GNU: Do not tell find_library to treat '.dll' as linkable
| * | | | | | Windows-GNU: Do not tell find_library to treat '.dll' as linkableBrad King2015-02-181-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Modern software distributions always use a separate ".dll.a" or ".lib" import library for linking.
* | | | | | Merge topic 'compiler-version-Fortran'Brad King2015-02-193-2/+146
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cf3589e Help: Add notes for topic 'compiler-version-Fortran' f611406f Fortran: Test that CMAKE_Fortran_COMPILER_VERSION is set (#15372) c6e1f464 Fortran: Detect G95 compiler version 0033faac Fortran: Detect PGI compiler version 302d47b1 Fortran: Detect XL and VisualAge compiler versions 8c8b77a5 Fortran: Detect GNU compiler version 49562a77 Fortran: Detect PathScale compiler version aa77b631 Fortran: Detect SunPro compiler version 2e09c423 Fortran: Detect Intel compiler version e6ebc814 Fortran: Add infrastructure to detect compiler version (#15372)
| * | | | | | Fortran: Detect G95 compiler versionBrad King2015-02-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __G95__ and __G95_MINOR__ preprocessor symbols encode the compiler version as decimal digits.
| * | | | | | Fortran: Detect PGI compiler versionBrad King2015-02-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port logic from the "Compiler/PGI-DetermineCompiler" module into "CMakeFortranCompilerId.F.in".
| * | | | | | Fortran: Detect XL and VisualAge compiler versionsBrad King2015-02-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port logic from the "Compiler/XL-*-DetermineCompiler" and "Compiler/VisualAge-*-DetermineCompiler" modules into "CMakeFortranCompilerId.F.in".
| * | | | | | Fortran: Detect GNU compiler versionBrad King2015-02-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port logic from the "Compiler/GNU-DetermineCompiler" module into "CMakeFortranCompilerId.F.in".
| * | | | | | Fortran: Detect PathScale compiler versionBrad King2015-02-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port logic from the "Compiler/PathScale-DetermineCompiler" module into "CMakeFortranCompilerId.F.in".
| * | | | | | Fortran: Detect SunPro compiler versionBrad King2015-02-191-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port logic from "Compiler/SunPro-*DetermineCompiler" modules into "CMakeFortranCompilerId.F.in".
| * | | | | | Fortran: Detect Intel compiler versionBrad King2015-02-191-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port logic from the "Compiler/Intel-DetermineCompiler" module into "CMakeFortranCompilerId.F.in".
| * | | | | | Fortran: Add infrastructure to detect compiler version (#15372)Brad King2015-02-193-1/+103
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fortran does not offer syntax to compose a string literal at preprocessing time from numeric compuations. Instead encode each digit of each component as a separate INFO string and compose them in CMake code after extraction. Support MAJOR, MINOR, PATCH, and TWEAK components with up to 8 digits each.
* | | | | | Merge topic 'FindJNI-awt-arch'Brad King2015-02-191-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | / / | | |_|/ / | |/| | | bce4e20f FindJNI: Add arch-specific library dir for JDK 9 layout (#15408)
| * | | | FindJNI: Add arch-specific library dir for JDK 9 layout (#15408)Tiago Stürmer Daitx2015-02-181-0/+1
| |/ / / | | | | | | | | | | | | | | | | JDK9's directory structure changes and no jdk/jre exists. The arch lib path is now jdk/lib/<arch> (instead of jdk/jre/lib/<arch>).
| * | | Merge branch 'cpack_rpm_mulit_prefix_fixup' into releasev3.2.0-rc1Brad King2015-02-111-1/+6
| |\ \ \ | | | |/ | | |/|
| * | | Merge branch 'FindCoin3D-drop-link' into releaseBrad King2015-02-111-2/+1
| |\ \ \
* | | | | CPackWIX: Extend the patching mechanism to allow adding content to <Product>.Nils Gladitz2015-02-132-1/+5
| | | | |
* | | | | Merge topic 'FindCoin3D-drop-link'Brad King2015-02-121-2/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | e2a8984c FindCoin3D: Drop link to project homepage
| * | | | FindCoin3D: Drop link to project homepageBrad King2015-02-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The project has moved from <http://www.coin3d.org/> to <https://bitbucket.org/Coin3D/coin/wiki/Home>. Simply drop the out-dated link. Few find modules have links to the project sites. Anyone looking to use a given find module likely already knows about the project it finds and can use a search engine to find its homepage.
* | | | | Merge topic 'cpack_rpm_mulit_prefix_fixup'Brad King2015-02-121-1/+6
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | | be36bfd6 CPackRPM: Do not run file(GLOB_RECURSE) without CMP0009 set to NEW
| * | | CPackRPM: Do not run file(GLOB_RECURSE) without CMP0009 set to NEWDomen Vrankar2015-02-111-1/+6
| | |/ | |/| | | | | | | | | | | | | The file(GLOB_RECURSE) call added by commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21) should not follow directory symlinks, so make sure CMP0009 is set to NEW.
* | | Merge topic 'BundleUtilities-install_name_tool-exit'Brad King2015-02-111-1/+6
|\ \ \ | | | | | | | | | | | | | | | | a27c13f4 BundleUtilities: Teach fixup_bundle to check install_name_tool result
| * | | BundleUtilities: Teach fixup_bundle to check install_name_tool resultRuslan Baratov2015-02-101-1/+6
| | | | | | | | | | | | | | | | Fail explicitly if install_name_tool fails to make an update we need.
* | | | FindRuby: Fix finding 64-bit Ruby on WindowsMichael Smith2015-02-101-4/+9
|/ / / | | | | | | | | | | | | Ruby 2.0.0 and 2.1.5 have 64-bit binaries for Windows, with "x64-" prefix.
* | | Merge topic 'cpack_rpm_mulit_prefix_fixup'Brad King2015-02-101-1/+1
|\ \ \ | |/ / | | | | | | | | | 3d99355b CPackRPM: Fix recognition of absolute relocation paths
| * | CPackRPM: Fix recognition of absolute relocation pathsDomen Vrankar2015-02-101-1/+1
| |/ | | | | | | | | Fix typo in logic added by commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21).
* | Merge topic 'add-CheckFortranCompilerFlag'Brad King2015-02-102-2/+69
|\ \ | | | | | | | | | | | | | | | | | | 1814cf74 Help: Add notes for topic 'add-CheckFortranCompilerFlag' 54e900ab CheckFortranCompilerFlag: Add test case 393a45e2 CheckFortranCompilerFlag: Add module to check Fortran flag existence
| * | CheckFortranCompilerFlag: Add module to check Fortran flag existenceNicolas Bock2015-02-052-2/+69
| |/ | | | | | | | | | | Copy the CheckCCompilerFlag module and replace 'C' with 'Fortran'. Also update the common patterns module to match some Fortran compiler messages.
* | FindBoost: Search for debug and release libraries separately (#15364)Gunther Laure2015-02-051-49/+107
|/ | | | | Split Boost_LIBRARY_DIR into Boost_LIBRARY_DIR_[RELEASE,DEBUG] to allow libraries to be grouped into per-config directories.
* Merge topic 'fix-C-standard-features'Brad King2015-02-0510-13/+26
|\ | | | | | | | | | | | | | | | | fb3487a9 Features: Fix C90 feature detection. 6027798a Features: Allow setting standard dialect below the default. 9d767810 Features: Populate CMAKE_<LANG>_STANDARD_DEFAULT only for supported compilers. 72537e44 Features: Add dialect compile flags only if default is known. 82c9d686 AppleClang: Remove redundant UNIX condition.
| * Features: Fix C90 feature detection.Stephen Kelly2015-02-043-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug caused c_function_prototypes to not be recorded at configure time when compiling with -std=gnu99 or similar. In the case of feature recording, that was not a problem, because the logic in CMakeDetermineCompileFeatures.cmake currently assumes that a feature present for an earlier standard is present for a later standard. However, the detection strings are also used in WriteCompilerDetectionHeader, so the feature macro has been defined to '0' when using a later language dialect. Fix that by not checking the existence of the __STDC_VERSION__ macro at all when detecting C90 features.
| * Features: Populate CMAKE_<LANG>_STANDARD_DEFAULT only for supported compilers.Stephen Kelly2015-02-047-8/+21
| | | | | | | | | | | | If no compiler feature information is known for a given compiler version, do not set a language standard default either. The two settings must be recorded consistently.
| * AppleClang: Remove redundant UNIX condition.Stephen Kelly2015-02-042-2/+2
| |
* | CPack: Fix NSIS default 64-bit Windows install directory (#14211)Brad King2015-02-041-3/+8
| | | | | | | | | | | | | | | | | | | | When targeting Windows with a 64-bit architecture, use "$PROGRAMFILES64" to get the Program Files folder. Use CMAKE_SIZEOF_VOID_P to check for the architecture size instead of CMAKE_CL_64 because the latter is not defined for all compilers. Inspired-by: Hugh Sorby <h.sorby@auckland.ac.nz> Inspired-by: İsmail Dönmez <ismail@donmez.ws>
* | Merge topic 'fix-msvc-linker-flags-typo'Brad King2015-02-042-2/+2
|\ \ | | | | | | | | | | | | 467f5bcc MSVC: Fix initialization of RelWithDebInfo shared library link flags (#15385)
| * | MSVC: Fix initialization of RelWithDebInfo shared library link flags (#15385)Brad King2015-02-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT from the value of CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT rather than the one for the DEBUG configuration. This typo has been present since the logic was first added in commit 36db45082e (ENH: fix up several problems with new stuff, 2002-11-11). Reported-by: Gunnar Roth <gunnar.roth@gmx.de>
* | | Merge topic 'CTestCoverageCollectGCOV-refinements'Brad King2015-02-041-5/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 809a5a5e Help: Add notes for topic 'CTestCoverageCollectGCOV-refinements' 03c0812c CTestCoverageCollectGCOV: Fix handling of international characters 8caa4e72 CTestCoverageCollectGCOV: Add test case 5c828cc8 CTestCoverageCollectGCOV: Allow custom flags to gcov 30cb628e CTestCoverageCollectGCOV: Fix handling of large file counts
| * | | CTestCoverageCollectGCOV: Fix handling of international charactersBrad King2015-02-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When loading the list of target support directories, read the file with UTF-8 encoding since that is what CMake writes into the file. This allows us to support international characters in the path to the build tree containing the target support directories.
| * | | CTestCoverageCollectGCOV: Allow custom flags to gcovBill Hoffman2015-02-031-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a GCOV_OPTIONS option to allow specification of custom flags. In ctest_coverage gcov support, if you set CTEST_COVERAGE_EXTRA_FLAGS, they get put on the command line before the -o. In this case we remove the -b and replace it with GCOV_OPTIONS. All other arguments remain the same.
| * | | CTestCoverageCollectGCOV: Fix handling of large file countsBill Hoffman2015-02-031-2/+9
| | | | | | | | | | | | | | | | Use the --files-from option to tar to handle lots of files.
* | | | Merge topic 'rpm_multi_prefix'Brad King2015-02-031-11/+104
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 3ec02547 CPackRPM: Allow multiple path relocation prefixes for one package
| * | | | CPackRPM: Allow multiple path relocation prefixes for one packageDomen Vrankar2015-01-291-11/+104
| | | | |
* | | | | Features: Update GNU 5.0 C++14 features.Stephen Kelly2015-01-311-0/+2
| |_|_|/ |/| | | | | | | | | | | | | | | Trunk already has these features and they are listed in the status page. Also confirmed manually by running trunk.
* | | | Features: Record for MSVC 2010-2015Robert Maynard2015-01-303-2/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, in WCDH add MSVC Compatibility for cxx_align{of,as}. Co-Author: Stephen Kelly <steveire@gmail.com> Co-Author: Brad King <brad.king@kitware.com>
* | | | Xcode: Switch to internal CMAKE_MAKE_PROGRAM lookup by generator (#15324)Brad King2015-01-291-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "cmakexbuild" wrapper is not needed for Xcode 4 and above, and the path to it may change when CMake moves. Avoid storing a specific path to a build program in CMakeCache.txt and instead compute the value for CMAKE_MAKE_PROGRAM on demand. However, if a user does set the value explicitly then honor it. This does for Xcode what commit v3.0.0-rc1~260^2~4 (VS: Switch to internal CMAKE_MAKE_PROGRAM lookup by generators, 2013-11-15) did for Visual Studio generators.
* | | | Merge topic 'OpenSSL_102'Brad King2015-01-281-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | c5d9a828 FindOpenSSL: fix detection of OpenSSL 1.0.2
| * | | FindOpenSSL: fix detection of OpenSSL 1.0.2Guillaume Belz2015-01-271-1/+1
| | |/ | |/|
* | | Configure some CMake-provided targets with USES_TERMINAL (#14915)Sylvain Joubert2015-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make them use the 'console' pool with the Ninja generator. Impacted targets are: - Built-in targets: install, install/local, install/strip, tests, package, package_source, rebuild_cache - Targets provided by the CTestTargets module: Nightly, Continuous, Experimental, and all their variants (*Start, *Configure, ...)