Use cmake echo
This commit is contained in:
parent
7ddb408621
commit
2f1052b0e5
|
@ -86,8 +86,8 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
|
|||
MESSAGE("\nIgnore this message")
|
||||
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
||||
IF (NOT NO_EXEC_PROGRAM)
|
||||
EXEC_PROGRAM("echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM(echo ARGS NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM("${CMAKE_COMMAND} -E echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||
ELSE (NOT NO_EXEC_PROGRAM)
|
||||
MESSAGE("Set this option ON")
|
||||
ENDIF (NOT NO_EXEC_PROGRAM)
|
||||
|
|
|
@ -86,8 +86,8 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
|
|||
MESSAGE("\nIgnore this message")
|
||||
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
||||
IF (NOT NO_EXEC_PROGRAM)
|
||||
EXEC_PROGRAM("echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM(echo ARGS NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM("${CMAKE_COMMAND} -E echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||
ELSE (NOT NO_EXEC_PROGRAM)
|
||||
MESSAGE("Set this option ON")
|
||||
ENDIF (NOT NO_EXEC_PROGRAM)
|
||||
|
|
|
@ -86,8 +86,8 @@ MESSAGE (Test " " escape " " semi-colon " " \; \;)
|
|||
MESSAGE("\nIgnore this message")
|
||||
OPTION(NO_EXEC_PROGRAM "Do not test EXEC_PROGRAM" 0)
|
||||
IF (NOT NO_EXEC_PROGRAM)
|
||||
EXEC_PROGRAM("echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM(echo ARGS NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM("${CMAKE_COMMAND} -E echo NO_EXEC_PROGRAM" "${Complex_BINARY_DIR}")
|
||||
EXEC_PROGRAM(${CMAKE_COMMAND} ARGS -E echo NO_EXEC_PROGRAM "${Complex_BINARY_DIR}")
|
||||
ELSE (NOT NO_EXEC_PROGRAM)
|
||||
MESSAGE("Set this option ON")
|
||||
ENDIF (NOT NO_EXEC_PROGRAM)
|
||||
|
|
Loading…
Reference in New Issue