mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-02-17 00:54:33 +00:00
Initial upload of AnticheatModule
This commit is contained in:
15
src/cmake/after_ws_install.cmake
Normal file
15
src/cmake/after_ws_install.cmake
Normal file
@@ -0,0 +1,15 @@
|
||||
if( WIN32 )
|
||||
if ( MSVC )
|
||||
add_custom_command(TARGET worldserver
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_SOURCE_DIR}/modules/AnticheatModule/conf/Anticheat.conf.dist" ${CMAKE_BINARY_DIR}/bin/$(ConfigurationName)/
|
||||
)
|
||||
elseif ( MINGW )
|
||||
add_custom_command(TARGET worldserver
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_SOURCE_DIR}/modules/AnticheatModule/conf/Anticheat.conf.dist" ${CMAKE_BINARY_DIR}/bin/
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/modules/AnticheatModule/conf/Anticheat.conf.dist" DESTINATION ${CONF_DIR})
|
||||
Reference in New Issue
Block a user