summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* UseSWIG: add policy to manage target naming strategy.Marc Chevrier2018-07-2512-0/+43
|
* 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
| * | option: respect existing normal variableRobert Maynard2018-07-097-0/+44
| | | | | | | | | | | | Add policy CMP0077 to change this behavior in a compatible way.
* | | Merge topic 'list-command-insert'Brad King2018-07-062-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a08154d493 list: Allow inserting at the end of a list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2181
| * | | list: Allow inserting at the end of a listDaniel Chabrowski2018-07-052-2/+2
| | | | | | | | | | | | | | | | Fixes: #18069
* | | | Merge topic 'revert-subdirectory-linking'Brad King2018-07-0515-94/+7
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 0d7114987c Revert "target_link_libraries: Allow use with targets in other directories" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2191
| * | | Revert "target_link_libraries: Allow use with targets in other directories"Brad King2018-07-0315-94/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.12.0-rc1~82^2 (target_link_libraries: Allow use with targets in other directories, 2018-05-11). The RHS target scoping and visibility rules are not clear and will need further investigation before the feature can be added. Issue: #17943
| * | | Merge branch 'ctest_submit-https' into release-3.12Brad King2018-06-272-6/+9
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2171
| * \ \ \ Merge branch 'lexer-null' into release-3.12Brad King2018-06-264-0/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2174
| * \ \ \ \ Merge branch 'file-GLOB-remove-new-errors' into release-3.12Brad King2018-06-226-11/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2164
* | \ \ \ \ \ Merge topic 'math-hex'Brad King2018-07-0519-0/+56
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5dbee9d2d0 math: Add options to calculate and format output as hexadecimal 8661e7052c math: Diagnose divide-by-zero 7c4c13ffef math: Reject unexpected expression input explicitly 5b0f73a15a math: Use 64-bit integer type for computation 963b8d9f6c math: Add RunCMake.math test to prepare for error cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2056
| * | | | | | | math: Add options to calculate and format output as hexadecimalDaniel Franke2018-07-0311-0/+24
| | | | | | | |
| * | | | | | | math: Diagnose divide-by-zeroDaniel Franke2018-06-264-0/+7
| | | | | | | |
| * | | | | | | math: Reject unexpected expression input explicitlyDaniel Franke2018-06-264-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to C++ exceptions for lexer/parser error handling. Teach the lexer/parser to fail on unexpected input.
| * | | | | | | math: Add RunCMake.math test to prepare for error casesDaniel Franke2018-06-224-0/+16
| | | | | | | |
* | | | | | | | Testing: Add test for CPack External generatorKyle Edwards2018-07-0212-4/+326
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test case ensures that the CPack External generator produces the proper .json file, and also ensures that the version negotation with CPACK_EXT_REQUESTED_VERSIONS works properly.
* | | | | | | Merge topic 'ctest_submit-https'Brad King2018-06-292-6/+9
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71f27c04b0 ctest_submit: show headers as debug info 4464ef21da ctest_submit: Check CA file during CDASH_UPLOAD Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2171
| * | | | | | ctest_submit: show headers as debug infoZack Galbreath2018-06-272-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hide any headers specified by `ctest_submit(HTTPHEADER ...)` unless ctest is run with --debug. This option is used to present bearer tokens to CDash. We do not want to inadvertently expose this secret data in the console output log.
* | | | | | | Merge topic 'lexer-null'Brad King2018-06-294-0/+7
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b29842a818 ListFileLexer: Do not match null bytes in input Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2174
| * | | | | | ListFileLexer: Do not match null bytes in inputBrad King2018-06-264-0/+7
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the fix from commit v3.10.0-rc1~188^2 (ListFileLexer: fix heap-buffer-overflow on malicious input, 2017-08-26) to apply to all lexer token matches. Replace all `.` with `[^\0\n]`. Update all `[^...]` match expressions to not match `\0`. We cannot safely process null bytes in strings. Fixes: #18124
* | | | | | Merge topic 'test-wizard'Brad King2018-06-253-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bffd71c3b Tests: Adopt wizard test in RunCMake.CommandLine Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2166
| * | | | | | Tests: Adopt wizard test in RunCMake.CommandLineBrad King2018-06-223-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid a whole separate test for one removed command-line option.
* | | | | | | Merge topic 'file-GLOB-remove-new-errors'Brad King2018-06-256-11/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | 142a625729 file: Drop error cases added by CMake 3.12.0-rc1 to avoid regressions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Shane Parris <shane.lee.parris@gmail.com> Merge-request: !2164
| * | | | | file: Drop error cases added by CMake 3.12.0-rc1 to avoid regressionsBrad King2018-06-226-11/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.12.0-rc1~418^2~3 (Refactor HandleGlobCommand, 2018-02-13) introduced error diagnostics for argument combinations that were previously accepted. Restore acceptance to avoid regressing projects that used those combinations even if they do not make sense. Fixes: #18097
* | | | | Merge topic 'vs_debugger'Brad King2018-06-229-4/+60
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 797de7a6f6 VS10Project: Expand VS_DEBUGGER_* capabilities Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2150
| * | | | | VS10Project: Expand VS_DEBUGGER_* capabilitiesJon Chronopoulos2018-06-179-4/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds VS_DEBUGGER_COMMAND_ARGUMENTS and VS_DEBUGGER_ENVIRONMENT as well as allowing VS_DEBUGGER_* to use generator expressions.
* | | | | | Merge topic 'xcode-10-legacy-build-system'Brad King2018-06-201-0/+1
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ca69206893 Tests: Do not use i386 architecture with Xcode 10 and above 71fa78ff7a Tests: Teach RunCMake to ignore Xcode missing file type warnings 057ecb8f6f C++ feature checks: Ignore Xcode warnings 985d3a162c Xcode: Use legacy build system Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2151