Is it possible recompile and link a single file before installing a target? I
have some string I want to hardcode into the source, so I use
configure_file() to add it to a .cpp file and compile it. However, these
values are different if the project is installed using 'make install'. Is it
possible to recompile that single file and relink it and then copy to the
install destination? 



--
View this message in context: 
http://cmake.3232098.n2.nabble.com/Recompiling-before-when-installing-target-tp7593070.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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

Reply via email to