[CMake] How to build a target on install (only)?
Paul Smith
paul at mad-scientist.net
Mon Feb 16 12:29:03 EST 2015
On Mon, 2015-02-16 at 09:55 -0500, David Cole wrote:
> Ah ha! Back to the simpler approach with install(CODE....!
>
> Good idea, Nils.
>
> Then you just need a stamp/sentinel file associated with running the
> operation, and you can check it against your input.
Aha, that works well. I don't need a sentinel file since I can just
test against one of the files that dsymutil generates.
And, I discovered I can have a multi-line CODE just by adding newlines
into the string, so that works well.
Nice! Thanks all!
More information about the CMake
mailing list