diff options
author | Naios <naios-dev@live.de> | 2016-03-16 17:44:35 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2016-03-18 14:28:01 +0100 |
commit | bf773ccc417b47d01502c8151cea6188e33e16aa (patch) | |
tree | d4c96b408e9f731ae66c313f3a9f81b6b6568aba /cmake/options.cmake | |
parent | 03d249f0631c3561070ebbdd7301115507c68876 (diff) |
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.
Diffstat (limited to 'cmake/options.cmake')
-rw-r--r-- | cmake/options.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake index 19615001307..d49393ed745 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -15,6 +15,6 @@ option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" option(USE_COREPCH "Use precompiled headers when compiling servers" 1) 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) |