CMake Upgrade

This commit is contained in:
2025-11-25 04:49:30 +05:30
parent f5c1412b28
commit 42e19744e8
69 changed files with 75 additions and 75 deletions

View File

@ -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")

View File

@ -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)

View File

@ -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()

View File

@ -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")

View File

@ -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)

View File

@ -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")

View File

@ -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")

View File

@ -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 )

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

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

View File

@ -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")

View File

@ -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()

View File

@ -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")

View File

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

View File

@ -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")

View File

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

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

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

View File

@ -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")

View File

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

View File

@ -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")

View File

@ -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<68>nkt)
# 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)
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)

View File

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

View File

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

View File

@ -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")

View File

@ -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<68>nkt)
# 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)
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

View File

@ -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" "")

View File

@ -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")

View File

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

View File

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

View File

@ -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")

View File

@ -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<68>nkt)
# 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)
cmake_minimum_required(VERSION 3.12)
GETCURRENTFOLDER()
FINDBOOST()

View File

@ -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")

View File

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

View File

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

View File

@ -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)

View File

@ -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()

View File

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

View File

@ -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")

View File

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

View File

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

View File

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

View File

@ -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")

View File

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

View File

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

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

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

View File

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

View File

@ -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")