diff options
author | Brad King <brad.king@kitware.com> | 2005-04-27 13:12:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-27 13:12:41 (GMT) |
commit | b5aafa7ef1f03dd09328fc04c9fbe946cf677268 (patch) | |
tree | 106dfe6600cd6352984823633090975ae7a851bf /Tests/CustomCommand | |
parent | ddd307f1d3cdb17ea46fb24998437d81bbad5533 (diff) | |
download | CMake-b5aafa7ef1f03dd09328fc04c9fbe946cf677268.zip CMake-b5aafa7ef1f03dd09328fc04c9fbe946cf677268.tar.gz CMake-b5aafa7ef1f03dd09328fc04c9fbe946cf677268.tar.bz2 |
BUG: Use copy to produce doc1pre.txt instead of echo. The redirection does not like forward slashes on Win9x.
Diffstat (limited to 'Tests/CustomCommand')
-rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index 89b2aa7..f9dbafe 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -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 |