On 6/9/2015 1:56 PM, Chris Johnson wrote:
We do use a globally included set of CMake rules in all of our
CMakeLists.txt files, so if there's a bit of code that could be added
there, that would be sufficient.
All suggestions welcome!
You might be able to do something with install(CODE ...)
At the end of the day the install step is just running generated cmake
code. If you look in your build tree there are files like this:
cmake_install.cmake. With install(CODE), you can inject your own code
into those files.
-Bill
--
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