[cmake-developers] Ninja and add_subdirectory EXCLUDE_FROM_ALL

Brad King brad.king at kitware.com
Fri Mar 18 11:02:57 EDT 2016


On 03/17/2016 11:23 AM, Charles Huet wrote:
> I added a utility function 'ConvertToNinjaFolderRule' that
> does the same thing as ConvertToNinjaPath, but makes relative
> to the source dir, and adds the '/all' suffix.

Great.  I've applied the patch with a few style changes and
logic fixes.  I also added documentation and a test:

 Ninja: Add `$subdir/all` targets
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ca575fe9

 Ninja: Add test for `$subdir/all` targets
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=86c851e6

 Help: Add notes for topic 'ninja-directory-targets'
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=133aed8f

Please try out that version to make sure it still works for you.

Thanks,
-Brad



More information about the cmake-developers mailing list