<div dir="ltr">Is there a way to programmatically check whether <div>all (or some) CMake targets are installed?</div><div><br></div><div>I want to be able to check that all defined targets of a particular project</div><div>(at least libraries or executable) are installed.</div><div><br></div><div>I can recursively retrieve all targets using <a href="https://cmake.org/cmake/help/v3.9/prop_dir/BUILDSYSTEM_TARGETS.html">https://cmake.org/cmake/help/v3.9/prop_dir/BUILDSYSTEM_TARGETS.html</a></div><div>directory property.</div><div><br></div><div>But then I want to know if a target has been installed or not by some install(...) rules.</div><div><br></div><div>Is it possible?</div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eric<br></div></div></div></div></div>
</div></div>