CMake: Remove the workaround for source groups below CMake 2.8.12

* Set the default option to hierarchical
* Add a new "hierarchical-folders" option which enables folders inside IDE's.
This commit is contained in:
Aokromes committed 2016-08-09 23:49:31 +02:00
1 parent fee20bf1d9
commit b96f20c0d4
4 files changed
+14 -24

No files matched your search

+2 -2
View File
@@ -16,6 +16,6 @@ option(USE_COREPCH "Use precompiled headers when compiling servers"
option(WITH_DYNAMIC_LINKING "Enable dynamic library linking." 0)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
set(WITH_SOURCE_TREE "no" CACHE STRING "Build the source tree for IDE's.")
set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical)
set(WITH_SOURCE_TREE "hierarchical" CACHE STRING "Build the source tree for IDE's.")
set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical hierarchical-folders)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)