diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-06-15 21:44:47 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-06-15 21:44:47 +0300 |
commit | 22b705d2cbe7fd12a181c6db096fb8d84b5c2240 (patch) | |
tree | 9f7fb766d05f70e5827788cd2c780464db20450b /CMakeLists.txt | |
parent | bfd18c471d29b811bc2a16854ab1a389179b8368 (diff) |
Cmake: Add `WINDOWS_USE_VISUAL_STUDIO_SOURCE_FOLDERS` option
This allows grouping files in a filter corresponding to the source files name.
Differential Revision: https://developer.blender.org/D5077
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 177b88874e2..314bf520c7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -561,6 +561,9 @@ if(WIN32) option(WINDOWS_USE_VISUAL_STUDIO_PROJECT_FOLDERS "Organize the visual studio projects according to source folder structure." ON) mark_as_advanced(WINDOWS_USE_VISUAL_STUDIO_PROJECT_FOLDERS) + option(WINDOWS_USE_VISUAL_STUDIO_SOURCE_FOLDERS "Organize the source files in filters matching the source folders." ON) + mark_as_advanced(WINDOWS_USE_VISUAL_STUDIO_SOURCE_FOLDERS) + option(WINDOWS_PYTHON_DEBUG "Include the files needed for debugging python scripts with visual studio 2017+." OFF) mark_as_advanced(WINDOWS_PYTHON_DEBUG) endif() |