summaryrefslogtreecommitdiff
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: Use default member initializationRegina Pfeifer2018-12-1561-346/+149
|
* clang-tidy: Remove redundant member initializationsRegina Pfeifer2018-12-1525-85/+29
|
* cmUVHandlePtr: Use inherited constructorsRegina Pfeifer2018-12-151-15/+24
|
* CMake Nightly Date StampKitware Robot2018-12-151-1/+1
|
* CMake Nightly Date StampKitware Robot2018-12-141-1/+1
|
* Merge topic 'vs_deploy_content_fix'Brad King2018-12-131-0/+1
|\ | | | | | | | | | | | | b5b63da088 VS: Fix Deploy content in .csproj files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2713
| * VS: Fix Deploy content in .csproj filesWil Stark2018-12-071-0/+1
| |
* | Merge topic 'vs-csharp-ref-dot'Brad King2018-12-131-1/+2
|\ \ | | | | | | | | | | | | | | | | | | ea3d60cffa VisualStudio10TargetGenerator: support C# refs with '.' in file name. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2729
| * | VisualStudio10TargetGenerator: support C# refs with '.' in file name.Wil Stark2018-12-111-1/+2
| | | | | | | | | | | | Fixes: #18696
* | | Merge topic 'server-mode-install-fix'Brad King2018-12-131-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c150bf087c Server mode: Fix regression of hasInstallRule Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2735
| * | | Server mode: Fix regression of hasInstallRuleKyle Edwards2018-12-121-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The introduction of policy CMP0082, to run subdirectory install rules in the correct order, caused a regression in server mode where any directory with a subdirectory is marked as having an install rule even if no "real" install rules are present. This change fixes this regression for server mode.
* | | | Merge topic 'update-kwsys'Brad King2018-12-131-57/+122
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b29d96701b Merge branch 'upstream-KWSys' into update-kwsys 8ca8daeb47 KWSys 2018-12-12 (abb8c680) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2733
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-12-121-57/+122
| | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2018-12-12 (abb8c680)
* | | | | Merge topic 'custom-string'Brad King2018-12-136-0/+1531
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d68b2c593 String: Add str_if_stable() as a const alternative to str() a0841b59bd String: Add support for a ""_s string literal syntax 9d5fe8e96a String: Add 'borrow' member to construct borrowing instances 80802a002c String: Add support for concatenation by operator+ ff69763ca0 String: Add a custom string type 410a3e4b22 Add support for using C++17 string_view or a fallback Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !2578
| * | | | | String: Add str_if_stable() as a const alternative to str()Brad King2018-12-122-3/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `str()` method must be non-const because it may need to internally mutate the representation of the string in order to have an owned `std::string` instance holding the exact string (not a superstring). This is inconvenient in contexts where we can ensure that no mutation is needed to get a `std::string const&`. Add a `str_if_stable() const` method that returns `std::string const*` so we can return `nullptr` if if mutation would be necessary to get a `std::string const&`. Add supporting `is_stable() const` and `stabilize()` methods to check and enforce stable availability of `std::string const&`. These can be used to create `String const` instances from which we can still get a `std::string const&` via `*str_if_stable()` by maintaining the stability invariant at runtime.
| * | | | | String: Add support for a ""_s string literal syntaxBrad King2018-12-123-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a `static_string_view` type that binds only to the static storage of string literals. Teach `cm::String` to borrow from these implicitly.
| * | | | | String: Add 'borrow' member to construct borrowing instancesBrad King2018-12-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow creation of `cm::String` instances that borrow from non-owned storage. It is the caller's responsibility to ensure that no copy of the instance outlives the borrowed buffer.
| * | | | | String: Add support for concatenation by operator+Brad King2018-12-121-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use expression templates to collect the entire expression and pre-allocate a string with the final length before concatenating the pieces.
| * | | | | String: Add a custom string typeBrad King2018-12-123-0/+816
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a `cm::String` type that holds a view of a string buffer and optionally shares ownership of the buffer. Instances can either borrow longer-lived storage (e.g. static storage of string literals) or internally own a `std::string` instance. In the latter case, share ownership with copies and substrings. Allocate a new internal string only on operations that require mutation. This will allow us to recover string sharing semantics that we used to get from C++98 std::string copy-on-write implementations. Such implementations are not allowed by C++11 so code our own in a custom string type instead.
| * | | | | Add support for using C++17 string_view or a fallbackBrad King2018-12-113-0/+520
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define a `cm::string_view` type implemented via C++17 `std::string_view` when available. Provide a fallback implementation for C++11 and C++14 compilers. The fallback implementation was written by reading documentation of the standard spec. We have no dedicated tests for it, but it will be covered by tests of its clients later.
* | | | | Merge topic 'fileapi'Brad King2018-12-1318-3/+2573
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9c6f08276 Help: Add release note for fileapi feature 4b6b2a571c fileapi: extend codemodel v2 with directory details eb8c7676a4 fileapi: extend codemodel v2 with a project model 42f0125ceb fileapi: Add test for cmakeFiles v1 6615408193 fileapi: add cmakeFiles v1 3f6ee75a66 fileapi: Add test for cache v2 7489e95b8e fileapi: add cache v2 ea0a060168 fileapi: Add test for codemodel v2 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2706
| * | | | | fileapi: extend codemodel v2 with directory detailsBrad King2018-12-121-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #18398 Co-Author: Kyle Edwards <kyle.edwards@kitware.com>
| * | | | | fileapi: extend codemodel v2 with a project modelBrad King2018-12-121-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Offer clients a `project()`-centric view of the build system. This is similar to the directory-centric view but consolidates subdirectories that do not call `project()` with a new project name. Issue: #18398 Co-Author: Kyle Edwards <kyle.edwards@kitware.com>
| * | | | | fileapi: add cmakeFiles v1Brad King2018-12-125-3/+195
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #18398
| * | | | | fileapi: add cache v2Brad King2018-12-125-0/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
| * | | | | fileapi: add codemodel v2Brad King2018-12-125-2/+1192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
| * | | | | fileapi: Report cmake generator in reply index fileBrad King2018-12-125-0/+30
| | | | | |
| * | | | | fileapi: Add helper to create and reference a json reply fileBrad King2018-12-122-0/+17
| | | | | |
| * | | | | fileapi: Add protocol v1 support for stateful per-client queriesBrad King2018-12-122-6/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for client-owned *stateful* query files. These allow clients to request a list of versions of each object kind and get only the first-listed version that CMake recognizes. Since clients own their stateful query files they can mutate them over time. As a client installation is updated it may update the queries that it writes to build trees to get newer object versions without paying the cost of continuing to generate older versions. Issue: #18398
| * | | | | fileapi: Add protocol v1 support for client-specific query filesBrad King2018-12-122-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for client-owned stateless query files. These allow clients to *own* requests for major object versions and get all those recognized by CMake. Issue: #18398
| * | | | | fileapi: Add protocol v1 infrastructure with support for shared query filesBrad King2018-12-125-0/+423
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a file-based API that clients may use to get semantic information about the buildsystem that CMake generates. Clients will write query files under a designated location in the build tree, and CMake will write reply files for clients to read. Start with support for shared stateless query files. These allow clients to share requests for major object versions and get all those recognized by CMake. Once any client has written a shared request to a build tree it will persist. Other clients will not need to overwrite the request (since it is stateless) and should not remove it either. For now we add only an undocumented object kind to use for testing the query and reply infrastructure. Object kinds providing real semantic information will be added later. Issue: #18398
| * | | | | cmTimestamp: Expose CreateTimestampFromTimeT publiclyBrad King2018-12-111-3/+3
| | | | | |
| * | | | | cmStateSnapshot: Add method to get current directory snapshotBrad King2018-12-112-0/+7
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2018-12-131-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'object-library-link'Brad King2018-12-121-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bab24e782c target_link_libraries: Propagate dependencies of object libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2725
| * | | | | target_link_libraries: Propagate dependencies of object librariesKyle Edwards2018-12-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit, linking against an object library did not propagate private link dependencies of object libraries to their consuming targets. This change implements the correct behavior. Fixes: #18692 Co-Author: Brad King <brad.king@kitware.com>
* | | | | | Merge topic 'fix-configure-line-number'Brad King2018-12-121-4/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe9a16c80f cmMakefile: Fix @CMAKE_CURRENT_LIST_LINE@ for ExpandVariablesInStringNew dda4755b46 cmMakefile: Fix ConfigureString not passing filename and line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2675
| * | | | | | cmMakefile: Fix @CMAKE_CURRENT_LIST_LINE@ for ExpandVariablesInStringNewArtur Ryt2018-12-121-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added check for variable name in @@ evaluation and test for configuring @CMAKE_CURRENT_LIST_LINE@ with new CMP0053 Fixes: #18646
| * | | | | | cmMakefile: Fix ConfigureString not passing filename and lineArtur Ryt2018-12-121-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It enables to use CMAKE_CURRENT_LIST_LINE in string(CONFIGURE) Added tests for it for ${} and @@ notattion for old CMP0053 and ${} for new
* | | | | | | Merge topic 'default-test-timeout'Brad King2018-12-121-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e0eb3307f Help: clarify documentation of ctest --timeout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2721
| * | | | | | | Help: clarify documentation of ctest --timeoutRegina Pfeifer2018-12-091-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'output-converter-simplify'Brad King2018-12-1211-134/+117
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33f08eec18 cmOutputConverter: Moved ContainedInDirectory to cmStateDirectory 87e810f223 cmOutputConverter: Moved ForceToRelativePath to cmSystem Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2665
| * | | | | | | cmOutputConverter: Moved ContainedInDirectory to cmStateDirectoryBruno Manganelli2018-12-088-46/+27
| | | | | | | |
| * | | | | | | cmOutputConverter: Moved ForceToRelativePath to cmSystemBruno Manganelli2018-12-079-88/+90
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2018-12-121-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-12-111-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'autogen-cleanups'Brad King2018-12-101-160/+72
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7630eb1975 cmQtAutoGenInitializer: Reduce code duplication Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Tobias Hunger <tobias.hunger@gmail.com> Merge-request: !2689
| * | | | | | cmQtAutoGenInitializer: Reduce code duplicationTobias Hunger2018-12-071-160/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not repeat the code used to find uic/rcc and moc exectuables.
* | | | | | | Merge topic 'ninja-win-long-commands'Brad King2018-12-101-2/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfd808ff19 cmLocalNinjaGenerator: Prevent echoing of lines in ninja generated batch files 2c3f2dfa5a cmLocalNinjaGenerator: Report line of failure in ninja generated batch file 2295040e85 cmLocalNinjaGenerator: Propagate failures from batch file back to ninja Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2701
| * | | | | | | cmLocalNinjaGenerator: Prevent echoing of lines in ninja generated batch filesMark O'Neill2018-12-061-0/+1
| | | | | | | |