I know it's possible to send variables into your c source code from the cmake tutorials where you set the version.
let's say in your c source code you access some resource files that are located in your source tree under a resources folder. I can put those in some type of array in my c source code. Now is it possible to send that list back to cmake at build time so that it can copy those files to the binary tree on each build?
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake