From bb01a0d6baa948ca35efc8bed91e48756dd13a20 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 2 Oct 2006 10:17:22 -0400 Subject: [PATCH] COMP: Fix command line check test implementation for Watcom. --- Tests/CustomCommand/CMakeLists.txt | 2 ++ Tests/CustomCommand/check_command_line.c.in | 1 + 2 files changed, 3 insertions(+) diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index f50de529e..5d13702b7 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 71d527815..72b34c7f0 100644 --- a/Tests/CustomCommand/check_command_line.c.in +++ b/Tests/CustomCommand/check_command_line.c.in @@ -1,4 +1,5 @@ #include +#include const char* expected_arguments[] = {