How would I go about placing a text file in the same directory as a
target's output?

For example, let's say I have a target called "foo", which creates an
executable. "foo" has a config file called "foo.conf" that should always
go in the same directory. At the moment, it resides in the src/
directory for the "foo" target. How would I get it to automatically copy
into the same directory as the foo executable as part of the build process?

For bonus points, how would this interact with "make install"?

Regards,
  -- Clark
_______________________________________________
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