I was looking for a way to copy files into the Debug or Release directory of a 
Visual Studio 10 project, that might also work for other forms of project, like 
NMAKE. I ended up using add_custom_command.

My CMakeLists.txt at GitHub:

https://github.com/bigeasy/verity/blob/65830bff4a0a08785eb75f01451cb1a9ac16f456/CMakeLists.txt

Seems like a kludge to launch a program to copy a file. Copying a file seems 
like a common task in a project build. Is there a canonical way to do this?Or 
are there many ways and this is as good as any?

--
Alan Gutierrez - @bigeasy
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to