COMP: Fix command line check test implementation for Watcom.
This commit is contained in:
parent
a178761c12
commit
bb01a0d6ba
|
@ -228,6 +228,8 @@ ADD_CUSTOM_COMMAND(
|
||||||
VERBATIM
|
VERBATIM
|
||||||
COMMENT "Checking custom command line escapes"
|
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
|
ADD_CUSTOM_TARGET(do_check_command_line ALL
|
||||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/command_line_check
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/command_line_check
|
||||||
COMMAND ${CMAKE_COMMAND} -E echo "Checking custom target command escapes"
|
COMMAND ${CMAKE_COMMAND} -E echo "Checking custom target command escapes"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
const char* expected_arguments[] =
|
const char* expected_arguments[] =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue