[CMake] How to copy files to the directory of executable file.

Dancefire dancefire at gmail.com
Wed Mar 18 21:28:34 EDT 2009


Hi,

I'm working on a simple gtkmm program. I use CMake for the makefile
generator. I use GtkBuilder to create the window form, so I need a
non-executable file, "window.xml", locate at the same directory of
executable file which just build.

The directory structure is simple, every files on the top directory. During
build, I do following:

mkdir build
cd build
cmake ..
make

The problem is how can I copy ../window.xml to the "build" directory?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090319/5f60c123/attachment.htm>


More information about the CMake mailing list