diff options
author | Brad King <brad.king@kitware.com> | 2015-01-23 14:45:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-27 16:18:36 (GMT) |
commit | daf95a38277f4c732987933a63143dde77dd0a10 (patch) | |
tree | b7d2dae418d094044f18c26c7623eb4b62c8f92c /Tests/RunCMake/try_compile/RerunCMake-rerun-stdout.txt | |
parent | bf05938b8f186c397c918c1cf8bd9ce853c86123 (diff) | |
download | CMake-daf95a38277f4c732987933a63143dde77dd0a10.zip CMake-daf95a38277f4c732987933a63143dde77dd0a10.tar.gz CMake-daf95a38277f4c732987933a63143dde77dd0a10.tar.bz2 |
try_compile: Test that CMake re-runs on input change
With the Makefile and Ninja generators we expect that touching the input
source file for a try_compile will cause CMake to re-run on the next
build. Extend the RunCMake.try_compile test with a case covering this.
Also check that CMake does not re-run if nothing has changed.
Diffstat (limited to 'Tests/RunCMake/try_compile/RerunCMake-rerun-stdout.txt')
-rw-r--r-- | Tests/RunCMake/try_compile/RerunCMake-rerun-stdout.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/RerunCMake-rerun-stdout.txt b/Tests/RunCMake/try_compile/RerunCMake-rerun-stdout.txt new file mode 100644 index 0000000..9c78b26 --- /dev/null +++ b/Tests/RunCMake/try_compile/RerunCMake-rerun-stdout.txt @@ -0,0 +1,3 @@ +-- Configuring done +-- Generating done +-- Build files have been written to: .*/Tests/RunCMake/try_compile/RerunCMake-build |