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

This commit is contained in:
KimLS 2022-02-12 23:31:51 -08:00
parent 95c8b60ec6
commit dd6cde68bb

View File

@ -80,7 +80,6 @@ SET(zone_sources
fearpath.cpp fearpath.cpp
forage.cpp forage.cpp
global_loot_manager.cpp global_loot_manager.cpp
gm_commands/door_manipulation.cpp
groups.cpp groups.cpp
guild.cpp guild.cpp
guild_mgr.cpp guild_mgr.cpp
@ -200,7 +199,6 @@ SET(zone_headers
fastmath.h fastmath.h
forage.h forage.h
global_loot_manager.h global_loot_manager.h
gm_commands/door_manipulation.h
groups.h groups.h
guild_mgr.h guild_mgr.h
hate_list.h hate_list.h
@ -327,6 +325,8 @@ SET(gm_commands
gm_commands/distance.cpp gm_commands/distance.cpp
gm_commands/doanim.cpp gm_commands/doanim.cpp
gm_commands/door.cpp gm_commands/door.cpp
gm_commands/door_manipulation.cpp
gm_commands/door_manipulation.h
gm_commands/dye.cpp gm_commands/dye.cpp
gm_commands/dz.cpp gm_commands/dz.cpp
gm_commands/dzkickplayers.cpp gm_commands/dzkickplayers.cpp
@ -580,6 +580,10 @@ SET(gm_commands
gm_commands/zunderworld.cpp gm_commands/zunderworld.cpp
) )
SOURCE_GROUP(gm_commands FILES
${gm_commands}
)
ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers} ${gm_commands}) ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers} ${gm_commands})
INSTALL(TARGETS zone RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) INSTALL(TARGETS zone RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)