37 lines
1.1 KiB
CMake
37 lines
1.1 KiB
CMake
#
|
||
# 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 3.12)
|
||
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})
|
||
|
||
|
||
|
||
|
||
|
||
|