[CMake] Generated source file dependencies
Julien Michel
julien.michel at c-s.fr
Wed May 13 03:51:24 EDT 2009
Dear cmake users and developpers,
I have two library, A and B, in two seperated subdirectories A and B.
When building B, the first step is to generate B.h and B.cxx from B.fl
using FLTK_WRAP_UI.
Now, A depends on B, and it needs B.h to compile properly.
The problem is that when using visual studio, A might be built before B,
and fails to build because B.h has not yet be generated.
I tried to add a dependency from A to B.h, but I did not succeed in.
Is there any way to ensure B.h will be generated by the time A is
starting to build ?
Thanks a lot for your answer,
Best regards,
Julien Michel
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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