BUG: Use copy to produce doc1pre.txt instead of echo. The redirection does not like forward slashes on Win9x.

This commit is contained in:
Brad King 2005-04-27 09:12:41 -04:00
parent ddd307f1d3
commit b5aafa7ef1
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ ADD_CUSTOM_TARGET(TDocument ALL
ADD_CUSTOM_COMMAND(
TARGET TDocument PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E echo " Writing doc1pre.txt."
COMMAND ${CMAKE_COMMAND} -E echo "Dummy" > ${PROJECT_BINARY_DIR}/doc1pre.txt
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/doc1.tex ${PROJECT_BINARY_DIR}/doc1pre.txt
)
ADD_CUSTOM_COMMAND(
TARGET TDocument POST_BUILD