Merge topic 'FixPreLinkTest'

5ab1259 Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK.
This commit is contained in:
Brad King 2013-03-05 14:11:02 -05:00 committed by CMake Topic Stage
commit bbfc1ce942
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ remove_definitions(-DCOMPLEX_DEFINED)
add_custom_command(TARGET complex PRE_BUILD add_custom_command(TARGET complex PRE_BUILD
COMMAND ${CREATE_FILE_EXE} COMMAND ${CREATE_FILE_EXE}
ARGS "${Complex_BINARY_DIR}/Executable/prebuild.txt") ARGS "${Complex_BINARY_DIR}/Executable/prebuild.txt")
add_custom_command(TARGET complex PRE_BUILD add_custom_command(TARGET complex PRE_LINK
COMMAND ${CREATE_FILE_EXE} COMMAND ${CREATE_FILE_EXE}
ARGS "${Complex_BINARY_DIR}/Executable/prelink.txt") ARGS "${Complex_BINARY_DIR}/Executable/prelink.txt")
add_custom_command(TARGET complex POST_BUILD add_custom_command(TARGET complex POST_BUILD