[CMake] installing/overwriting single file
Randy Heiland
heiland at indiana.edu
Wed Nov 4 13:18:56 EST 2009
During an 'install', I would like to copy/overwrite a source file to a
destination file. How? Something like the following (in syntax),
although I am assuming that it is only legal to copy a file into a dir
(and therefore the 'foo.cxx' isn't allow)?
INSTALL(FILES
${CMAKE_SOURCE_DIR}/foo_new.cxx
DESTINATION ${CMAKE_INSTALL_PREFIX}/foo.cxx
)
thanks, Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091104/052b13b4/attachment.htm>
More information about the CMake
mailing list