[cmake-commits] king committed CMakeLists.txt 1.18 1.19 check_command_line.c.in 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Oct 2 10:17:24 EDT 2006


Update of /cvsroot/CMake/CMake/Tests/CustomCommand
In directory public:/mounts/ram/cvs-serv11001

Modified Files:
	CMakeLists.txt check_command_line.c.in 
Log Message:
COMP: Fix command line check test implementation for Watcom.


Index: check_command_line.c.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/check_command_line.c.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- check_command_line.c.in	28 Sep 2006 15:30:49 -0000	1.2
+++ check_command_line.c.in	2 Oct 2006 14:17:22 -0000	1.3
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <string.h>
 
 const char* expected_arguments[] =
 {

Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/CMakeLists.txt,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- CMakeLists.txt	28 Sep 2006 15:30:49 -0000	1.18
+++ CMakeLists.txt	2 Oct 2006 14:17:21 -0000	1.19
@@ -228,6 +228,8 @@
   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"



More information about the Cmake-commits mailing list