For reference, I ended up doing a special add_subdirectory_with_folder
function, like so:
function (add_subdirectory_with_folder folder_name)
function (add_library name type)
_add_library (${ARGV})
# Do not wrap creation of INTERFACE libraries
if (type STREQUAL INTERFACE)
retu
I ended up solving this with the "wrapped cmake function" pattern, works nicely.
/R
>-Original Message-
>From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Bielik
>Sent: den 8 oktober 2016 17:34
>To: Cmake@cmake.org
>Subject: [CMake] Get targets added in subdirectory
>
>Is t
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_