This commit is contained in:
2025-11-24 14:19:51 +05:30
commit f5c1412b28
6734 changed files with 1527575 additions and 0 deletions

View File

@ -0,0 +1,36 @@
#
# This file was taken from RakNet 4.082.
# Please see licenses/RakNet license.txt for the underlying license and related copyright.
#
#
# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschr<68>nkt)
#
# This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
# license found in the license.txt file in the root directory of this source tree.
#
cmake_minimum_required(VERSION 2.6)
GETCURRENTFOLDER()
FINDBOOST()
set(LibRPC3_SOURCE_DIR ${SLikeNet_SOURCE_DIR}/DependentExtensions/RPC3/)
project(RPC3)
IF (WIN32 AND NOT UNIX)
SET(PLUGINFILES ${LibRPC3_SOURCE_DIR}/RPC3.cpp ${LibRPC3_SOURCE_DIR}/RPC3.h ${LibRPC3_SOURCE_DIR}/RPC3_Boost.h)
SOURCE_GROUP(Plugin FILES ${PLUGINFILES})
SOURCE_GROUP(Sample FILES RPC3Sample.cpp)
SET(EXTRALIBS "")
SET(EXTRASOURCES ${PLUGINFILES})
ELSE(WIN32 AND NOT UNIX)
SET(EXTRALIBS LibRPC3)
SET(EXTRASOURCES "")
ENDIF(WIN32 AND NOT UNIX)
SET(EXTRAINCLUDES ${LibRPC3_SOURCE_DIR} ${Boost_INCLUDE_DIRS})
STANDARDSUBPROJECTWITHOPTIONSSET(${current_folder})