Browse Source

Add CMake source grouping

Michael Ragazzon 2 years ago
parent
commit
9615f331a8
1 changed files with 8 additions and 0 deletions
  1. 8 0
      CMakeLists.txt

+ 8 - 0
CMakeLists.txt

@@ -887,6 +887,14 @@ if(BUILD_SAMPLES)
 	endif()
 	endif()
 endif()
 endif()
 
 
+#===================================
+# Source grouping for IDEs =========
+#===================================
+
+source_group("Core\\Layout" REGULAR_EXPRESSION "/Core/Layout/")
+source_group("Core\\Elements" REGULAR_EXPRESSION "/Core/Elements/")
+source_group("Core\\FontEngineDefault" REGULAR_EXPRESSION "/Core/FontEngineDefault/")
+
 #===================================
 #===================================
 # Add global options ===============
 # Add global options ===============
 #===================================
 #===================================