summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* 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-155-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that property INTERFACE_LINK_OPTIONS is correctly propagated from static libraries. Issue: #18251
* | | | Merge topic 'doc-consistently-reference-packagename'Craig Scott2018-08-151-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30d08bdce9 doc: Consistently use <PackageName> for describing the name of a package Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2283
| * | | | doc: Consistently use <PackageName> for describing the name of a packageJean-Christophe Fillion-Robin2018-08-141-1/+1
| | | | |
* | | | | Merge topic 'better_static_link_flags_docs'Craig Scott2018-08-154-0/+16
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b17d85873 Help: Document when LINK_FLAGS and STATIC_LIBRARY_FLAGS are used 9561d42f95 target_link_options: Add test to verify static library behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !2274
| * | | | target_link_options: Add test to verify static library behaviorRobert Maynard2018-08-094-0/+16
| | | | | | | | | | | | | | | | | | | | Issue: #18251
* | | | | Merge topic 'test_MocOsMacros_fix'Brad King2018-08-107-20/+36
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 52676e3794 Autogen: Tests: Use non inverting Qt version tests e7fb85d00d Autogen: Check if we can run the MocOsMacros test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2270
| * | | | Autogen: Tests: Use non inverting Qt version testsSebastian Holtermann2018-08-096-11/+11
| | | | |
| * | | | Autogen: Check if we can run the MocOsMacros testSebastian Holtermann2018-08-072-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MocOsMacros test requires moc to support moc_predefs.h on some platforms (e.g. Mac). moc supports moc_predefs.h inclusion since Qt 5.8, therefore run the MocOsMacros only if Qt >= 5.8 and if CMAKE_CXX_COMPILER_PREDEFINES_COMMAND is defined. Fixes #18245
* | | | | 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
* | | | Autogen: Add test for Q_OS_ macrosSebastian Holtermann2018-07-305-0/+180
| | | |
* | | | 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-2720-12/+50
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2520-12/+50
| | | | |
* | | | | 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.
| * Merge branch 'revert-subdirectory-linking' into release-3.12Brad King2018-07-0315-94/+7
| |\ | | | | | | | | | Merge-request: !2191
* | \ Merge topic 'remove-simpleinstall'Brad King2018-07-18102-1250/+250
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 31e79050b2 Tests: Remove the SimpleInstall test 36ef57a939 Tests: Add test for cmake --build . --target package 11ca374b28 Tests: Add test for install(SCRIPT ... COMPONENT) 2201fb6f43 Tests: Add test for InstallRequiredSystemLibraries 5a7a006fdd Tests: Add test for $<0:...> in ExportImport 69ca768e78 Tests: Add test for install(TARGETS) RPATH functionality 25c3fb6c35 Tests: Add test for install(FILES) with PERMISSIONS b5df4faa20 Tests: Add test for installing parts of targets in different directories ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2209
| * | | Tests: Remove the SimpleInstall testKyle Edwards2018-07-1757-1241/+0
| | | | | | | | | | | | | | | | | | | | The cases that were covered by SimpleInstall have been moved into RunCMake.install.
| * | | 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 $<0:...> in ExportImportKyle Edwards2018-07-171-3/+3
| | | | | | | | | | | | | | | | | | | | This test case already includes test cases for $<1...> and $<0...>, but this commit adds a few $<0:...>'s in cases where it was missing.
| * | | 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
| | | |
* | | | Merge topic 'nvcc_dlink_dedup_static_libs'Brad King2018-07-186-0/+60
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | fd0523a215 CUDA: Properly de-duplicate libs when doing device linking b07c71831c CUDA: Add a test to verify device linking can handle circular deps Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2214
| * | | CUDA: Properly de-duplicate libs when doing device linkingRobert Maynard2018-07-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nvcc device linker is designed so that each static library with device symbols only needs to be listed once as it doesn't care about link order. If you provide the same static library multiple times it will error out. To make sure this occurs we find the unique set of link items.
| * | | CUDA: Add a test to verify device linking can handle circular depsRobert Maynard2018-07-176-0/+61
| | | |
* | | | 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 'ghs'Brad King2018-07-121-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce4f20ba62 GHS: Add release notes 281c601024 GHS: Update default BSP name 01c98c6ccc GHS: Update setting default OS location for Integrity platforms bb77dc0cee GHS: Set primary target using arch/platform values (or user specified value) f80692cf60 GHS: Add platform selection support a37a4a00c8 GHS: Add toolset selection support 5d40d2b44f GHS: Support ARM, PPC, 86 architectures Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Matt Soucy <matthew.soucy@baesystems.com> Merge-request: !798