summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | | | |
| * | | | | | | | | Remove warning when no CTestConfig.cmake file existsRegina Pfeifer2018-11-201-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some CTestConfig.cmake files used to set CTEST_PROJECT_NAME only. Since this variable is no longer used, it is more likely that the whole file is no longer provided by projects.
| * | | | | | | | | ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME valueRegina Pfeifer2018-11-202-17/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.0.0-rc1~260^2~32 (ctest_build: Use "cmake --build" to launch the native build tool, 2013-11-14) we no longer need to use the project name in `ctest_build()`. Fixes: #18612
| * | | | | | | | | CDashUpload: Use the query part of the submit url as fieldRegina Pfeifer2018-11-202-7/+6
| | | | | | | | | |
| * | | | | | | | | CTest: Don't require 'submit.php?' in submit locationRegina Pfeifer2018-11-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18611
* | | | | | | | | | Merge topic 'blaslapack_mkl_gfortran'Brad King2018-11-272-119/+144
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c259912b14 FindBLAS: Do not look for BLAS once BLAS95 has been found d5f691be0b FindLAPACK: Additional libraries for MKL+gfortran combination 8b63265ea5 FindLAPACK: Unify internal variables related to MKL ede1715c1d FindLAPACK: Remove MKL components already provided by MKL BLAS 03879b11af FindLAPACK: Prioritize Intel MKL b4edf7b5d2 FindBLAS: Support 32bit Intel MKL 10.3+ fc149a72f7 FindBLAS: Support combination of gfortran and Intel MKL f0d52f55f1 FindBLAS: Consolidate duplicated code related to MKL on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2633
| * | | | | | | | | | FindBLAS: Do not look for BLAS once BLAS95 has been foundJakub Benda2018-11-241-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When BLA_F95 is ON, FindBLAS looks for BLAS95_LIBRARIES (in Intel MKL). As this is a superset of BLAS_LIBRARIES, if they are found, no further search in other vendors is necessary.
| * | | | | | | | | | FindLAPACK: Additional libraries for MKL+gfortran combinationJakub Benda2018-11-181-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per Intel MKL command line advisor, "libdl" is added to the list of libraries that provide LAPACK functionality. Furthermore, the implicit link directories are added to the searched libraries to allow finding of "libgomp".
| * | | | | | | | | | FindLAPACK: Unify internal variables related to MKLJakub Benda2018-11-181-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auxiliary internal variables related to MKL are now consistently prefixed with LAPACK_mkl_ and unset at the end of the MKL section.
| * | | | | | | | | | FindLAPACK: Remove MKL components already provided by MKL BLASJakub Benda2018-11-181-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A surplus library libmkl_gf_... has been removed from the LAPACK libraries serach path (when relevant, it is already provided by BLAS). Similarly, the thread libraries do not need to be explicitly added to the implicit LAPACK libraries, as they are already included in the list (via BLAS libraries provided by FindBLAS).
| * | | | | | | | | | FindLAPACK: Prioritize Intel MKLJakub Benda2018-11-181-75/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As in FindBLAS, the Intel Math Kernel Library is now the preferred LAPACK vendor. (The corresponding section of the code has been moved upwards.)