Initial upload of AnticheatModule

This commit is contained in:
3ndos
2016-12-05 11:39:52 -05:00
commit 05231e0c2c
15 changed files with 1181 additions and 0 deletions

View 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})