install for subdirectories with 'ExludeFromAll'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

install for subdirectories with 'ExludeFromAll'

Olivier Pierard
Dear all,

What's up with the install procedure of a target included in a
subdirectory with the option 'ExcludeFromAll'.  CMake says the behavior
is undefined.  I would expect a command like 'make install
target_with_exclude_from_all'.  How is it possible to manage that ?

I'm also wondering why cmake is parsing the subdirectory which is
defined as 'ExcludeFromAll' if the build of the target in that folder is
not explicitly stated (of course another target is not dependent of this
one) ?

Thank you very much,


Olivier Pierard

CENAERO, Virtual Manufacturing Group

Bâtiment EOLE, 1er étage
Rue des Frères Wright, 29
B-6041 Gosselies

Tel: +32.(0)71.919374
Fax: +32.(0)71.919370

+-+-+- Disclaimer +-+-+-

Powered by

Visit other Kitware open-source projects at

Please keep messages on-topic and check the CMake FAQ at:

Follow this link to subscribe/unsubscribe: