summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Work around clang-cl breakage on make_unique/std::forwardZsolt Parragi2019-02-112-2/+4
| | | | | | | Clang on Windows with the MSVC ABI produces link errors of the form `unresolved std::_Iosb<int>::{app,_Openmode} in ...`. Use a temporary variable to forward as lvalue rather than rvalue to work around the problem.
* Avoid compiling CMake itself as C++17 with Clang's MSVC ABIZsolt Parragi2019-02-111-0/+13
| | | | | | GUID functions in ATL cause compilation errors with this compiler. Add the offending case to our check for C++17 support so that it is not used by default when it does not work.
* Merge topic 'ctest-exit-code-int64'Brad King2019-02-114-7/+12
|\ | | | | | | | | | | | | 440b08e4f0 CTest: Represent process exit codes as 64-bit signed integer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2944
| * CTest: Represent process exit codes as 64-bit signed integerZsolt Parragi2019-02-084-7/+12
| | | | | | | | | | | | | | Exit code constants on Windows, such as `STATUS_NO_MEMORY` do not fit in a 32-bit signed integer type. They do fit in an unsigned 32-bit type, but for compatibility with UNIX semantics we treat exit codes as signed. Use a 64-bit signed integer to handle both.
* | Merge topic 'modernize-for-loops'Brad King2019-02-1147-419/+332
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 01b2d6ab74 Modernize: Use ranged for-loops when possible 15bdbec017 cmAlgorithms: Make cmRange advance/retreat safe for rvalues Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !2901
| * | Modernize: Use ranged for-loops when possibleArtur Ryt2019-02-0746-416/+317
| | | | | | | | | | | | | | | | | | | | | Replaced most manual `const_iterator`-based loops and some reverse-iterator loops with range loops. Fixes: #18858
| * | cmAlgorithms: Make cmRange advance/retreat safe for rvaluesArtur Ryt2019-02-071-3/+15
| | | | | | | | | | | | | | | | | | | | | In rvalue context these functions have to return cmRange by copy instead of reference to temporary object It allows to use ranged-for over cmMakeRange(xxx).advance(yyy)
* | | Merge branch 'release-3.14'Brad King2019-02-110-0/+0
|\ \ \
| * \ \ Merge branch 'ghs-relnotes' into release-3.14Brad King2019-02-111-0/+28
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2934
| * \ \ \ Merge branch 'ghs-updates' into release-3.14Brad King2019-02-087-2/+24
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2943
| * \ \ \ \ Merge branch 'fix-exclude-dir-with-iface' into release-3.14Brad King2019-02-083-1/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2937
* | \ \ \ \ \ Merge topic 'ghs-relnotes'Brad King2019-02-111-0/+28
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d701b78de Help: Update 3.14 release notes for GHS changes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2934
| * | | | | | Help: Update 3.14 release notes for GHS changesFred Baksik2019-02-111-0/+28
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'ghs-updates'Brad King2019-02-117-2/+24
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcd99fac60 GHS: Document usage of GHS_NO_SOURCE_GROUP_FILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2943
| * | | | | GHS: Document usage of GHS_NO_SOURCE_GROUP_FILEFred Baksik2019-02-087-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | -- Also change variable name to CMAKE_GHS_NO_SOURCE_GROUP_FILE
* | | | | | Merge topic 'fix-exclude-dir-with-iface'Brad King2019-02-113-1/+5
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | f87e724e8c Fix EXCLUDE_FROM_ALL on directory with an interface library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2937
| * | | | | Fix EXCLUDE_FROM_ALL on directory with an interface libraryBrad King2019-02-083-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit dc6888573d (Pass EXCLUDE_FROM_ALL from directory to targets, 2019-01-15, v3.14.0-rc1~83^2) we automatically forward the `EXCLUDE_FROM_ALL` to targets as they are created. This regressed support for interface libraries on which the property is not allowed. Skip forwarding the `EXCLUDE_FROM_ALL` property for interface libraries. It is not needed on them because they do not participate in the generated build system anyway. Fixes: #18896
* | | | | | CMake Nightly Date StampKitware Robot2019-02-111-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-02-101-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-02-091-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge branch 'release-3.14'Kyle Edwards2019-02-080-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'file_create_link_release_note' into release-3.14Kyle Edwards2019-02-081-0/+3
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | Merge-request: !2942
* | | | | Merge topic 'file_create_link_release_note'Kyle Edwards2019-02-081-0/+3
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | e729f2b3fd Help: Add notes for `file(CREATE_LINK)` subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2942
| * | | | Help: Add notes for `file(CREATE_LINK)` subcommandTushar Maheshwari2019-02-081-0/+3
| |/ / /
* | | | Merge topic 'cmake_parse_arguments-keywords_missing_values'Kyle Edwards2019-02-085-44/+246
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5228432b45 cmake_parse_arguments: add KEYWORDS_MISSING_VALUES 8e746db6e1 cmake_parse_arguments: Factor out part of implementation for re-use Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2910
| * | | | cmake_parse_arguments: add KEYWORDS_MISSING_VALUESTorsten Robitzki2019-02-075-10/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add KEYWORDS_MISSING_VALUES output variable to cmake_parse_arguments() to allow to detect keywords that received no values. Fixes: #18706
| * | | | cmake_parse_arguments: Factor out part of implementation for re-useTorsten Robitzki2019-02-061-39/+53
| | | | |
* | | | | Merge topic 'message-stdstring'Brad King2019-02-0812-34/+35
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82edd98300 cmSystemTools: MessageCallback and Message() accept std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2929
| * | | | | cmSystemTools: MessageCallback and Message() accept std::string argumentVitaly Stakhovsky2019-02-0712-34/+35
| |/ / / /
* | | | | Merge topic 'getreqdef'Brad King2019-02-0816-55/+57
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00ba28ffd0 cmMakefile::GetRequiredDefinition: return const std::string& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2930
| * | | | | cmMakefile::GetRequiredDefinition: return const std::string&Vitaly Stakhovsky2019-02-0716-55/+57
| | | | | |
* | | | | | Merge topic 'runsinglecommand'Brad King2019-02-0815-39/+37
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65baaa0e37 cmSystemTools::RunSingleCommand: Accept std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2927
| * | | | | | cmSystemTools::RunSingleCommand: Accept std::string argumentVitaly Stakhovsky2019-02-0615-39/+37
| | |/ / / / | |/| | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-02-081-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge topic 'prefer-front-back-over-begin-rbegin'Brad King2019-02-0722-65/+64
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f3534386b5 Prefer front/back/data over dereferencing begin/rbegin iter Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !2914
| * | | | | Prefer front/back/data over dereferencing begin/rbegin iterArtur Ryt2019-02-0622-65/+64
| |/ / / / | | | | | | | | | | | | | | | Changed for sequenced containers: vector, list, string and array
* | | | | Merge branch 'release-3.14'Brad King2019-02-070-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'doc-object-library-link' into release-3.14Brad King2019-02-071-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2933
* | \ \ \ \ Merge topic 'doc-object-library-link'Brad King2019-02-071-2/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | / / | |_|_|/ / |/| | | | | | | | | | | | | | 0f87bd1bd8 Help: Clarify 3.14 release note about object library dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2933
| * | | | Help: Clarify 3.14 release note about object library dependenciesBrad King2019-02-071-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | Revise the note from commit bab24e782c (target_link_libraries: Propagate dependencies of object libraries, 2018-12-10, v3.14.0-rc1~260^2).
* | | | Merge topic 'mingw-ar-suffix'Brad King2019-02-073-4/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42825fc220 MinGW: Fix locating BinUtils when compiler has a suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2924
| * | | | MinGW: Fix locating BinUtils when compiler has a suffixRegina Pfeifer2019-02-063-4/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | While all executables from a mingw toolchain share a common prefix, only the ones provided with the compiler have a suffix, the binutils do not. Fixes: #18879
* | | | Merge topic 'findcups'Brad King2019-02-076-9/+85
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd45f23b01 FindCups: add imported target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2917
| * | | | FindCups: add imported targetPatrick Gansterer2019-02-066-9/+85
| |/ / /
* | | | Merge topic 'test-FortranModules-tweak'Brad King2019-02-071-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 562ea5d0e2 Tests: Add a way to configure custom options for FortranModules test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2926
| * | | | Tests: Add a way to configure custom options for FortranModules testBrad King2019-02-061-0/+1
| |/ / / | | | | | | | | | | | | | | | | Read an undocumented cache entry to allow some CI builds to configure this test in a special way.
* | | | Merge branch 'release-3.14'Brad King2019-02-070-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'cpack-ifw-error-wording' into release-3.14v3.14.0-rc1Brad King2019-02-071-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2928
| * \ \ \ Merge branch 'FindHDF5-cleanup' into release-3.14Brad King2019-02-071-59/+81
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2916
| * \ \ \ \ Merge branch 'xcode-stdlib-flags' into release-3.14Brad King2019-02-073-0/+26
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2919