From dd6cde68bbf85c65d42d29a9b37e0df58d857e51 Mon Sep 17 00:00:00 2001 From: KimLS Date: Sat, 12 Feb 2022 23:31:51 -0800 Subject: [PATCH] Small change to order of a couple of files in zone cmakefile, added the gm commands to their own source group so they are cleanly separated in any IDEs cmake supports --- zone/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zone/CMakeLists.txt b/zone/CMakeLists.txt index 3c24da07a..e8e113a8a 100644 --- a/zone/CMakeLists.txt +++ b/zone/CMakeLists.txt @@ -80,7 +80,6 @@ SET(zone_sources fearpath.cpp forage.cpp global_loot_manager.cpp - gm_commands/door_manipulation.cpp groups.cpp guild.cpp guild_mgr.cpp @@ -200,7 +199,6 @@ SET(zone_headers fastmath.h forage.h global_loot_manager.h - gm_commands/door_manipulation.h groups.h guild_mgr.h hate_list.h @@ -327,6 +325,8 @@ SET(gm_commands gm_commands/distance.cpp gm_commands/doanim.cpp gm_commands/door.cpp + gm_commands/door_manipulation.cpp + gm_commands/door_manipulation.h gm_commands/dye.cpp gm_commands/dz.cpp gm_commands/dzkickplayers.cpp @@ -580,6 +580,10 @@ SET(gm_commands gm_commands/zunderworld.cpp ) +SOURCE_GROUP(gm_commands FILES + ${gm_commands} +) + ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers} ${gm_commands}) INSTALL(TARGETS zone RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)