[CMake] checking for cmake predefined targets

Dvir Yitzchaki Dvir.Yitzchaki at ceva-dsp.com
Tue Dec 13 09:28:46 EST 2016


Hi list.

With Visual Studio generator, is there a way, at configuration time, to check for the existence of INSTALL, PACKAGE and RUN_TESTS targets?
Seems they only present when the configuration files have an install(), enable_testing() or include(CPack) commands somewhere.

I need this information to make TFS not trying to add these projects to source control.

Thanks,

Dvir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20161213/a32cb82a/attachment.html>


More information about the CMake mailing list