[CMake] Generated source file dependencies
Julien Michel
julien.michel at c-s.fr
Wed May 13 08:26:00 EDT 2009
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.michel at c-s.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the CMake
mailing list