[CMake] [SOLVED] RE: Get targets added in subdirectory

Robert Bielik Robert.Bielik at dirac.com
Sat Oct 8 13:11:43 EDT 2016


I ended up solving this with the "wrapped cmake function" pattern, works nicely.

/R

>-----Original Message-----
>From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Robert Bielik
>Sent: den 8 oktober 2016 17:34
>To: Cmake at cmake.org
>Subject: [CMake] Get targets added in subdirectory
>
>Is there a way to get a list of targets added via add_subdirectory ? My goal is
>to place all targets in a subdirectory in a special folder in the VS IDE...
>
>Regards
>/Robert
>
>--
>
>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


More information about the CMake mailing list