summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2022-09-02 10:21:12 -0400
committerMatthew Woehlke <matthew.woehlke@kitware.com>2022-09-05 13:19:59 -0400
commitaa9220d3a0c4a5b15a9a590ed75afedff38764fe (patch)
treeb7f2decb489123643acbef1e85850b803c7a2722 /Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
parentd1befe5515968d7fe4f7fd3f2ca243e98d6012d0 (diff)
downloadcmake-aa9220d3a0c4a5b15a9a590ed75afedff38764fe.tar.gz
try_compile: Add keyword-dispatched signature
Introduce a new signature for try_compile (and try_run) which removes the `bindir` argument and requires the SOURCES tag. This will eventually allow us to add other ways of providing sources, but also allows us to change the behavior without breaking compatibility. The old signature uses a special, but non-unique temporary location inside the specified `bindir`, which conventionally is just the project's build directory. The new signature unconditionally uses the a unique temporary directory which is unconditionally within the project's build directory (which is no longer separately specified). This ensures that successive runs do not overwrite previous runs, will simplify debugging, and should also, eventually, allow us to execute multiple trials in parallel.
Diffstat (limited to 'Tests/RunCMake/try_compile/NoCopyFile-stderr.txt')
-rw-r--r--Tests/RunCMake/try_compile/NoCopyFile-stderr.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt b/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
index 36d889faca..55ba687c0c 100644
--- a/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
@@ -1,4 +1,4 @@
-CMake Error at NoCopyFile.cmake:1 \(try_compile\):
+CMake Error at NoCopyFile.cmake:[0-9]+ \(try_compile\):
Error after keyword "COPY_FILE":
missing required value