summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'additional_clean_files'Brad King2019-05-153-30/+87
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5bf369ec6 Release notes: Add release notes for ADDITIONAL_CLEAN_FILES properties 4e2ce0a67a Doc: Update and deprecate ADDITIONAL_MAKE_CLEAN_FILES directory property 338994d65d Doc: Add documentation for ADDITIONAL_CLEAN_FILES properties c11f089d73 Tests: Extend MakeClean test to cover ADDITIONAL_CLEAN_FILES 012d599e26 Ninja: Add support for ADDITIONAL_CLEAN_FILES target property 890a1b9dc3 Ninja: Add support for ADDITIONAL_CLEAN_FILES directory property 7b23001f20 Ninja: Add support for additional clean files d745df4b01 Makefiles: Add support for ADDITIONAL_CLEAN_FILES target property ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3318
| * Tests: Extend MakeClean test to cover ADDITIONAL_CLEAN_FILESSebastian Holtermann2019-05-143-30/+87
| | | | | | | | | | | | | | | | This extends the MakeClean test to cover the - ADDITIONAL_CLEAN_FILES directory property and the - ADDITIONAL_CLEAN_FILES target property as well.
* | Merge topic 'ninja-pool-custom-command'Brad King2019-05-156-0/+39
|\ \ | | | | | | | | | | | | | | | | | | 9f76961de8 Support job pools in custom commands and targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3308
| * | Support job pools in custom commands and targetsRosen Matev2019-05-146-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a way for custom commands and targets to set the pool variable of the ninja build statement. Setting `JOB_POOL` is not compatible with `USES_TERMINAL`, which implies the `console` pool. The option is silently ignored with other generators. Closes: #18483
* | | Merge topic 'find-boost-cmp0093'Brad King2019-05-147-0/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 5108759ed2 FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3317
| * | FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z formatDennis Klein2019-05-137-0/+12
| | | | | | | | | | | | This aligns module mode behaviour with config mode.
* | | Merge topic 'error-generate-step'Brad King2019-05-1428-28/+84
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8cc04b1918 cmake: Display error if generate step fails Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !3304
| * | | cmake: Display error if generate step failsKyle Edwards2019-05-1328-28/+84
| | | |
* | | | Merge topic 'relax_cxx_relaxed_constexpr_requirements'Brad King2019-05-141-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d156f8f5a2 CompileFeatures: Record when MSVC gained full CXX14 support 62dbe53a8a CompileFeatures: Record when Intel gained full CXX14 support 1ebb0d79fe CompileFeatures: Relax cxx_relaxed_constexpr compiler requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3292
| * | | | CompileFeatures: Relax cxx_relaxed_constexpr compiler requirementsRobert Maynard2019-05-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This in effect means that cxx_relaxed_constexpr is now supported by MSVC and Intel 18.0-18.04.
* | | | | Merge topic 'ios-xctest-lookup'Brad King2019-05-142-0/+18
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | e9d128b789 Apple: Properly lookup XCTest for iOS and tvOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3309
| * | | | Apple: Properly lookup XCTest for iOS and tvOSGregor Jasny2019-05-112-0/+18
| | | | | | | | | | | | | | | | | | | | Closes: #19172
| * | | | Merge branch 'out-of-dir-linking-private-deps' into release-3.14Brad King2019-04-304-0/+30
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3276
| * \ \ \ \ Merge branch 'vs-default-platform' into release-3.14Brad King2019-04-192-0/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3246
* | \ \ \ \ \ Merge topic 'cmuvprocesschain'Brad King2019-05-133-0/+411
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26025d6e10 cmUVProcessChain: Add cmUVProcessChain 6b04d1cdc2 cmUVStreambuf: Initialize all members on construction Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3275
| * | | | | | cmUVProcessChain: Add cmUVProcessChainKyle Edwards2019-05-073-0/+411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This class is ultimately intended as a replacement for cmsys::Process. It spawns a series of processes using libuv, piping the output of each command into the next. Note: input support has not yet been implemented because write support has not yet been implemented on cmUVStreambuf.
* | | | | | | Merge topic 'FindPython-module'Marc Chevrier2019-05-1016-11/+145
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30b873c05d FindPython*: Manage weak link for Python modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !3291
| * | | | | | FindPython*: Manage weak link for Python modulesMarc Chevrier2019-05-0716-11/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new target Python::Module which take care of platform requirements for Python module development. Fixes: #18100
* | | | | | | Merge topic 'FindBoost-fphsa'Brad King2019-05-0847-4/+979
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 634f6ea159 FindBoost: Add new unit tests a22dd5d8be FindBoost: Modernize module mode with FPHSA a315977595 FindBoost: Fix and modernize config mode with FPHSA 24342d5ef7 FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNT 26634752d0 FindBoost: Introduce new imported target Boost::headers d6c12f374d FindBoost: Compare versions consistently against Boost_VERSION_STRING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3243
| * | | | | | FindBoost: Add new unit testsDennis Klein2019-05-0744-0/+974
| | | | | | |
| * | | | | | FindBoost: Modernize module mode with FPHSADennis Klein2019-05-071-1/+2
| | | | | | |
| * | | | | | FindBoost: Fix and modernize config mode with FPHSADennis Klein2019-05-072-3/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes: #19186
* | | | | | Merge topic 'ctest-update-version-override'Craig Scott2019-05-083-5/+25
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a34d0ac36 ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDE 7ddac95121 Help: cross-ref and wording of docs related to ctest_update() a0d04d8810 testing: Update terminology in ctest_update tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3277
| * | | | | ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDEZack Galbreath2019-05-072-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set this in a CTest script to explicitly define what the current revision will be reported as in Update.xml.
| * | | | | testing: Update terminology in ctest_update testsZack Galbreath2019-05-022-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the word "Update" instead of "Test" in ctest_update's RunCMake tests. This change was prompted because I noticed that UpdateChangeId-check.cmake was not actually getting called during the relevant test case. This file also had to be updated since its purpose is to detect an expected XML element (not an attribute).
* | | | | | Merge topic 'enforce-explicit-use-of-project'Brad King2019-05-071-0/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1527defbfe cmMakefile: Enforce explicit use of project() command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3245
| * | | | | | cmMakefile: Enforce explicit use of project() commandBartosz Kosiorek2019-05-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 17714
* | | | | | | Merge topic 'CTestCoverageCollectGCOV-updates'Brad King2019-05-071-9/+12
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41d262bd3d CTestCoverageCollectGCOV: run gcov with -x 911b97867b CTestCoverageCollectGCOV: run gcov only once Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3258
| * | | | | | CTestCoverageCollectGCOV: run gcov only onceCristian Morales Vega2019-05-031-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running gcov once per .gcda file is not only inefficient, it also generates wrong data since .gcov files can get overwritten and in general gcov works with less information. fakegcov.cmake needs to be able to handle multiple .gcda files for the test to be meaningful.
* | | | | | | UseSWIG: Manage alternate library nameMarc Chevrier2019-05-032-0/+47
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manage alternate library name by passing -interface <library_name> for python language or -dllimport <library_name> for CSharp language to the SWIG compiler. Fixes: #18771
* | | | | | Merge topic 'std-pipes-always'Brad King2019-05-031-0/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c85524a94a Ensure stdin, stdout, and stderr pipes are always open Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !3282
| * | | | | | Ensure stdin, stdout, and stderr pipes are always openBrad King2019-05-021-0/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On non-Windows platforms libuv assumes that file descriptors 0-2 are always used for standard pipes and never for anything else. Otherwise, libuv may re-use one of these descriptors and then fail an assertion when closing it. Similarly, On Windows platforms our ConsoleBuf implementation assumes that the standard handles are always open. If CMake is run with any standard pipes closed, open them with `/dev/null` or `NUL` to satisfy these assumptions. Fixes: #19219
* | | | | | Merge topic 'jobs-positive-value'Brad King2019-05-039-0/+24
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ad699358b cmake: --build -j <jobs> should not accept 0. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3255
| * | | | | | cmake: --build -j <jobs> should not accept 0.Fred Baksik2019-05-019-0/+24
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fixes #19059
* | | | | | Merge topic 'genex-TARGET_FILE_BASE_NAME-manage-postfix'Brad King2019-05-033-5/+71
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e5ccabe9b Genex: Update $<TARGET_FILE_BASE_NAME:...>: take care of POSTFIX 1f4c9aa7d2 Refactor: introduce method cmGeneratorTarget::GetFilePostfix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3267
| * | | | | Genex: Update $<TARGET_FILE_BASE_NAME:...>: take care of POSTFIXMarc Chevrier2019-05-023-5/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This capability complement MR !3190 and !3207 and is also needed to solve issue #18771.
* | | | | | Merge topic 'fix-swiftmix-test-for-xcode-10.2'Brad King2019-05-024-5/+6
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7b66919a3 SwiftMix: properly export SwiftMain method cab5471a7b SwiftMix: Get rid of pointer types mismatch warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3279
| * | | | | SwiftMix: properly export SwiftMain methodGregor Jasny2019-05-012-1/+2
| | | | | |
| * | | | | SwiftMix: Get rid of pointer types mismatch warningGregor Jasny2019-05-012-4/+4
| | | | | |
* | | | | | Merge topic 'out-of-dir-linking-private-deps'Brad King2019-05-014-0/+30
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d3713121b target_link_libraries: Fix static library private deps in other dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3276
| * | | | | target_link_libraries: Fix static library private deps in other dirsBrad King2019-04-304-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit a1ad0a699b (target_link_libraries: Allow use with targets in other directories, 2018-09-07, v3.13.0-rc1~94^2) we accidentally broke the logic that adds `$<LINK_ONLY:...>` to private dependencies of static libraries in their `INTERFACE_LINK_LIBRARIES` in the case that the dependency is added from outside the directory creating the library. The check for a valid target name should apply to the original name specified by the caller and not the encoded cross-directory reference. Fixes: #19197
| * | | | | Merge branch 'backport-autogen-qt-version-from-dirprops' into release-3.13Brad King2019-01-306-1/+72
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2883
| | * | | | | Tests: add cases for providing Qt5Core_VERSION manuallyBen Boeckel2019-01-306-1/+72
| | | | | | |
| * | | | | | Merge branch 'backport-restore-install-late-framework' into release-3.13Brad King2019-01-292-0/+7
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2878
| | * | | | | | macOS: Restore compatibility for setting FRAMEWORK after install()Brad King2019-01-292-0/+7
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `FRAMEWORK` target property affects the way the `install()` command treats the target and so should be set first. Our implementation assumed that this was always the case and led to an assertion failure. Prior to CMake 3.12 this was visible only when using an explicit `LIBRARY ... NAMELINK_ONLY` option, but commit 0212d7c762 (install: add NAMELINK_COMPONENT argument, 2018-04-18, v3.12.0-rc1~139^2~3) made it possible with a simple `LIBRARY DESTINATION`. Fully supporting out-of-order specification will require non-trivial refactoring to defer install generator creation to generate time. For now simply restore the old behavior of installing the framework to the library destination. Fixes: #18848
| * | | | | | cmake: Convert no source/build dir error to warningCraig Scott2019-01-223-3/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporarily restore previous behavior that allowed specifying no source or build directory to work, even though it was neither documented nor supported. This commit is expected to eventually be reverted to restore the fatal error for such cases. Relates: #18817
| * | | | | Merge branch 'cmake-option-parsing' into release-3.13Brad King2019-01-143-14/+17
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2799
* | \ \ \ \ \ Merge topic 'message-new-types-and-logging'Craig Scott2019-04-3016-0/+146
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 599587feb1 message(): Minor code modernization 6cc93b370e message(): Add support for log levels 377d1b7896 cmSystemTools: Remove unused message-related code, simplify logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3268
| * | | | | | message(): Add support for log levelsAlex Turbov2019-04-2816-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates: #18943 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | | | | | | Merge topic 'cmuvstreambuf'Brad King2019-04-303-2/+509
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c74698cb75 cmUVStreambuf: Add std::streambuf implementation for uv_stream_t 8cfd25db71 cmUVHandlePtr: Add cm::uv_loop_ptr c0e6b22d0a Refactor: Move/rename cmProcessGetPipes() to cmGetPipes() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3240