Hi ,

Is there any way to know programmatically ( in cmake ) what files will be
installed if a COMPONENT is installed ( something like a get_property of
component)?

Currently I am installing a COMPONENT to a temporary location for packaging
( not using CPack for packaging ) and then packaging using custom commands.
Invoking the following command during packaing in Cmake.

cmake -DCOMPONENT=my_test_component
-DCMAKE_INSTALL_PREFIX=${TMP_PACKAGING_ROOT}
-P ${CMAKE_BINARY_DIR}/cmake_install.cmake

I wanted to know if it is possible to get the list of files so that I can
only include those files explicitly in the package ? or possibly add them
as outputs to the custom command ?


( I tried asking in StackOverflow but no success )
-- 

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