Denis Scherbakov a écrit :
Well at first glance it seemed to work, but in fact it is
not : A is still built before B, and fails to build missing
B.h.
Please note that this only occurs on visual studio.
Try to set B.h source file properties as GENERATED and include it into
A_SRCS. Maybe this help. Could you provide your CMakeLists.txt?
My mistake, it seems to be fixed with the first proposed solution. No
idea why it did not work at first.
Thanks a lot for your help,
Best Regards,
Juline 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