diff options
author | Brad King <brad.king@kitware.com> | 2015-07-27 13:31:22 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-27 13:31:22 (GMT) |
commit | 280dde34dda52559411376be17591755f4b6358f (patch) | |
tree | 2a904a41cd7ed5b11fe83e7a8a24138f30629aaf /Tests/RunCMake | |
parent | 0679c73b6ebcf2b336c1f69d93d6539b27ccaaff (diff) | |
parent | 594bafe52773c940fc3fb9cd9022a4d1a3a194c7 (diff) | |
download | CMake-280dde34dda52559411376be17591755f4b6358f.zip CMake-280dde34dda52559411376be17591755f4b6358f.tar.gz CMake-280dde34dda52559411376be17591755f4b6358f.tar.bz2 |
Merge topic 'trace-expand'
594bafe5 cmake: add --trace-expand option
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 4 | ||||
-rw-r--r-- | Tests/RunCMake/CommandLine/trace-expand-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/CommandLine/trace-expand.cmake | 0 |
3 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index 84d4cc9..cef6368 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake @@ -140,6 +140,10 @@ set(RunCMake_TEST_OPTIONS --trace) run_cmake(trace) unset(RunCMake_TEST_OPTIONS) +set(RunCMake_TEST_OPTIONS --trace-expand) +run_cmake(trace-expand) +unset(RunCMake_TEST_OPTIONS) + set(RunCMake_TEST_OPTIONS --debug-trycompile) run_cmake(debug-trycompile) unset(RunCMake_TEST_OPTIONS) diff --git a/Tests/RunCMake/CommandLine/trace-expand-stderr.txt b/Tests/RunCMake/CommandLine/trace-expand-stderr.txt new file mode 100644 index 0000000..4fee9bc --- /dev/null +++ b/Tests/RunCMake/CommandLine/trace-expand-stderr.txt @@ -0,0 +1,2 @@ +^.*/Tests/RunCMake/CommandLine/CMakeLists.txt\(1\): cmake_minimum_required\(VERSION 3.0 \) +.*/Tests/RunCMake/CommandLine/CMakeLists.txt\(2\): project\(trace-expand NONE \) diff --git a/Tests/RunCMake/CommandLine/trace-expand.cmake b/Tests/RunCMake/CommandLine/trace-expand.cmake new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Tests/RunCMake/CommandLine/trace-expand.cmake |