The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13370 ====================================================================== Reported By: LordJZ Assigned To: ====================================================================== Project: CMake Issue ID: 13370 Category: CMake Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2012-07-02 17:35 EDT Last Modified: 2012-07-02 17:35 EDT ====================================================================== Summary: Visual Studio filter tree as source directory tree (with patch) Description: Currently, CMake groups the source files into 'Header Files', 'Source Files', etc. When there are quite a lot of files, it becomes hard to navigate through this mess.
A lot of other IDEs make the same solution tree as directory tree. Netbeans in particular. I have created a rough patch to implement this feature for Visual Studio. Links: My CMake fork with this feature: https://github.com/LordJZ/CMake/commits/master Direct patch file: https://dl.dropbox.com/u/9241118/cmake.patch (also attached) An example of the resulting tree: https://dl.dropbox.com/u/9241118/cmake-file-tree-respect-trinitycore.png Compiled binaries for Windows: https://github.com/downloads/LordJZ/CMake/cmake-file-tree-respect.7z (no dependencies) There are some issues of the patch: 1) Works for Visual Studio 10 (2010 pre-release), Visual Studio 2010, Visual Studio 11 (2012 pre-release), and Visual Studio 2012. 2) My changes are not yet fixed to fit CMake coding style. 3) The patch eliminates in-Studio view of source groups (though they are not seen in other IDEs). Seems to deprecate bug http://www.cmake.org/Bug/view.php?id=11229. 4) Is possibly still affected by bug http://www.cmake.org/Bug/view.php?id=7921. RFC. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-07-02 17:35 LordJZ New Issue 2012-07-02 17:35 LordJZ File Added: cmake.patch ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers