ENH: Added quick means to turn on verbose output for debugging this test.
This commit is contained in:
parent
07fe611fc6
commit
ea66edaf5e
|
@ -327,6 +327,8 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/check_command_line.c.in
|
|||
@ONLY IMMEDIATE)
|
||||
ADD_EXECUTABLE(check_command_line
|
||||
${CMAKE_CURRENT_BINARY_DIR}/check_command_line.c)
|
||||
# SET_TARGET_PROPERTIES(check_command_line PROPERTIES
|
||||
# COMPILE_FLAGS -DCHECK_COMMAND_LINE_VERBOSE)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/command_line_check
|
||||
COMMAND ${CMAKE_COMMAND} -DMARK_FILE=${CMAKE_CURRENT_BINARY_DIR}/check_mark.txt
|
||||
|
|
|
@ -21,7 +21,9 @@ int main(int argc, const char* argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
/*printf("[%s]\n", *a);*/
|
||||
#if defined(CHECK_COMMAND_LINE_VERBOSE)
|
||||
printf("[%s]\n", *a);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
if(*a || *e)
|
||||
|
|
Loading…
Reference in New Issue