Skip to content

Commit

Permalink
Release 2411.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Release Pipeline committed Nov 28, 2024
1 parent 3558184 commit 8b0b0c6
Show file tree
Hide file tree
Showing 156 changed files with 3,595 additions and 3,275 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
[submodule "External/libHttpClient"]
path = External/libHttpClient
url = https://github.com/microsoft/libHttpClient.git
[submodule "External/rapidjson"]
path = External/rapidjson
url = https://github.com/Tencent/rapidjson.git
[submodule "External/nlohmann"]
path = External/nlohmann
url = https://github.com/nlohmann/json.git
8 changes: 4 additions & 4 deletions Build/PlayFab.C.paths.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
</PropertyGroup>
<Import Condition="'$(HCPathsImported)' != 'true'" Project="$(HCRoot)\Build\libHttpClient.paths.props" />

<!--RapidJSON paths-->
<PropertyGroup Label="RapidJson">
<RapidJsonRoot>$(PlayFabExternalDir)\rapidjson</RapidJsonRoot>
<RapidJsonIncludeDir>$(RapidJsonRoot)\include</RapidJsonIncludeDir>
<!--NLohmann paths-->
<PropertyGroup Label="NLohmann">
<NLohmannRoot>$(PlayFabExternalDir)\nlohmann</NLohmannRoot>
<NLohmannIncludeDir>$(NLohmannRoot)\include</NLohmannIncludeDir>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions Build/PlayFabCore.Android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabCore/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
"${PATH_TO_ROOT}/External/rapidjson/include"
"${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)

Expand Down Expand Up @@ -111,7 +111,7 @@ get_linux_flags(FLAGS FLAGS_DEBUG FLAGS_RELEASE)

include("../PlayFabSharedInternal.CMake/TargetSetFlags.cmake")
target_set_flags(
"PlayFabCore.Android"
"PlayFabCore.Android"
"${FLAGS}"
"${FLAGS_DEBUG}"
"${FLAGS_RELEASE}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
Expand Down Expand Up @@ -1216,7 +1216,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
Expand Down Expand Up @@ -1406,7 +1406,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
Expand Down Expand Up @@ -1456,7 +1456,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Source",
Expand Down
8 changes: 8 additions & 0 deletions Build/PlayFabCore.GDK/PlayFabCore.GDK.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
<Link>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(Console_SdkLibPath)</AdditionalLibraryDirectories>
<AdditionalDependencies>%(AdditionalDependencies);Appnotify.lib</AdditionalDependencies>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ClCompile>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
11 changes: 6 additions & 5 deletions Build/PlayFabCore.Linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabServices/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
"${PATH_TO_ROOT}/External/rapidjson/include/rapidjson"
"${PATH_TO_ROOT}/External/rapidjson/include"
"${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)

Expand All @@ -73,11 +72,13 @@ set(PLAYFAB_SHARED_INTERNAL_BINARY_PATH
)
message(STATUS "PLAYFAB_SHARED_INTERNAL_BINARY_PATH: ${PLAYFAB_SHARED_INTERNAL_BINARY_PATH}")

# Removing -D_DEBUG flag due to a crash that's happening on Debug,
# The crash seems to be related with RTTI symbols not being loaded despite we're including the -frtti flag
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions("-DDBG -D_DBG -DDEBUG -D_DEBUG")
add_definitions("-DDBG -D_DBG -DDEBUG")
endif()

#########################
### Set up shared lib ###
#########################
Expand All @@ -94,7 +95,7 @@ add_library(
"${PATH_TO_SOURCE}/PlayFabCore/Source/Platform/Generic/LocalStorage_Generic.h"
)

target_link_libraries("${PROJECT_NAME}"
target_link_libraries("${PROJECT_NAME}"
PRIVATE ${PLAYFAB_SHARED_INTERNAL_BINARY_PATH}
PRIVATE ${LIBHTTPCLIENT_BINARY_PATH}
)
Expand Down
2 changes: 1 addition & 1 deletion Build/PlayFabCore.Linux/PlayFabCore_Linux.bash
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ log "LHC_PATH = ${LHC_PATH}"

# make PlayFabCore
sudo cmake -S "$SCRIPT_DIR" -B "$SCRIPT_DIR"/../../Int/CMake/PlayFabCore.Linux -D CMAKE_BUILD_TYPE=$CONFIGURATION -D LHC_PATH=$LHC_PATH
sudo make -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabCore.Linux
sudo make VERBOSE=1 -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabCore.Linux
64 changes: 64 additions & 0 deletions Build/PlayFabCore.Win32/PlayFabCore.Win32.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,70 @@
<PlatformToolset>v143</PlatformToolset>
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\Source\PlayFabCore\Source\Platform\Generic\LocalStorage_Generic.cpp" />
<ClCompile Include="..\..\Source\PlayFabCore\Source\Platform\Generic\Platform_Generic.cpp" />
Expand Down
4 changes: 2 additions & 2 deletions Build/PlayFabServices.Android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabServices/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
"${PATH_TO_ROOT}/External/rapidjson/include"
"${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)

#########################
### Set up shared lib ###
#########################

# We'll usually want to build for full, but adding a case here if we want to build just for x84_64 or arm8
# We'll usually want to build for full, but adding a case here if we want to build just for x84_64 or arm8
# TODO: Full flavor should just trigger the other two flavors. Weird that it creates a full directory. Something to look into.
# IF (EXISTS "${PATH_TO_ROOT}/Out/Android/PlayFabCore.Android/intermediates/cmake/full${CMAKE_BUILD_TYPE}")
# add_subdirectory("../PlayFabCore.Android" ${PATH_TO_ROOT}/Out/Android/PlayFabCore.Android/intermediates/cmake/full${CMAKE_BUILD_TYPE}/obj/${ANDROID_ABI})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
Expand Down Expand Up @@ -1750,7 +1750,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
Expand Down Expand Up @@ -1797,7 +1797,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
Expand Down Expand Up @@ -1846,7 +1846,7 @@
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../../libHttpClient/Include",
"$(SRCROOT)/../../External/rapidjson/include",
"$(SRCROOT)/../../External/nlohmann/include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include",
"$(SRCROOT)/../../Source/PlayFabSharedInternal/Include/Generated",
"$(SRCROOT)/../../Source/PlayFabCore/Include",
Expand Down
16 changes: 16 additions & 0 deletions Build/PlayFabServices.GDK/PlayFabServices.GDK.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@
<GDKExtLibNames>;</GDKExtLibNames>
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">
<Link>
<AdditionalOptions>/profile /opt:ref /opt:icf %(AdditionalOptions)</AdditionalOptions>
</Link>
<ClCompile>
<AdditionalOptions>/Zi %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\Source\PlayFabServices\Source\GDK\AccountManagementXTokenAPIs.cpp" />
<ClCompile Include="..\..\Source\PlayFabServices\Source\GDK\FriendsXTokenAPIs.cpp" />
Expand Down
11 changes: 6 additions & 5 deletions Build/PlayFabServices.Linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ set(COMMON_INCLUDE_DIRS
"${PATH_TO_SOURCE}/PlayFabServices/Include/Generated"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include"
"${PATH_TO_SOURCE}/PlayFabSharedInternal/Include/Generated"
"${PATH_TO_ROOT}/External/rapidjson/include/rapidjson"
"${PATH_TO_ROOT}/External/rapidjson/include"
"${PATH_TO_ROOT}/External/nlohmann/include"
"${PATH_TO_LHC}/Include"
)

Expand All @@ -83,20 +82,22 @@ message(STATUS "PLAYFAB_CORE_BINARY_PATH: ${PLAYFAB_CORE_BINARY_PATH}")

message(STATUS "PROJECT_NAME: ${PROJECT_NAME}")

# Removing -D_DEBUG flag due to a crash that's happening on Debug,
# The crash seems to be related with RTTI symbols not being loaded despite we're including the -frtti flag
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions("-DDBG -D_DBG -DDEBUG -D_DEBUG")
add_definitions("-DDBG -D_DBG -DDEBUG")
endif()

# make ${PROJECT_NAME}.so
add_library(
"${PROJECT_NAME}"
SHARED
"${SERVICE_WRAPPER_SOURCE_FILES}"
"${COMMON_SOURCE_FILES}"
"${COMMON_SOURCE_FILES}"
)

target_link_libraries("${PROJECT_NAME}"
target_link_libraries("${PROJECT_NAME}"
PRIVATE ${PLAYFAB_CORE_BINARY_PATH}
PRIVATE ${PLAYFAB_SHARED_INTERNAL_BINARY_PATH}
PRIVATE ${LIBHTTPCLIENT_BINARY_PATH}
Expand Down
4 changes: 2 additions & 2 deletions Build/PlayFabServices.Linux/PlayFabServices_Linux.bash
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if [ "$BUILD_PF_CORE" = true ]; then
bash "$SCRIPT_DIR"/../PlayFabCore.Linux/PlayFabCore_Linux.bash -c "$CONFIGURATION" -lhc "$LHC_PATH"
fi

log "#### Building PlayFabServices ####"
log "#### Building PlayFabServices ####"
log "CONFIGURATION = ${CONFIGURATION}"
log "LHC_PATH = ${LHC_PATH}"
log "BUILD_LHC = ${BUILD_LHC}"
Expand All @@ -97,4 +97,4 @@ log "BUILD_PF_CORE = ${BUILD_PF_CORE}"

# make PlayFabServices
sudo cmake -S "$SCRIPT_DIR" -B "$SCRIPT_DIR"/../../Int/CMake/PlayFabServices.Linux -D CMAKE_BUILD_TYPE=$CONFIGURATION -D LHC_PATH=$LHC_PATH
sudo make -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabServices.Linux
sudo make VERBOSE=1 -C "$SCRIPT_DIR"/../../Int/CMake/PlayFabServices.Linux
Loading

0 comments on commit 8b0b0c6

Please sign in to comment.