summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fileapi: add cmakeFiles v1Brad King2018-12-1215-3/+333
| | | | Issue: #18398
* fileapi: Add test for cache v2Kyle Edwards2018-12-122-2/+134
|
* fileapi: add cache v2Brad King2018-12-1215-0/+315
| | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
* fileapi: Add test for codemodel v2Kyle Edwards2018-12-1215-14/+4927
|
* fileapi: add codemodel v2Brad King2018-12-1216-2/+1731
| | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
* fileapi: Add more infrastructure to FileAPI testKyle Edwards2018-12-121-7/+65
|
* fileapi: Report cmake generator in reply index fileBrad King2018-12-127-1/+55
|
* 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-129-9/+898
| | | | | | | | | | | | 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-1220-4/+271
| | | | | | | | 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-1225-0/+853
| | | | | | | | | | | | | | | | | | | 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
* Tests: Add RunCMake "prep" stepBrad King2018-12-111-0/+5
| | | | | Give tests a chance to write content to the build tree before CMake runs on it.
* jsoncpp: Require version 1.4.1 when using system-provided libraryBrad King2018-12-111-1/+1
| | | | We need the `failIfExtra` diagnostic added by that version.
* cmTimestamp: Expose CreateTimestampFromTimeT publiclyBrad King2018-12-111-3/+3
|
* cmStateSnapshot: Add method to get current directory snapshotBrad King2018-12-112-0/+7
|
* jsoncpp: fix signed overflow when parsing negative valueBrad King2018-12-111-1/+1
| | | | | | | | | | Clang's ubsan (-fsanitize=undefined) reports: runtime error: negation of -9223372036854775808 cannot be represented in type 'Json::Value::LargestInt' (aka 'long'); cast to an unsigned type to negate this value to itself Follow its advice and update the code to remove the explicit negation.
* CMake Nightly Date StampKitware Robot2018-12-061-1/+1
|
* CMake Nightly Date StampKitware Robot2018-12-051-1/+1
|
* CMake Nightly Date StampKitware Robot2018-12-041-1/+1
|
* CMake Nightly Date StampKitware Robot2018-12-031-1/+1
|
* CMake Nightly Date StampKitware Robot2018-12-021-1/+1
|
* CMake Nightly Date StampKitware Robot2018-12-011-1/+1
|
* CMake Nightly Date StampKitware Robot2018-11-301-1/+1
|
* CMake Nightly Date StampKitware Robot2018-11-291-1/+1
|
* Merge topic 'readability-static-accessed-through-instance'Brad King2018-11-2830-118/+144
|\ | | | | | | | | | | | | 3e60580784 clang-tidy: Fix readability-static-accessed-through-instance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2647
| * clang-tidy: Fix readability-static-accessed-through-instanceRegina Pfeifer2018-11-2130-118/+144
| | | | | | | | Enable the check in .clang-tidy and fix all warnings.
* | Merge topic 'clang-tidy-macos'Brad King2018-11-287-23/+19
|\ \ | | | | | | | | | | | | | | | | | | cb6229b8b8 clang-tidy: fix warnings in macOS-only code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2670
| * | clang-tidy: fix warnings in macOS-only codeBrad King2018-11-277-23/+19
| | |
* | | Merge topic 'explicit-operator-bool'Brad King2018-11-286-12/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a2648dda97 Mark operator bool explicit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2649
| * | | Mark operator bool explicitRegina Pfeifer2018-11-196-12/+9
| | | |
* | | | Merge topic 'file-size'Brad King2018-11-289-0/+69
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12b471e828 file: add SIZE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2639
| * | | | file: add SIZE optionWouter Klouwen2018-11-279-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the SIZE option to file(). It returns the file size of the given path if it exists and produces an error if not.
* | | | | Merge branch 'release-3.13'Brad King2018-11-280-0/+0
|\ \ \ \ \
| * | | | | CMake 3.13.1v3.13.1Brad King2018-11-281-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.13'Brad King2018-11-280-0/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch 'autogen_uic_empty_fix_3_13' into release-3.13Brad King2018-11-271-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2667
* | \ \ \ \ \ Merge topic 'autogen_uic_empty_fix_3_13'Brad King2018-11-281-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1b5004c1a Autogen: Fix empty uic executable string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2667
| * | | | | | Autogen: Fix empty uic executable stringSebastian Holtermann2018-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In CMake 3.13.0 when a target has ``AUTOUIC`` enabled but doesn't link against Qt5Widgets, the uic executable string is empty and an error string "The uic executable \"\" does not exist" is generated. In CMake 3.12 ``AUTOUIC`` was silently disabled instead. This patch fixes the regression and restores the behavior of CMake 3.12. Fixes: #18630
* | | | | | | Merge topic 'doc-cmake.1'Craig Scott2018-11-288-68/+226
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e15cac8ee7 Help: Extend the cmake(1) manual 8b3a537c29 Help: Improve cmake(1) manual organization f9c3f7b164 Help: Emphasize tool names in their manuals Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2662
| * | | | | | | Help: Extend the cmake(1) manualBrad King2018-11-272-21/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the description section to cover all capabilities that the "cmake" tool has. Extend the buildsystem generation section to introduce important concepts and describe the basic workflow. Inspired-by: Joachim Wuttke (l) <j.wuttke@fz-juelich.de>
| * | | | | | | Help: Improve cmake(1) manual organizationJoachim Wuttke (l)2018-11-273-53/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the Synposis, and provide links to manual sections. Add sections for `cmake --open` and `cmake --help-*`. Introduce a new section for buildsystem generation to distinguish it from the other functionality. Populate it with minimal placeholder text for now. It will be extended later. Co-Author: Brad King <brad.king@kitware.com>
| * | | | | | | Help: Emphasize tool names in their manualsJoachim Wuttke (l)2018-11-265-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print the name of the **cmake** executable in boldface, so that it does not appear less prominent than other shell commands (which are underlaid with links). Similarly the other tool manuals.
* | | | | | | | CMake Nightly Date StampKitware Robot2018-11-281-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge topic 'autogen_target_docs'Brad King2018-11-273-25/+44
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d80977af4 Autogen: Documentation updates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2659
| * | | | | | | Autogen: Documentation updatesSebastian Holtermann2018-11-263-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extends the documentation for - :prop_tgt:`AUTOGEN_ORIGIN_DEPENDS` - :prop_tgt:`AUTOGEN_TARGET_DEPENDS` - :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET`
* | | | | | | | Merge topic 'FindDoxygen-win-glob'Brad King2018-11-271-7/+12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85a035bf00 FindDoxygen: Avoid Windows-specific GLOB on other platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2660
| * | | | | | | | FindDoxygen: Avoid Windows-specific GLOB on other platformsNoel Eck2018-11-261-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `$ENV{ProgramFiles}` is empty, GLOB takes `/Graphviz*/bin` as a path cusing the implementation to look at every directory in `/`. If the system has a slow(er) path mounted on '/' then `stat` call can take some time. There *may* be a better fix for this elsewhere, but for now simply do this GLOB only on Windows. Signed-off-by: Noel Eck <noel.eck@intel.com>
* | | | | | | | | Merge topic 'ctest-updates'Brad King2018-11-2761-94/+19
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9195ab081 Tests: Teach run_ctest to handle removal of CTestConfig.cmake 1ca53f5ef1 Remove unnecessary CTEST_PROJECT_NAME variables 15ac4aae0e Remove warning when no CTestConfig.cmake file exists 3125c47d27 ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME value 36bbd07a76 CDashUpload: Use the query part of the submit url as field e1dfe8cee6 CTest: Don't require 'submit.php?' in submit location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2640
| * | | | | | | | | Tests: Teach run_ctest to handle removal of CTestConfig.cmakeBrad King2018-11-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running tests in a non-fresh build tree there may be files left from previous test runs. In the case that a test removes `CTestConfig.cmake.in`, we must remove any `CTestConfig.cmake` that may have been left behind.
| * | | | | | | | | Remove unnecessary CTEST_PROJECT_NAME variablesRegina Pfeifer2018-11-2056-58/+4
| | | | | | | | | |