summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-15 13:33:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-15 13:33:32 (GMT)
commitf6024ef420103c4cb393d7752f7e110c5e0d5dfe (patch)
treee7c12ecc29f108e275e7212ccf7c267069d2662e /Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile.cmake
parentc0fe24e53969450273eb08aa6e6b615563847c9b (diff)
parentc28715b16c7a71cd8ea0416277cc87ee9bc8eaa1 (diff)
downloadCMake-f6024ef420103c4cb393d7752f7e110c5e0d5dfe.zip
CMake-f6024ef420103c4cb393d7752f7e110c5e0d5dfe.tar.gz
CMake-f6024ef420103c4cb393d7752f7e110c5e0d5dfe.tar.bz2
Merge topic 'try_compile-COPY_FILE_ERROR'
c28715b try_compile: Add COPY_FILE_ERROR option to capture failure
Diffstat (limited to 'Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile.cmake')
-rw-r--r--Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile.cmake b/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile.cmake
new file mode 100644
index 0000000..8d7cb0e
--- /dev/null
+++ b/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile.cmake
@@ -0,0 +1,2 @@
+try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
+ COPY_FILE_ERROR _copied)