Hi!

i had a problem between depencendies of static libraris. Due to the used tools 
(qt, moc, uic) a library depends on another library, especially on header files 
generated by uic.

This is a litte bit a broken design, but cannot fix it currently.

On massive parallel builds ( 8 cores on ssd ) i get compiliation issues 
(missing header file) or broken dependencies ( header is updated later, lib 
already build).

So i decided to use add_dependencies() macro for cmake to "clarify" these 
dependencies. Since then it seems that no more failure occured.

Is this a correct way to handle this issue or are other solutions more reliable?

Mannheim HRB 504702
Geschäftsführer: Dipl.-Ing. (FH) Michael Brenk (Vorsitzender), Dipl.-Ing. (FH) 
Dipl.-Inf. (FH) Jens Heyen

This e-mail may contain confidential and/or legally protected information. If 
you are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and delete this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this email is strictly 
forbidden.
Thank you!


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to