summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Progress functions use `std::string` paramVitaly Stakhovsky2019-02-1122-50/+58
|
* 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 topic 'ghs-updates'Brad King2019-02-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-081-1/+1
| | | | | | | | | | | | | | | | -- Also change variable name to CMAKE_GHS_NO_SOURCE_GROUP_FILE
| * | | Merge branch 'xcode-stdlib-flags' into release-3.14Brad King2019-02-071-0/+16
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2919
| * \ \ \ Merge branch 'vs-csharp-nowarn-numbers' into release-3.14Brad King2019-02-074-1/+18
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2923
* | \ \ \ \ Merge topic 'fix-exclude-dir-with-iface'Brad King2019-02-111-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 topic 'cmake_parse_arguments-keywords_missing_values'Kyle Edwards2019-02-081-41/+95
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 topic 'xcode-stdlib-flags'Brad King2019-02-071-0/+16
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8af334f5ba Xcode: Derive stdlib from CXX flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2919
| * | | | | Xcode: Derive stdlib from CXX flagsGregor Jasny2019-02-071-0/+16
| | |/ / / | |/| | | | | | | | | | | | | Closes: #18396
* | | | | Merge topic 'vs-csharp-nowarn-numbers'Brad King2019-02-074-1/+18
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 822697996e VS: Fix nowarn compiler option to accept warning numbers. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2923
| * | | | VS: Fix nowarn compiler option to accept warning numbers.Wil Stark2019-02-074-1/+18
| |/ / / | | | | | | | | | | | | | | | | | | | | Warning disables are transferred to the VS IDE `<NoWarn>` node. Fixes: #18878
* | | | CMake Nightly Date StampKitware Robot2019-02-071-1/+1
| |/ / |/| |
* | | Begin post-3.14 developmentBrad King2019-02-061-2/+2
| |/ |/|
* | CMake 3.14.0-rc1 version updateBrad King2019-02-061-3/+3
|/
* Merge topic 'relax_CUDA_RESOLVE_DEVICE_SYMBOLS_constraints'Brad King2019-02-064-32/+53
|\ | | | | | | | | | | | | | | 850ef90a66 CUDA: Honor CUDA_RESOLVE_DEVICE_SYMBOLS for more target types Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !2900
| * CUDA: Honor CUDA_RESOLVE_DEVICE_SYMBOLS for more target typesRobert Maynard2019-02-054-32/+53
| | | | | | | | | | | | | | `CUDA_RESOLVE_DEVICE_SYMBOLS` can be used with shared, module, and executable target types. This relaxation is to allow for better interoperability with linkers that automatically do CUDA device symbol resolution and have no way to disable it.
* | Merge topic 'autogen_same_name_different_extension'Brad King2019-02-062-13/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | a28caabf45 Autogen: AUTOMOC support for files with the same name but different extensions 1f802295f2 Autogen: Extend the SameName test with same name but different extension files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2920
| * | Autogen: AUTOMOC support for files with the same name but different extensionsSebastian Holtermann2019-02-052-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for AUTOMOC to moc header files with the same but different extensions (e.g `obj.h`, `obj.hpp`, `obj.hxx`). If a moc file would appear multiple times in `mocs_compilation.cpp`, a number suffix is appended to the name to make it unique. Closes #14489
* | | CMake Nightly Date StampKitware Robot2019-02-061-1/+1
|/ /
* | Merge topic 'update-kwsys'Brad King2019-02-051-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 9ddbf4c6e6 Merge branch 'upstream-KWSys' into update-kwsys 8372c05472 KWSys 2019-02-05 (65802a20) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2918
| * | Merge branch 'upstream-KWSys' into update-kwsysBrad King2019-02-051-1/+2
| | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2019-02-05 (65802a20)
* | | Merge topic 'autogen_single_all_sources_iteration'Brad King2019-02-054-85/+85
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6cf086267 Autogen: Iterate over makefile sources only once ed0fa784eb cmSystemTools: Let `GetFileFormat` accept a `std::stding const&` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2909
| * | | Autogen: Iterate over makefile sources only onceSebastian Holtermann2019-02-021-78/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In QtAutoGen we used to iterate over all makefile source two times to extract file parameters for moc and uic respectively. This patch merges both iterations into one loop. This makes the code easier to understand and likely faster to execute as well.
| * | | cmSystemTools: Let `GetFileFormat` accept a `std::stding const&`Sebastian Holtermann2019-02-024-8/+6
| | | | | | | | | | | | | | | | | | | | The `const char*` used formerly was converted to a `std::string` internally anyway.
* | | | Merge topic 'vs-fortran-target-check'Brad King2019-02-051-19/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3d2c3cd49 VS: Fix Fortran target type selection when linking C++ targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2913
| * | | | VS: Fix Fortran target type selection when linking C++ targetsBrad King2019-02-041-19/+12
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 2c9f35789d (VS: Decide project type by linker lang as fallback, 2017-03-30, v3.9.0-rc1~340^2) we consider the linker language when detecting whether to generate a `.vfproj` or `.vcxproj` file. However, this could cause C-only projects to become `.vfproj` files if they link to Fortran projects. Instead we should consider only the `LINKER_LANGUAGE` property on the target itself. This approach is already used for CSharp. It allows project code to specify the project file type for a target with no sources but does not allow linked targets to affect it. Fixes: #18687
* | | | Merge topic 'swift-xcode-10.2'Brad King2019-02-051-0/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 96dece6dc1 Xcode: Update default Swift language version for Xcode 10.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2912
| * | | Xcode: Update default Swift language version for Xcode 10.2Brad King2019-02-041-0/+2
| |/ / | | | | | | | | | | | | | | | Xcode 10.2 no longer supports Swift language versions before 4.0. Fixes: #18871
* | | CMake Nightly Date StampKitware Robot2019-02-051-1/+1
|/ /
* | Merge topic 'cmSourceFile_refactor'Brad King2019-02-0413-84/+112
|\ \ | |/ | | | | | | | | | | | | | | | | | | 254b7260f4 cmSourceFile: Check if a file is GENERATED first in the full path computation cd8a930d61 cmSourceFile: Refactor FindFullPath method 6d407ae439 Use cmSourceFile::GetIsGenerated 2ddf3f4467 cmSourceFile: Add IsGenerated method b9d44fc350 cmSourceFile: Additional static property strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2908