Alex Rivera | Logout

How to copy contents of a directory into build directory after make with CMake?

Asked 2012-11-17T10:25:24.287
113

I've got some config files (xml, ini, ...) in the config directory next to the source files. How can I copy all the files in the config directory into the build directory (next to the executable file) each time I make the project?

Edit
Report

1 Answer

-6

In my project i use INSTALL to specify in CMake, what and where i move my binary with conf file. After execution of cmake, use "make install".

answered 2012-11-17T10:46:00.767

Your Answer