The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15469 ====================================================================== Reported By: Abigail Bunyan Assigned To: ====================================================================== Project: CMake Issue ID: 15469 Category: CMake Reproducibility: N/A Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2015-03-23 11:46 EDT Last Modified: 2015-03-23 11:46 EDT ====================================================================== Summary: Xcode projects misuses targets for ALL_BUILD; it should use a scheme instead Description: When generating an Xcode project from a CMakeLists.txt with one target, the resultant project contains three targets: the user's target, ALL_BUILD, and ZERO_CHECK. It then makes all targets depend on ZERO_CHECK, and makes ALL_BUILD depend on all other targets.
However, the Xcode documentation specifies "Projects can contain one or more targets, each of which produces one product." - so ALL_BUILD is not the intended use of targets. CMake should instead create an Xcode scheme, which depends on all of the user's Xcode targets. Additional Information: Debatably, ZERO_CHECK shouldn't be a target - and ZERO_CHECK's only build phase should instead be a build phase present in every other target. However, you could argue that it does produce a product (ie. the Xcode project itself). ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-03-23 11:46 Abigail Bunyan 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
