Init
This commit is contained in:
36
Samples/RPC3/CMakeLists.txt
Normal file
36
Samples/RPC3/CMakeLists.txt
Normal 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})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user