[CMake] Add a custom command to all targets
Julien Michel
julien.michel at c-s.fr
Wed Aug 12 09:27:05 EDT 2009
Dear Cmake users,
I would like to add a custom command to be run on each target (in fact
on each target source file). Is there any way to do this with cmake ? I
found the ADD_CUSTOM_COMMAND function, but it must be called for each
target to be processed, and I am still missing a way to get the source
files list. Do you have any idea or advice ?
Best regards,
Julien
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Julien MICHEL - Ingénieur d'études - Traitement d'images
CS Systèmes d'Information - Division ESPACE
Département Information Géographique & Image
Téléphone : +33 561 17 64 27
Email : julien.michel at c-s.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the CMake
mailing list