Re: [CMake] Pre-install targets?

2018-10-17 Thread David Thompson
Hi all, After some hallway conversation, here is a follow-up: The consensus was that there were 2 options for the documentation target: + Leave documentation out of the install step when documentation is not built as part of the ALL target. + Change the configuration option for documentation fr

[CMake] Pre-install targets?

2018-10-11 Thread David Thompson
Hi all, Is there a way to force a custom target (i.e., ADD_CUSTOM_TARGET) to be built just before installation? We have documentation added as a custom target that is **not** passed the "ALL" keyword because generating the documentation is slow. However, that target creates files that have a m