summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/NoOutputVariable2.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-03 13:57:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-03 13:57:39 (GMT)
commitbcc29c56a599baa3e2d8bd1d56e3727911a1c7d7 (patch)
treeba9cb87630f8d207e9315cd398aac2ffb8b1f63b /Tests/RunCMake/try_compile/NoOutputVariable2.cmake
parent90441b289da6e7bd9f50a970d7adefc7b6be749f (diff)
parentd06db7ebe80636876d9701064b16cec9d3e2e3cb (diff)
downloadCMake-bcc29c56a599baa3e2d8bd1d56e3727911a1c7d7.zip
CMake-bcc29c56a599baa3e2d8bd1d56e3727911a1c7d7.tar.gz
CMake-bcc29c56a599baa3e2d8bd1d56e3727911a1c7d7.tar.bz2
Merge topic 'refactor-try_compile-argument-processing'
d06db7e try_compile: Refactor argument processing b680824 try_compile: Add test for bad call error cases
Diffstat (limited to 'Tests/RunCMake/try_compile/NoOutputVariable2.cmake')
-rw-r--r--Tests/RunCMake/try_compile/NoOutputVariable2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/NoOutputVariable2.cmake b/Tests/RunCMake/try_compile/NoOutputVariable2.cmake
new file mode 100644
index 0000000..ad9ac9a
--- /dev/null
+++ b/Tests/RunCMake/try_compile/NoOutputVariable2.cmake
@@ -0,0 +1,2 @@
+try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
+ OUTPUT_VARIABLE CMAKE_FLAGS -DA=B)