diff options
author | Brad King <brad.king@kitware.com> | 2023-09-29 13:36:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-09-29 13:36:24 (GMT) |
commit | b3205afcdedd645cd2d77eda82479008fe703f1c (patch) | |
tree | a5eb5bef1ee7a9ebb559fcd3838ace701b44a028 /Tests/RunCMake | |
parent | 32902d816a8c002f3cbe919f96cc0e9781fa4a90 (diff) | |
parent | 4e503209788159bba7eda427014e7dd58cf73b06 (diff) | |
download | CMake-b3205afcdedd645cd2d77eda82479008fe703f1c.zip CMake-b3205afcdedd645cd2d77eda82479008fe703f1c.tar.gz CMake-b3205afcdedd645cd2d77eda82479008fe703f1c.tar.bz2 |
Merge topic 'help-arbitrary'
4e50320978 Help: Allow help for arbitrary keywords
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8674
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 2 | ||||
-rw-r--r-- | Tests/RunCMake/CommandLine/help-arbitrary-stdout.txt | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index 611dde2..52be1bb 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake @@ -1125,3 +1125,5 @@ if(RunCMake_GENERATOR MATCHES "^Visual Studio 12 2013") run_cmake(DeprecateVS12-WARN-ON) run_cmake_with_options(DeprecateVS12-WARN-OFF -DCMAKE_WARN_VS12=OFF) endif() + +run_cmake_with_options(help-arbitrary "--help" "CMAKE_CXX_IGNORE_EXTENSIONS") diff --git a/Tests/RunCMake/CommandLine/help-arbitrary-stdout.txt b/Tests/RunCMake/CommandLine/help-arbitrary-stdout.txt new file mode 100644 index 0000000..3d07e91 --- /dev/null +++ b/Tests/RunCMake/CommandLine/help-arbitrary-stdout.txt @@ -0,0 +1,7 @@ +CMAKE_<LANG>_IGNORE_EXTENSIONS +------------------------------ + +File extensions that should be ignored by the build. + +This is a list of file extensions that may be part of a project for a +given language but are not compiled. |