summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-02 14:17:22 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-02 14:17:22 (GMT)
commitbb01a0d6baa948ca35efc8bed91e48756dd13a20 (patch)
treefcc5958da74436927051c6a63d46f5d6119cb772 /Tests
parenta178761c12bb3296835e877603364d365d1259f4 (diff)
downloadCMake-bb01a0d6baa948ca35efc8bed91e48756dd13a20.zip
CMake-bb01a0d6baa948ca35efc8bed91e48756dd13a20.tar.gz
CMake-bb01a0d6baa948ca35efc8bed91e48756dd13a20.tar.bz2
COMP: Fix command line check test implementation for Watcom.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CustomCommand/CMakeLists.txt2
-rw-r--r--Tests/CustomCommand/check_command_line.c.in1
2 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt
index f50de52..5d13702 100644
--- a/Tests/CustomCommand/CMakeLists.txt
+++ b/Tests/CustomCommand/CMakeLists.txt
@@ -228,6 +228,8 @@ ADD_CUSTOM_COMMAND(
VERBATIM
COMMENT "Checking custom command line escapes"
)
+SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_BINARY_DIR}/command_line_check
+ PROPERTIES SYMBOLIC 1)
ADD_CUSTOM_TARGET(do_check_command_line ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/command_line_check
COMMAND ${CMAKE_COMMAND} -E echo "Checking custom target command escapes"
diff --git a/Tests/CustomCommand/check_command_line.c.in b/Tests/CustomCommand/check_command_line.c.in
index 71d5278..72b34c7 100644
--- a/Tests/CustomCommand/check_command_line.c.in
+++ b/Tests/CustomCommand/check_command_line.c.in
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <string.h>
const char* expected_arguments[] =
{