summaryrefslogtreecommitdiffstats
path: root/kwsysPlatformTests.cmake
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2013-08-06 13:10:11 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-07 12:18:29 (GMT)
commitce6eac8b58b0230cd1d8ee100a27973e5354a5c4 (patch)
tree3e190e65b187a9c70ac89786eee80259f0ae8d76 /kwsysPlatformTests.cmake
parent0a44fa4c6c87c76d2adfa1edf68b9f2cfe2096cb (diff)
downloadCMake-ce6eac8b58b0230cd1d8ee100a27973e5354a5c4.zip
CMake-ce6eac8b58b0230cd1d8ee100a27973e5354a5c4.tar.gz
CMake-ce6eac8b58b0230cd1d8ee100a27973e5354a5c4.tar.bz2
KWSys 2013-08-06 (deec6b8a)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ deec6b8a | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' beef6819..deec6b8a Brad King (1): e39f85e0 SystemTools: Activate EnableMSVCDebugHook under CTest Burlen Loring (1): 1d882d4c SystemInformation : Better stack trace Patrick Gansterer (2): 89e42c36 SystemTools: Remove duplicate code for parsing Windows registry keys deec6b8a SystemTools: Add a function to get subkeys of a Windows registry key Sean McBride (1): 4c4f8a9e Supress clang warnings about dynamic exception specifications Change-Id: I37367dc5db58818d5954735e00c6d523a1dd1411
Diffstat (limited to 'kwsysPlatformTests.cmake')
-rw-r--r--kwsysPlatformTests.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/kwsysPlatformTests.cmake b/kwsysPlatformTests.cmake
index d042450..f9ee254 100644
--- a/kwsysPlatformTests.cmake
+++ b/kwsysPlatformTests.cmake
@@ -19,6 +19,7 @@ MACRO(KWSYS_PLATFORM_TEST lang var description invert)
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/${KWSYS_PLATFORM_TEST_FILE_${lang}}
COMPILE_DEFINITIONS -DTEST_${var} ${KWSYS_PLATFORM_TEST_DEFINES} ${KWSYS_PLATFORM_TEST_EXTRA_FLAGS}
+ CMAKE_FLAGS "-DLINK_LIBRARIES:STRING=${KWSYS_PLATFORM_TEST_LINK_LIBRARIES}"
OUTPUT_VARIABLE OUTPUT)
IF(${var}_COMPILED)
FILE(APPEND
@@ -150,9 +151,11 @@ ENDMACRO(KWSYS_PLATFORM_C_TEST_RUN)
MACRO(KWSYS_PLATFORM_CXX_TEST var description invert)
SET(KWSYS_PLATFORM_TEST_DEFINES ${KWSYS_PLATFORM_CXX_TEST_DEFINES})
SET(KWSYS_PLATFORM_TEST_EXTRA_FLAGS ${KWSYS_PLATFORM_CXX_TEST_EXTRA_FLAGS})
+ SET(KWSYS_PLATFORM_TEST_LINK_LIBRARIES ${KWSYS_PLATFORM_CXX_TEST_LINK_LIBRARIES})
KWSYS_PLATFORM_TEST(CXX "${var}" "${description}" "${invert}")
SET(KWSYS_PLATFORM_TEST_DEFINES)
SET(KWSYS_PLATFORM_TEST_EXTRA_FLAGS)
+ SET(KWSYS_PLATFORM_TEST_LINK_LIBRARIES)
ENDMACRO(KWSYS_PLATFORM_CXX_TEST)
MACRO(KWSYS_PLATFORM_CXX_TEST_RUN var description invert)