summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'use-algorithms'Brad King2015-02-2318-213/+127
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb9d71b4 Replace loops with algorithms. 4afe6c26 cmAlgorithms: Add cmReverseRange adaptor. a3a0a8c2 cmAlgorithms: Add cmFindNot algorithm. 8c74a41f cmRST: Replace two erase with a rotate and larger erase. 61fe1919 cmAlgorithms: Update concept requirement to FowardIterator 09d6125b cmAlgorithms: Move cmRotate out of 'implementation detail' namespace. 8ed6ecac cmRST: Move two algorithms beside each other. dfe49c20 cmRST: Use std::min where appropriate. 21b0654a cmGlobalGenerator: Convert set insert algorithm to vector algorithms. 416df93a Convert some raw loops to cmWrap. 37b88d34 cmAlgorithms: Add cmWrap. a2818093 Use cmJoin where possible. 76207b08 cmCacheManager: Replace loop with algorithm. 60c3bb73 cmGlobalGenerator: Replace loop with algorithm. 05fec779 cmTarget: Port loop to algorithm. 9c225767 cmGlobalGenerator: Replace set::insert algorithm with cmRemoveDuplicates. ...
| * Replace loops with algorithms.Stephen Kelly2015-02-201-12/+5
| |
| * cmAlgorithms: Add cmReverseRange adaptor.Stephen Kelly2015-02-202-2/+9
| | | | | | | | Use it to implement list(REVERSE).
| * cmAlgorithms: Add cmFindNot algorithm.Stephen Kelly2015-02-201-0/+7
| |
| * cmRST: Replace two erase with a rotate and larger erase.Stephen Kelly2015-02-201-2/+6
| |
| * cmAlgorithms: Update concept requirement to FowardIteratorStephen Kelly2015-02-201-6/+6
| |
| * cmAlgorithms: Move cmRotate out of 'implementation detail' namespace.Stephen Kelly2015-02-201-11/+11
| | | | | | | | This should be generally usable in cmake.
| * cmRST: Move two algorithms beside each other.Stephen Kelly2015-02-201-1/+1
| |
| * cmRST: Use std::min where appropriate.Stephen Kelly2015-02-201-4/+1
| |
| * cmGlobalGenerator: Convert set insert algorithm to vector algorithms.Stephen Kelly2015-02-202-10/+18
| | | | | | | | Adjust test for new error output.
| * Convert some raw loops to cmWrap.Stephen Kelly2015-02-205-32/+9
| |
| * cmAlgorithms: Add cmWrap.Stephen Kelly2015-02-205-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | Port some existing cmJoin to use it. cmJoin is cumbersome to use in cases where the objective is to somehow 'quote' each item and then join it with a separator. In that case, the joiner string is harder to read and reason about. cmWrap aims to solve that. Provide an overload taking char wrappers to simplify the case of surrounding every element in quotes without needing to escape the quote character.
| * Use cmJoin where possible.Stephen Kelly2015-02-204-51/+9
| |
| * cmCacheManager: Replace loop with algorithm.Stephen Kelly2015-02-201-5/+1
| |
| * cmGlobalGenerator: Replace loop with algorithm.Stephen Kelly2015-02-201-9/+4
| |
| * cmTarget: Port loop to algorithm.Stephen Kelly2015-02-201-6/+3
| |
| * cmGlobalGenerator: Replace set::insert algorithm with cmRemoveDuplicates.Stephen Kelly2015-02-181-6/+3
| |
| * cmGeneratorTarget: Replace set insert algorithm with cmRemoveDuplicates.Stephen Kelly2015-02-181-6/+5
| |
| * cmLocalGenerator: Convert loop to algorithm.Stephen Kelly2015-02-181-6/+1
| |
| * cmMakefile: Add flag to result and manipulate in place.Stephen Kelly2015-02-181-5/+5
| | | | | | | | | | Rather than creating a string, manipulating it, and then copying it to the result.
| * cmMakefile: Replace two loops with std::replace.Stephen Kelly2015-02-181-13/+2
| |
| * cmMakefile: Replace loop with composed algorithm.Stephen Kelly2015-02-181-12/+5
| |
| * cmCTest: Convert loop to member insert.Stephen Kelly2015-02-181-4/+3
| |
* | Merge topic 'CheckStructHasMember-fix-null-deref-warning'Brad King2015-02-231-1/+1
|\ \ | | | | | | | | | | | | e1da4dc2 CheckStructHasMember: fix null deref warning (#15413)
| * | CheckStructHasMember: fix null deref warning (#15413)Peter Wu2015-02-201-1/+1
| | | | | | | | | | | | | | | | | | Clang Static Analyzer is so smart that it reports a defect when this intended null-deref is encountered. Use sizeof instead which has no runtime effects.
* | | Merge topic 'cpack-bundle-codesign-output'Brad King2015-02-231-6/+7
|\ \ \ | | | | | | | | | | | | | | | | 7b582d15 CPack: Print output from codesign if signing fails
| * | | CPack: Print output from codesign if signing failsAndré Klitzing2015-02-201-6/+7
| | | |
* | | | Merge topic 'FindCurses-remove-unused-check'Brad King2015-02-231-2/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | b4005a3a FindCurses: Drop unused check for cbreak in tinfo library
| * | | | FindCurses: Drop unused check for cbreak in tinfo libraryBrad King2015-02-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This check was first added by commit v3.0.0-rc5~6^2 (FindCurses: Detect and satisfy ncurses dependency on tinfo, 2014-01-17), but it is not correctly conditioned on existence of the tinfo library and fails if the code path is taken but tinfo is not found. However, since commit v3.2.0-rc1~369^2 (FindCurses: Drop search for deprecated HP-UX cur_colr library, 2014-11-17) the result of the check is not used, so simply drop it.
* | | | | Merge topic 'private-FindJsonCpp'Brad King2015-02-237-12/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a41d621d bootstrap: Add --(no-)system-jsoncpp options a5768442 FindJsonCpp: Drop new module due to upstream jsoncpp providing package
| * | | | | bootstrap: Add --(no-)system-jsoncpp optionsBrad King2015-02-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Provide bootstrap-time control for using a system JsonCpp library.
| * | | | | FindJsonCpp: Drop new module due to upstream jsoncpp providing packageBrad King2015-02-206-10/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | CMake Nightly Date StampKitware Robot2015-02-231-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2015-02-221-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2015-02-211-1/+1
| |_|/ / |/| | |
* | | | Merge branch 'release'Brad King2015-02-200-0/+0
|\ \ \ \ | |_|/ / |/| | |
| * | | Merge branch 'cmake-gui-reset-generator-toolset-and-platform' into releaseBrad King2015-02-191-0/+2
| |\ \ \
* | \ \ \ Merge topic 'find-command-prefix-from-PATH'Brad King2015-02-2023-5/+99
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ffc06c12 Teach find_(library|file|path) to get prefixes from PATH (#15370)
| * | | | | Teach find_(library|file|path) to get prefixes from PATH (#15370)Brad King2015-02-1923-5/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The find_package command already knows how to compute installation prefixes from PATH. Use the same approach to establish prefixes for find_library, find_file, and find_path to use to look in directories like "<prefix>/lib[/<arch>]" and "<prefix>/include" for libraries and headers. This will reduce the amount of configuration end users need to do to establish a work environment rooted under a specific prefix.
* | | | | | Merge topic 'cmake-gui-reset-generator-toolset-and-platform'Brad King2015-02-201-0/+2
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | 1ade687d cmake-gui: Reset generator platform and toolset on configure (#15411)
| * | | | | cmake-gui: Reset generator platform and toolset on configure (#15411)Brad King2015-02-191-0/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the start of each configure step we already reset the generator selection (CMAKE_GENERATOR) to match that loaded for the current project. Add missing code to reset the generator platform and toolset (CMAKE_GENERATOR_PLATFORM and CMAKE_GENERATOR_TOOLSET) also so that they do not leak across projects.
* | | | | CMake Nightly Date StampKitware Robot2015-02-201-1/+1
| | | | |
* | | | | Merge branch 'release'Brad King2015-02-190-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'binary-release-no-OpenSSL-on-Win-or-OSX' into releaseBrad King2015-02-182-12/+2
| |\ \ \ \
| * \ \ \ \ Merge branch 'FindJNI-awt-arch' into releaseBrad King2015-02-181-0/+1
| |\ \ \ \ \
* | \ \ \ \ \ 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-192-1/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-182-1/+9
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modern software distributions always use a separate ".dll.a" or ".lib" import library for linking.
* | | | | | | | Merge topic 'compiler-version-Fortran'Brad King2015-02-195-11/+153
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)