On Mon, Oct 24, 2011 at 6:14 PM, Robert Dailey <[email protected]> wrote:
> Does CMake support the creation of solution directories yet? Also the
> ability to assign targets to solution directories would be essential.
> The main reason I would use them is to organize/hide CTest projects so that
> they don't double the list of projects in the solution (I have 120 projects
> right now, after tests I would have over 300 projects. I need to be able to
> stuff the 180 test projects in a solution directory to keep them out of the
> way)
>
This is called Solution Folders.
Add this to the top level CMakeLists.txt
#Use solution folders.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Then in some target add this to put the target in the Development folder.
set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER Development)
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake