From 42e19744e8e3ee4e6997f295ff18195a67c279b9 Mon Sep 17 00:00:00 2001 From: dev0 Date: Tue, 25 Nov 2025 04:49:30 +0530 Subject: [PATCH] CMake Upgrade --- CMakeLists.txt | 2 +- DependentExtensions/CMakeLists.txt | 4 ++-- DependentExtensions/IrrlichtDemo/CMakeLists.txt | 2 +- DependentExtensions/Ogre3DInterpDemo/CMakeLists.txt | 4 ++-- DependentExtensions/RPC3/CMakeLists.txt | 4 ++-- DependentExtensions/portaudio_v18_1/CMakeLists.txt | 2 +- DependentExtensions/speex-1.1.12/CMakeLists.txt | 2 +- Lib/CMakeLists.txt | 2 +- Lib/DLL/CMakeLists.txt | 2 +- Lib/LibStatic/CMakeLists.txt | 2 +- Samples/AutoPatcherServer_MySQL/CMakeLists.txt | 2 +- Samples/AutopatcherClient/CMakeLists.txt | 2 +- Samples/AutopatcherClientGFx3.0/CMakeLists.txt | 2 +- Samples/AutopatcherClientRestarter/CMakeLists.txt | 2 +- Samples/AutopatcherServer/CMakeLists.txt | 2 +- Samples/BigPacketTest/CMakeLists.txt | 2 +- Samples/BurstTest/CMakeLists.txt | 2 +- Samples/CMakeLists.txt | 2 +- Samples/ChatExample/CMakeLists.txt | 2 +- Samples/CloudClient/CMakeLists.txt | 2 +- Samples/CloudServer/CMakeLists.txt | 2 +- Samples/CloudTest/CMakeLists.txt | 2 +- Samples/CommandConsoleClient/CMakeLists.txt | 2 +- Samples/CommandConsoleServer/CMakeLists.txt | 2 +- Samples/ComprehensivePCGame/CMakeLists.txt | 2 +- Samples/ComprehensiveTest/CMakeLists.txt | 2 +- Samples/CrashReporter/CMakeLists.txt | 2 +- Samples/CrossConnectionTest/CMakeLists.txt | 2 +- Samples/DirectoryDeltaTransfer/CMakeLists.txt | 2 +- Samples/DroppedConnectionTest/CMakeLists.txt | 2 +- Samples/Encryption/CMakeLists.txt | 2 +- Samples/FCMHost/CMakeLists.txt | 2 +- Samples/FCMHostSimultaneous/CMakeLists.txt | 2 +- Samples/FCMVerifiedJoinSimultaneous/CMakeLists.txt | 2 +- Samples/FileListTransfer/CMakeLists.txt | 2 +- Samples/FlowControlTest/CMakeLists.txt | 2 +- Samples/FullyConnectedMesh/CMakeLists.txt | 2 +- Samples/LANServerDiscovery/CMakeLists.txt | 2 +- Samples/Lobby2Client/CMakeLists.txt | 4 ++-- Samples/MasterServer/CMakeLists.txt | 2 +- Samples/MessageFilter/CMakeLists.txt | 2 +- Samples/MessageSizeTest/CMakeLists.txt | 2 +- Samples/NATCompleteClient/CMakeLists.txt | 4 ++-- Samples/NATCompleteServer/CMakeLists.txt | 2 +- Samples/OfflineMessagesTest/CMakeLists.txt | 2 +- Samples/PHPDirectoryServer2/CMakeLists.txt | 2 +- Samples/PacketLogger/CMakeLists.txt | 2 +- Samples/Ping/CMakeLists.txt | 2 +- Samples/RPC3/CMakeLists.txt | 4 ++-- Samples/RPC4/CMakeLists.txt | 2 +- Samples/RackspaceConsole/CMakeLists.txt | 2 +- Samples/RakVoice/CMakeLists.txt | 2 +- Samples/RakVoiceDSound/CMakeLists.txt | 2 +- Samples/RakVoiceFMOD/CMakeLists.txt | 2 +- Samples/RelayPluginTest/CMakeLists.txt | 2 +- Samples/ReliableOrderedTest/CMakeLists.txt | 2 +- Samples/ReplicaManager3/CMakeLists.txt | 2 +- Samples/Router2/CMakeLists.txt | 2 +- Samples/SendEmail/CMakeLists.txt | 2 +- Samples/ServerClientTest2/CMakeLists.txt | 2 +- Samples/StatisticsHistoryTest/CMakeLists.txt | 2 +- Samples/TeamManager/CMakeLists.txt | 2 +- Samples/TestDLL/CMakeLists.txt | 2 +- Samples/Tests/CMakeLists.txt | 2 +- Samples/ThreadTest/CMakeLists.txt | 2 +- Samples/Timestamping/CMakeLists.txt | 2 +- Samples/TitleValidationDB_PostgreSQL/CMakeLists.txt | 2 +- Samples/TwoWayAuthentication/CMakeLists.txt | 2 +- Samples/UDPForwarder/CMakeLists.txt | 2 +- 69 files changed, 75 insertions(+), 75 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 007291d..7da1b01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) # CMake policy settings if( POLICY CMP0037 ) diff --git a/DependentExtensions/CMakeLists.txt b/DependentExtensions/CMakeLists.txt index cd63642..9ae6c83 100644 --- a/DependentExtensions/CMakeLists.txt +++ b/DependentExtensions/CMakeLists.txt @@ -3,13 +3,13 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # # -# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschränkt) +# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschr�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) +cmake_minimum_required(VERSION 3.12) option( RAKNET_ENABLE_EXTENSIONS "Enable extension projects that might need specific dependencies." TRUE ) option( RAKNET_EXTENSION_USEMYSQL "Enable extensions using MySQL" TRUE ) diff --git a/DependentExtensions/IrrlichtDemo/CMakeLists.txt b/DependentExtensions/IrrlichtDemo/CMakeLists.txt index 47aa076..89f5da0 100644 --- a/DependentExtensions/IrrlichtDemo/CMakeLists.txt +++ b/DependentExtensions/IrrlichtDemo/CMakeLists.txt @@ -10,7 +10,7 @@ # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() FINDIRRLICHT() IF(WIN32 AND NOT UNIX) diff --git a/DependentExtensions/Ogre3DInterpDemo/CMakeLists.txt b/DependentExtensions/Ogre3DInterpDemo/CMakeLists.txt index 099871e..3c931ff 100644 --- a/DependentExtensions/Ogre3DInterpDemo/CMakeLists.txt +++ b/DependentExtensions/Ogre3DInterpDemo/CMakeLists.txt @@ -3,13 +3,13 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # # -# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschränkt) +# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschr�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) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() IF(UNIX AND USEOIS AND NOT DISABLEDEPENDENCIES) diff --git a/DependentExtensions/RPC3/CMakeLists.txt b/DependentExtensions/RPC3/CMakeLists.txt index b819c2a..b36e2cd 100644 --- a/DependentExtensions/RPC3/CMakeLists.txt +++ b/DependentExtensions/RPC3/CMakeLists.txt @@ -3,13 +3,13 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # # -# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschränkt) +# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschr�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) +cmake_minimum_required(VERSION 3.12) project(LibRPC3) IF (NOT WIN32 AND UNIX) FILE(GLOB ALL_HEADER_SRCS *.h) diff --git a/DependentExtensions/portaudio_v18_1/CMakeLists.txt b/DependentExtensions/portaudio_v18_1/CMakeLists.txt index e23857c..3ff4649 100644 --- a/DependentExtensions/portaudio_v18_1/CMakeLists.txt +++ b/DependentExtensions/portaudio_v18_1/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(portaudio) diff --git a/DependentExtensions/speex-1.1.12/CMakeLists.txt b/DependentExtensions/speex-1.1.12/CMakeLists.txt index 69430bc..a76d363 100644 --- a/DependentExtensions/speex-1.1.12/CMakeLists.txt +++ b/DependentExtensions/speex-1.1.12/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(speex) diff --git a/Lib/CMakeLists.txt b/Lib/CMakeLists.txt index 903452c..4d31713 100644 --- a/Lib/CMakeLists.txt +++ b/Lib/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) set(SLIKENET_INTERNAL_INCLUDE_DIRS ${SLikeNet_SOURCE_DIR}/Source/include diff --git a/Lib/DLL/CMakeLists.txt b/Lib/DLL/CMakeLists.txt index 2d1e078..00f0e00 100644 --- a/Lib/DLL/CMakeLists.txt +++ b/Lib/DLL/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(SLikeNetDLL) diff --git a/Lib/LibStatic/CMakeLists.txt b/Lib/LibStatic/CMakeLists.txt index 955a99d..231bf71 100644 --- a/Lib/LibStatic/CMakeLists.txt +++ b/Lib/LibStatic/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(SLikeNetLibStatic) diff --git a/Samples/AutoPatcherServer_MySQL/CMakeLists.txt b/Samples/AutoPatcherServer_MySQL/CMakeLists.txt index b1f626e..6cbff8f 100644 --- a/Samples/AutoPatcherServer_MySQL/CMakeLists.txt +++ b/Samples/AutoPatcherServer_MySQL/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project("AutoPatcherServer_MySQL") IF(WIN32 AND NOT UNIX) FILE(GLOB AUTOSRC "${Autopatcher_SOURCE_DIR}/AutopatcherServer.cpp" "${Autopatcher_SOURCE_DIR}/MemoryCompressor.cpp" "${Autopatcher_SOURCE_DIR}/CreatePatch.cpp" "${Autopatcher_SOURCE_DIR}/AutopatcherServer.h") diff --git a/Samples/AutopatcherClient/CMakeLists.txt b/Samples/AutopatcherClient/CMakeLists.txt index 6493977..6a50954 100644 --- a/Samples/AutopatcherClient/CMakeLists.txt +++ b/Samples/AutopatcherClient/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(AutopatcherClient) set(Autopatcher_SOURCE_DIR ${SLikeNet_SOURCE_DIR}/DependentExtensions/Autopatcher) diff --git a/Samples/AutopatcherClientGFx3.0/CMakeLists.txt b/Samples/AutopatcherClientGFx3.0/CMakeLists.txt index df5a920..de0b809 100644 --- a/Samples/AutopatcherClientGFx3.0/CMakeLists.txt +++ b/Samples/AutopatcherClientGFx3.0/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(AutopatcherClientGFx3) IF(WIN32 AND NOT UNIX) FINDD3D() diff --git a/Samples/AutopatcherClientRestarter/CMakeLists.txt b/Samples/AutopatcherClientRestarter/CMakeLists.txt index 3c82e69..a1ef9fc 100644 --- a/Samples/AutopatcherClientRestarter/CMakeLists.txt +++ b/Samples/AutopatcherClientRestarter/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(AutopatcherClientRestarter) include_directories(${SLIKENET_HEADER_FILES} ./) add_executable(AutopatcherClientRestarter "main.cpp") diff --git a/Samples/AutopatcherServer/CMakeLists.txt b/Samples/AutopatcherServer/CMakeLists.txt index 922a53e..0369f8a 100644 --- a/Samples/AutopatcherServer/CMakeLists.txt +++ b/Samples/AutopatcherServer/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project(AutopatcherServer) IF(WIN32 AND NOT UNIX) diff --git a/Samples/BigPacketTest/CMakeLists.txt b/Samples/BigPacketTest/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/BigPacketTest/CMakeLists.txt +++ b/Samples/BigPacketTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/BurstTest/CMakeLists.txt b/Samples/BurstTest/CMakeLists.txt index 87da963..d431c99 100644 --- a/Samples/BurstTest/CMakeLists.txt +++ b/Samples/BurstTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(BurstTest) VSUBFOLDER(BurstTest "Internal Tests") diff --git a/Samples/CMakeLists.txt b/Samples/CMakeLists.txt index f3a3b06..4299eb1 100644 --- a/Samples/CMakeLists.txt +++ b/Samples/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) option( RAKNET_SAMPLE_AutopatcherClient "" True ) #option( RAKNET_SAMPLE_AutopatcherClientGFx3_0 "" True ) diff --git a/Samples/ChatExample/CMakeLists.txt b/Samples/ChatExample/CMakeLists.txt index b0d743a..8ef18ed 100644 --- a/Samples/ChatExample/CMakeLists.txt +++ b/Samples/ChatExample/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) project("Chat Example") include_directories(${SLIKENET_HEADER_FILES} ./) add_executable(ChatServer "Server/Chat Example Server.cpp") diff --git a/Samples/CloudClient/CMakeLists.txt b/Samples/CloudClient/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/CloudClient/CMakeLists.txt +++ b/Samples/CloudClient/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/CloudServer/CMakeLists.txt b/Samples/CloudServer/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/CloudServer/CMakeLists.txt +++ b/Samples/CloudServer/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/CloudTest/CMakeLists.txt b/Samples/CloudTest/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/CloudTest/CMakeLists.txt +++ b/Samples/CloudTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/CommandConsoleClient/CMakeLists.txt b/Samples/CommandConsoleClient/CMakeLists.txt index 65952a5..d926ce8 100644 --- a/Samples/CommandConsoleClient/CMakeLists.txt +++ b/Samples/CommandConsoleClient/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples/Command Console") diff --git a/Samples/CommandConsoleServer/CMakeLists.txt b/Samples/CommandConsoleServer/CMakeLists.txt index 36eb506..2ae2bd7 100644 --- a/Samples/CommandConsoleServer/CMakeLists.txt +++ b/Samples/CommandConsoleServer/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples/Command Console") diff --git a/Samples/ComprehensivePCGame/CMakeLists.txt b/Samples/ComprehensivePCGame/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/ComprehensivePCGame/CMakeLists.txt +++ b/Samples/ComprehensivePCGame/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/ComprehensiveTest/CMakeLists.txt b/Samples/ComprehensiveTest/CMakeLists.txt index 5d96f50..a489689 100644 --- a/Samples/ComprehensiveTest/CMakeLists.txt +++ b/Samples/ComprehensiveTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/CrashReporter/CMakeLists.txt b/Samples/CrashReporter/CMakeLists.txt index 283258f..c71bc86 100644 --- a/Samples/CrashReporter/CMakeLists.txt +++ b/Samples/CrashReporter/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) IF (WIN32 AND NOT UNIX) GETCURRENTFOLDER() diff --git a/Samples/CrossConnectionTest/CMakeLists.txt b/Samples/CrossConnectionTest/CMakeLists.txt index 2b3788d..5232b18 100644 --- a/Samples/CrossConnectionTest/CMakeLists.txt +++ b/Samples/CrossConnectionTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/DirectoryDeltaTransfer/CMakeLists.txt b/Samples/DirectoryDeltaTransfer/CMakeLists.txt index 576b16d..6341f83 100644 --- a/Samples/DirectoryDeltaTransfer/CMakeLists.txt +++ b/Samples/DirectoryDeltaTransfer/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() project(${current_folder}) diff --git a/Samples/DroppedConnectionTest/CMakeLists.txt b/Samples/DroppedConnectionTest/CMakeLists.txt index 0dbd230..2f6d55f 100644 --- a/Samples/DroppedConnectionTest/CMakeLists.txt +++ b/Samples/DroppedConnectionTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(DroppedConnectionTest) VSUBFOLDER(DroppedConnectionTest "Internal Tests") diff --git a/Samples/Encryption/CMakeLists.txt b/Samples/Encryption/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/Encryption/CMakeLists.txt +++ b/Samples/Encryption/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/FCMHost/CMakeLists.txt b/Samples/FCMHost/CMakeLists.txt index 5d96f50..a489689 100644 --- a/Samples/FCMHost/CMakeLists.txt +++ b/Samples/FCMHost/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/FCMHostSimultaneous/CMakeLists.txt b/Samples/FCMHostSimultaneous/CMakeLists.txt index 5d96f50..a489689 100644 --- a/Samples/FCMHostSimultaneous/CMakeLists.txt +++ b/Samples/FCMHostSimultaneous/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/FCMVerifiedJoinSimultaneous/CMakeLists.txt b/Samples/FCMVerifiedJoinSimultaneous/CMakeLists.txt index 5d96f50..a489689 100644 --- a/Samples/FCMVerifiedJoinSimultaneous/CMakeLists.txt +++ b/Samples/FCMVerifiedJoinSimultaneous/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/FileListTransfer/CMakeLists.txt b/Samples/FileListTransfer/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/FileListTransfer/CMakeLists.txt +++ b/Samples/FileListTransfer/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/FlowControlTest/CMakeLists.txt b/Samples/FlowControlTest/CMakeLists.txt index 686ecaf..ea1a94d 100644 --- a/Samples/FlowControlTest/CMakeLists.txt +++ b/Samples/FlowControlTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(FlowControlTest) VSUBFOLDER(FlowControlTest "Internal Tests") diff --git a/Samples/FullyConnectedMesh/CMakeLists.txt b/Samples/FullyConnectedMesh/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/FullyConnectedMesh/CMakeLists.txt +++ b/Samples/FullyConnectedMesh/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/LANServerDiscovery/CMakeLists.txt b/Samples/LANServerDiscovery/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/LANServerDiscovery/CMakeLists.txt +++ b/Samples/LANServerDiscovery/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/Lobby2Client/CMakeLists.txt b/Samples/Lobby2Client/CMakeLists.txt index f97cd92..103a653 100644 --- a/Samples/Lobby2Client/CMakeLists.txt +++ b/Samples/Lobby2Client/CMakeLists.txt @@ -3,13 +3,13 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # # -# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschränkt) +# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschr�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) +cmake_minimum_required(VERSION 3.12) project(Lobby2Client) include_directories(${SLIKENET_HEADER_FILES} ./ ${SLikeNet_SOURCE_DIR}/DependentExtensions/Lobby2 ${SLikeNet_SOURCE_DIR}/DependentExtensions/Lobby2/Rooms) FILE(GLOB LOBBYFILES ${SLikeNet_SOURCE_DIR}/DependentExtensions/Lobby2/*.cpp ${SLikeNet_SOURCE_DIR}/DependentExtensions/Lobby2/*.h) diff --git a/Samples/MasterServer/CMakeLists.txt b/Samples/MasterServer/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/MasterServer/CMakeLists.txt +++ b/Samples/MasterServer/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/MessageFilter/CMakeLists.txt b/Samples/MessageFilter/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/MessageFilter/CMakeLists.txt +++ b/Samples/MessageFilter/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/MessageSizeTest/CMakeLists.txt b/Samples/MessageSizeTest/CMakeLists.txt index 5d96f50..a489689 100644 --- a/Samples/MessageSizeTest/CMakeLists.txt +++ b/Samples/MessageSizeTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/NATCompleteClient/CMakeLists.txt b/Samples/NATCompleteClient/CMakeLists.txt index d57ad31..0a40a4e 100644 --- a/Samples/NATCompleteClient/CMakeLists.txt +++ b/Samples/NATCompleteClient/CMakeLists.txt @@ -3,13 +3,13 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # # -# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschränkt) +# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschr�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) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() SET(EXTRALIBS "") #Extra libraries, we have none #note the .h files are included so they show up in the windows project diff --git a/Samples/NATCompleteServer/CMakeLists.txt b/Samples/NATCompleteServer/CMakeLists.txt index a207a1d..1595787 100644 --- a/Samples/NATCompleteServer/CMakeLists.txt +++ b/Samples/NATCompleteServer/CMakeLists.txt @@ -9,6 +9,6 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECTWITHOPTIONS(${current_folder} "${SLikeNet_SOURCE_DIR}/Samples/CloudServer" "${SLikeNet_SOURCE_DIR}/Samples/CloudServer/CloudServerHelper.cpp" "") diff --git a/Samples/OfflineMessagesTest/CMakeLists.txt b/Samples/OfflineMessagesTest/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/OfflineMessagesTest/CMakeLists.txt +++ b/Samples/OfflineMessagesTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/PHPDirectoryServer2/CMakeLists.txt b/Samples/PHPDirectoryServer2/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/PHPDirectoryServer2/CMakeLists.txt +++ b/Samples/PHPDirectoryServer2/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/PacketLogger/CMakeLists.txt b/Samples/PacketLogger/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/PacketLogger/CMakeLists.txt +++ b/Samples/PacketLogger/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/Ping/CMakeLists.txt b/Samples/Ping/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/Ping/CMakeLists.txt +++ b/Samples/Ping/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/RPC3/CMakeLists.txt b/Samples/RPC3/CMakeLists.txt index a12977c..c9d8a3f 100644 --- a/Samples/RPC3/CMakeLists.txt +++ b/Samples/RPC3/CMakeLists.txt @@ -3,13 +3,13 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # # -# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschränkt) +# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschr�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) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() FINDBOOST() diff --git a/Samples/RPC4/CMakeLists.txt b/Samples/RPC4/CMakeLists.txt index cb494f8..d7373b7 100644 --- a/Samples/RPC4/CMakeLists.txt +++ b/Samples/RPC4/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/RackspaceConsole/CMakeLists.txt b/Samples/RackspaceConsole/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/RackspaceConsole/CMakeLists.txt +++ b/Samples/RackspaceConsole/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/RakVoice/CMakeLists.txt b/Samples/RakVoice/CMakeLists.txt index b1c5675..1e3a416 100644 --- a/Samples/RakVoice/CMakeLists.txt +++ b/Samples/RakVoice/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() FINDPORTAUDIO() project(${current_folder}) diff --git a/Samples/RakVoiceDSound/CMakeLists.txt b/Samples/RakVoiceDSound/CMakeLists.txt index bfee3cc..f07fd7b 100644 --- a/Samples/RakVoiceDSound/CMakeLists.txt +++ b/Samples/RakVoiceDSound/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) IF(WIN32 AND NOT UNIX) diff --git a/Samples/RakVoiceFMOD/CMakeLists.txt b/Samples/RakVoiceFMOD/CMakeLists.txt index bdff755..3c5a4ae 100644 --- a/Samples/RakVoiceFMOD/CMakeLists.txt +++ b/Samples/RakVoiceFMOD/CMakeLists.txt @@ -9,7 +9,7 @@ # license found in the license.txt file in the root directory of this source tree. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() FINDPORTAUDIO() FINDFMODEX() diff --git a/Samples/RelayPluginTest/CMakeLists.txt b/Samples/RelayPluginTest/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/RelayPluginTest/CMakeLists.txt +++ b/Samples/RelayPluginTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/ReliableOrderedTest/CMakeLists.txt b/Samples/ReliableOrderedTest/CMakeLists.txt index ce4a4f9..59e5916 100644 --- a/Samples/ReliableOrderedTest/CMakeLists.txt +++ b/Samples/ReliableOrderedTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(ReliableOrderedTest) VSUBFOLDER(ReliableOrderedTest "Internal Tests") diff --git a/Samples/ReplicaManager3/CMakeLists.txt b/Samples/ReplicaManager3/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/ReplicaManager3/CMakeLists.txt +++ b/Samples/ReplicaManager3/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/Router2/CMakeLists.txt b/Samples/Router2/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/Router2/CMakeLists.txt +++ b/Samples/Router2/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/SendEmail/CMakeLists.txt b/Samples/SendEmail/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/SendEmail/CMakeLists.txt +++ b/Samples/SendEmail/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/ServerClientTest2/CMakeLists.txt b/Samples/ServerClientTest2/CMakeLists.txt index 5d96f50..a489689 100644 --- a/Samples/ServerClientTest2/CMakeLists.txt +++ b/Samples/ServerClientTest2/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/StatisticsHistoryTest/CMakeLists.txt b/Samples/StatisticsHistoryTest/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/StatisticsHistoryTest/CMakeLists.txt +++ b/Samples/StatisticsHistoryTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/TeamManager/CMakeLists.txt b/Samples/TeamManager/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/TeamManager/CMakeLists.txt +++ b/Samples/TeamManager/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/TestDLL/CMakeLists.txt b/Samples/TestDLL/CMakeLists.txt index aab501a..52ebe0e 100644 --- a/Samples/TestDLL/CMakeLists.txt +++ b/Samples/TestDLL/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/Tests/CMakeLists.txt b/Samples/Tests/CMakeLists.txt index aab501a..52ebe0e 100644 --- a/Samples/Tests/CMakeLists.txt +++ b/Samples/Tests/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/ThreadTest/CMakeLists.txt b/Samples/ThreadTest/CMakeLists.txt index 5d96f50..a489689 100644 --- a/Samples/ThreadTest/CMakeLists.txt +++ b/Samples/ThreadTest/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Internal Tests") diff --git a/Samples/Timestamping/CMakeLists.txt b/Samples/Timestamping/CMakeLists.txt index f41ca85..2916da9 100644 --- a/Samples/Timestamping/CMakeLists.txt +++ b/Samples/Timestamping/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples") diff --git a/Samples/TitleValidationDB_PostgreSQL/CMakeLists.txt b/Samples/TitleValidationDB_PostgreSQL/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/TitleValidationDB_PostgreSQL/CMakeLists.txt +++ b/Samples/TitleValidationDB_PostgreSQL/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/TwoWayAuthentication/CMakeLists.txt b/Samples/TwoWayAuthentication/CMakeLists.txt index b8764eb..e4a1802 100644 --- a/Samples/TwoWayAuthentication/CMakeLists.txt +++ b/Samples/TwoWayAuthentication/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) diff --git a/Samples/UDPForwarder/CMakeLists.txt b/Samples/UDPForwarder/CMakeLists.txt index 21ed14f..0fe626c 100644 --- a/Samples/UDPForwarder/CMakeLists.txt +++ b/Samples/UDPForwarder/CMakeLists.txt @@ -3,7 +3,7 @@ # Please see licenses/RakNet license.txt for the underlying license and related copyright. # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.12) GETCURRENTFOLDER() STANDARDSUBPROJECT(${current_folder}) VSUBFOLDER(${current_folder} "Samples/NAT Punchthrough")