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.mic...@c-s.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake