CMake: Use source_groups to represent the source tree (#1247)

This commit is contained in:
Kargatum
2019-01-10 11:20:32 +07:00
committed by Viste(Кирилл)
parent 82baf637f6
commit c00d5fe0ab
9 changed files with 107 additions and 31 deletions

View File

@@ -153,6 +153,9 @@ add_executable(worldserver
${worldserver_PCH_SRC}
)
# Group sources
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
if( NOT WIN32 )
set_target_properties(worldserver PROPERTIES
COMPILE_DEFINITIONS _TRINITY_CORE_CONFIG="${CONF_DIR}/worldserver.conf"