The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=16101 ====================================================================== Reported By: Robert Bielik Assigned To: ====================================================================== Project: CMake Issue ID: 16101 Category: CMake Reproducibility: always Severity: block Priority: normal Status: new ====================================================================== Date Submitted: 2016-05-12 04:07 EDT Last Modified: 2016-05-12 04:07 EDT ====================================================================== Summary: ADD_SUBDIRECTORY with EXCLUDE_FROM_ALL fails to include target dependencies(XCode Generator) Description: If the main target executable depends on targets that are in a subdirectory, using EXCLUDE_FROM_ALL in ADD_SUBDIRECTORY fails to include the target dependencies, leading to linking errors.
>From documentation: "Note that inter-target dependencies supercede this exclusion. If a target built by the parent project depends on a target in the subdirectory, the dependee target will be included in the parent project build system to satisfy the dependency" This works fine for MSYS, Unix and Visual Studio generators, but NOT XCode. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-05-12 04:07 Robert Bielik New Issue ====================================================================== -- 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