summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge topic 'cpack_test'Brad King2018-09-042-1/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7a7e94d6f7 CPack (DEB/RPM): add test for per-component description/summmary. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2333
| * | | | CPack (DEB/RPM): add test for per-component description/summmary.David Faure2018-08-302-1/+20
| | | | |
* | | | | Merge topic 'no-sanitizer-logfile'Brad King2018-08-3110-10/+0
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 5aaaee5e9e ctest_memcheck: Change failure to find log file from error to warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2323
| * | | | ctest_memcheck: Change failure to find log file from error to warningBetsy McPhail2018-08-2810-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sanitizers do not create a log file when no defects are found. Therefore, it is currently impossible for ctest_memcheck to set both `CAPTURE_CMAKE_ERROR` and `RETURN_VALUE` to zero. With defects, `CAPTURE_CMAKE_ERROR`=0 and `RETURN_VALUE`=-1, as expected. With no defects, `CAPTURE_CMAKE_ERROR`=-1 and `RETURN_VALUE`=0.
* | | | | Merge topic 'cpack-ext-stage-and-run'Brad King2018-08-305-2/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a0f664aaf CPackExt: Add CPACK_EXT_ENABLE_STAGING and CPACK_EXT_PACKAGE_SCRIPT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2272
| * | | | | CPackExt: Add CPACK_EXT_ENABLE_STAGING and CPACK_EXT_PACKAGE_SCRIPTNils Gladitz2018-08-145-2/+31
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPACK_EXT_ENABLE_STAGING enables optional staging and CPACK_EXT_PACKAGE_SCRIPT allows to specify an optional script file that can package staged files via an external packaging tool. Issue: #18236
* | | | | Merge topic 'android-ndk-r18'Brad King2018-08-302-6/+12
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | ca97d4cb5f Android: Add support for NDK r18 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2319
| * | | Android: Add support for NDK r18Brad King2018-08-282-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NDK r18 drops GCC toolchains and some STL types. We need to choose a clang toolchain by default when no gcc toolchains are available. Switch the STL type default to `c++_static` when the old `gnustl_static` default is not available. Update the test suite to not run tests for STL types that do not exist. Also do not expect the gcc toolchain `cpp` tool to be available because r18 does not provide it. Also teach it to tolerate `gcc -dumpmachine` output like `arm--linux-android` that differs from the toolchain prefix. Fixes: #18301
* | | | Merge topic 'static-lib-options'Brad King2018-08-279-0/+73
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 974de0e199 static library: add property STATIC_LIBRARY_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2290
| * | | | static library: add property STATIC_LIBRARY_OPTIONSMarc Chevrier2018-08-159-0/+73
| | | | | | | | | | | | | | | | | | | | issue: #18251
* | | | | Merge topic 'ninja-generator-do-not-add-alias-matching-custom-command-output'Brad King2018-08-272-0/+48
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 180c2f8de8 Ninja: Fix dupbuild error skipping alias with conflicting custom command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Isaiah <isaiah.norton@gmail.com> Merge-request: !2276
| * | | | | Ninja: Fix dupbuild error skipping alias with conflicting custom commandJean-Christophe Fillion-Robin2018-08-092-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See-also: https://issues.slicer.org/view.php?id=4595 Reported-by: Isaiah Norton <inorton@bwh.harvard.edu>
* | | | | | Merge topic 'export-properties-undefined'Craig Scott2018-08-182-0/+12
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dbd3e2c53d EXPORT_PROPERTIES: Prevent null dereference for undefined property b88bf6796e EXPORT_PROPERTIES: Add test for an undefined property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2294
| * | | | | EXPORT_PROPERTIES: Add test for an undefined propertyCraig Scott2018-08-162-0/+12
| | |_|/ / | |/| | | | | | | | | | | | | The added test verifies that a property listed in EXPORT_PROPERTIES can be undefined. It confirms the crash recorded in issue #18260.
| * | | | Merge branch 'cpack-default-package-version-zero' into release-3.12Craig Scott2018-07-297-0/+24
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2239
| * \ \ \ \ Merge branch 'project-injected-no-cmp0048' into release-3.12Craig Scott2018-07-254-0/+16
| |\ \ \ \ \
* | | | | | | LINK_OPTIONS property: add test for static library.Marc Chevrier2018-08-154-0/+15
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that property INTERFACE_LINK_OPTIONS is correctly propagated from static libraries. Issue: #18251
* | | | | | target_link_options: Add test to verify static library behaviorRobert Maynard2018-08-094-0/+16
| |_|_|_|/ |/| | | | | | | | | | | | | | Issue: #18251
* | | | | Help: Document the $CACHE{} syntaxRobert Maynard2018-08-073-0/+11
| |_|_|/ |/| | | | | | | | | | | Also add a test case for the behavior.
* | | | Xcode: Add variables and properties to configure schemesGregor Jasny2018-08-013-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `XCODE_SCHEME_*` target properties and associated variables `CMAKE_XCODE_SCHEME_*` to initialize them on target creation. Map each target property value to an associated Xcode scheme entry. Co-Author: Martin Sander <mail@martin-sander.de> Fixes: #17919
* | | | Merge topic 'cpack-default-package-version-zero'Craig Scott2018-07-297-0/+24
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | ed015bde2b CPack: Restore support for 0-valued version components Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2239
| * | | CPack: Restore support for 0-valued version componentsBrad King2018-07-277-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.12.0-rc1~136^2 (CPack: Use project version as default for `CPACK_PACKAGE_VERSION`, 2018-04-29) we did not account for the value of `CMAKE_PROJECT_VERSION_{MAJOR,MINOR,PATCH}` having `0`. Fix the logic to distinguish between unprovided version components and `0` components. While at it, add a test case covering the behavior described in the documentation by the original commit. The number of version components in the package name should match those provided to the `project()` command `VERSION` option. Fixes: #18199
* | | | Merge topic 'UseSWIG-target-name-policy'Brad King2018-07-2712-0/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a3a0c3aa71 UseSWIG: add policy to manage target naming strategy. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2232
| * | | | UseSWIG: add policy to manage target naming strategy.Marc Chevrier2018-07-2512-0/+43
| | | | |
* | | | | Merge topic 'reproducible-tarballs'Brad King2018-07-276-2/+72
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 548ac51d8e CPack/Deb: Support SOURCE_DATE_EPOCH when packaging files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2226
| * | | | CPack/Deb: Support SOURCE_DATE_EPOCH when packaging filesAndrew Fuller2018-07-256-2/+72
| | | | |
* | | | | Merge topic 'project-injected-no-cmp0048'Craig Scott2018-07-254-0/+16
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 6646771b0f project: Do not issue CMP0048 warnings on injected call 08eb157c03 Tests: Add case showing CMP0048 warning on injected project command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2235
| * | | | project: Do not issue CMP0048 warnings on injected callBrad King2018-07-241-12/+0
| | | | | | | | | | | | | | | | | | | | Fixes: #18202
| * | | | Tests: Add case showing CMP0048 warning on injected project commandBrad King2018-07-245-0/+28
| | |/ / | |/| | | | | | | | | | Issue: #18202
* | | | FindPkgConfig: allow to create global imported targetsRolf Eike Beer2018-07-222-1/+18
| | | |
* | | | Merge topic 'doc-find_package-root'Craig Scott2018-07-201-1/+1
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | 492ade276b Help: Add explicit <PackageName>_ROOT variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2225
| * | Help: Add explicit <PackageName>_ROOT variable documentationBrad King2018-07-201-1/+1
| |/ | | | | | | | | | | Add documentation for both the CMake variable and environment variable of this name pattern. Update references to these names to link to their documents. Clarify the pattern used to construct their names.
* | Tests: Add test for cmake --build . --target packageKyle Edwards2018-07-173-8/+25
| |
* | Tests: Add test for install(SCRIPT ... COMPONENT)Kyle Edwards2018-07-175-0/+9
| |
* | Tests: Add test for InstallRequiredSystemLibrariesKyle Edwards2018-07-173-0/+12
| |
* | Tests: Add test for install(TARGETS) RPATH functionalityKyle Edwards2018-07-175-1/+42
| |
* | Tests: Add test for install(FILES) with PERMISSIONSKyle Edwards2018-07-173-0/+7
| |
* | Tests: Add test for installing parts of targets in different directoriesKyle Edwards2018-07-174-0/+15
| |
* | Tests: Add test for install(DIRECTORY) with PATTERN and REGEXKyle Edwards2018-07-176-0/+38
| |
* | Tests: Add test for CONFIGURATIONS parameter of install()Kyle Edwards2018-07-173-0/+4
| |
* | Tests: Add test for install(<SCRIPT|CODE>)Kyle Edwards2018-07-174-0/+11
| |
* | Tests: Add test for <PRE|POST>_INSTALL_SCRIPTKyle Edwards2018-07-175-0/+11
| |
* | Tests: Add test for deprecated install_*() commandsKyle Edwards2018-07-175-0/+19
| |
* | Tests: Add tests for *OUTPUT_NAME propertiesKyle Edwards2018-07-173-0/+44
| |
* | Tests: Add test for install(DIRECTORY ... OPTIONAL)Kyle Edwards2018-07-173-0/+3
| |
* | Tests: Add tests for install(<TARGETS|FILES> ... OPTIONAL)Kyle Edwards2018-07-176-0/+10
| |
* | math: Restore toleration of unexpected characters in an expressionBrad King2018-07-164-3/+15
| | | | | | | | | | | | | | | | Prior to commit 7c4c13ffef (math: Reject unexpected expression input explicitly, 2018-05-18) we ignored unexpected characters in an expression that otherwise can be parsed. In order to preserve compatibility with projects that accidentally used this, convert the error to a warning.
* | Merge topic 'option_respects_existing_stack_variable'Brad King2018-07-122-0/+15
|\ \ | | | | | | | | | | | | | | | | | | f8a7cf85ad option: No CMP077 warnings when both cache and local variable exists Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2203
| * | option: No CMP077 warnings when both cache and local variable existsRobert Maynard2018-07-102-0/+15
| | | | | | | | | | | | | | | | | | Previously we would warn when the local and cache version of a variable exists, but this use case doesn't need a warning as it maintains backwards compatibility.
* | | Merge topic 'option-normal-variable'Brad King2018-07-097-0/+44
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | 2a5f5c0e31 option: respect existing normal variable 12e6f83319 Option: Add a test that verifies interaction with normal variables 5bb3d40a28 cmOption: Remove VTK 4.0 workarounds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2155