<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>
<p>Hi ,</p><p>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)?</p>
<p>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.</p>
<pre><code>cmake -DCOMPONENT=my_test_component
-DCMAKE_INSTALL_PREFIX=${TMP_PACKAGING_ROOT}
-P ${CMAKE_BINARY_DIR}/cmake_install.cmake
</code></pre>
<p>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 ?</p><p><br></p><p>( I tried asking in StackOverflow but no success )<br></p>
</div></div>
</div><br></div>