Thank you Domen for your detailed answer! > If your application, foo, bar and bas are not built as the same super > project [...] In fact this is where I started, for now all are build in the same super-project and foo and bar have tight coupling. In fact foo and bar end up in the same Cpack package and are installed together. (BTW. foo and bar are static libraries and bar exports compile_flags to let its clients know how it was compiled.)
I started playing around trying if I can use the packages installed and found the problem that while bar can be used in the client program foo couldn't and I wondered wether this is possible. Your arguments make total sense... althought it would be cool if it worked... Thanks again! Thomas -- 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://public.kitware.com/mailman/listinfo/cmake
