DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.86k stars 245 forks source link

Better project structure for IDEs #482

Closed pzychotic closed 3 months ago

pzychotic commented 3 months ago

Enabled the CMake property USE_FOLDERS to provide a more structured project list in IDEs with the help of set(CMAKE_FOLDER "...") calls.

Pull Request Type

Description

When using CMake to generate project files for an IDE like VS, the CMake property USE_FOLDERS enables the possibility to group targets into folders specified with set(CMAKE_FOLDER "...") calls. This allows to get some structure inside the IDE instead of just having an endless long list of targets on the root level, see screenshot.

Related Issues

Screenshots (if applicable)

Screenshot 2024-07-03 200447

Checklist

Additional Comments