On 05/29/2015 10:05 AM, Daniel Pfeifer wrote: > 1. Allow adding target-level dependencies to INTERFACE library: > > add_library(interface INTERFACE) > target_include_directories(interface INTERFACE ...) > add_custom_target(custom DEPENDS ...) > add_dependencies(interface custom)
This was made possible recently: Allow add_dependencies() on INTERFACE libraries http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ac14cbf0 and will be in 3.3. -Brad -- 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-developers