BUG: Use copy to produce doc1pre.txt instead of echo. The redirection does not like forward slashes on Win9x.
This commit is contained in:
parent
ddd307f1d3
commit
b5aafa7ef1
|
@ -90,7 +90,7 @@ ADD_CUSTOM_TARGET(TDocument ALL
|
||||||
ADD_CUSTOM_COMMAND(
|
ADD_CUSTOM_COMMAND(
|
||||||
TARGET TDocument PRE_BUILD
|
TARGET TDocument PRE_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E echo " Writing doc1pre.txt."
|
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(
|
ADD_CUSTOM_COMMAND(
|
||||||
TARGET TDocument POST_BUILD
|
TARGET TDocument POST_BUILD
|
||||||
|
|
Loading…
Reference in New Issue