70 lines
4.3 KiB
CMake
70 lines
4.3 KiB
CMake
#######################################################################################################################
|
|
# Configures Ubiservices properties
|
|
|
|
# Ubiservices, Rendez-Vous and Storm are using a single configuration file to set all the products at once.
|
|
# If this configuration file is already available. Set to TRUE and edit the US_HARBOUR_CONFIGURATION_PATH path
|
|
# to directory location of the file harbourConfiguration.cmake file.
|
|
us_set_bool(US_USE_EXTERNAL_HARBOUR_CONFIGURATION "FALSE")
|
|
|
|
if (US_USE_EXTERNAL_HARBOUR_CONFIGURATION)
|
|
#the directory where the harbourConfiguration.cmake file is edited in the other Harbour product.
|
|
us_set_path (US_HARBOUR_CONFIGURATION_PATH "")
|
|
endif()
|
|
|
|
us_set_bool(US_LOG_ENABLED_RETAIL "FALSE")
|
|
# If US_HIDE_DEBUG_INFO_IN_RETAIL is TRUE, __FILE__ and __LINE__ are not used in Retail.
|
|
# This avoids writing actual file names and line numbers in the binary.
|
|
us_set_bool(US_HIDE_DEBUG_INFO_IN_RETAIL "FALSE")
|
|
us_set_bool(US_STEAM_AUTHENTICATION "FALSE")
|
|
|
|
#######################################################################################################################
|
|
# Uplay PC Primary Store
|
|
# This option only concerns Windows build, and is set to FALSE by default.
|
|
# It is now the standard way to let Ubiservices SDK interact directly with Uplay primary store using Uplay SDK V2.
|
|
# If this flag is set to TRUE, the UbiServices SDK is not able to retrieve the primary store content by itself.
|
|
# Since the primary store content is needed by the UbiServices SDK (for features like secondary store and populations),
|
|
# the game must retrieve the primary store content by using the Uplay SDK, and pass this content to the Ubiservices SDK.
|
|
# Note that it is a feature that only aims to facilitate the integration of Ubiservices SDK 2020.
|
|
# It should not be available anymore in 2021.
|
|
us_set_bool(US_PC_USES_UNMANAGED_PRIMARY_STORE "FALSE")
|
|
|
|
#######################################################################################################################
|
|
# Unity3D
|
|
# Set this variable to true and edit US_UNITY3D_PATH path in order to generate a platform.unitypackage file.
|
|
# Set this variable to false in order to generate C# dlls.
|
|
us_set_bool(US_USE_UNITY3D_PATH "FALSE")
|
|
|
|
if(US_USE_UNITY3D_PATH)
|
|
#the directory where Unity.exe is found
|
|
#Example: Example: UNITY_PATH=C:\Program Files\Unity_2018.3.7f1\Editor
|
|
us_set_path(US_UNITY3D_PATH "")
|
|
endif()
|
|
|
|
#######################################################################################################################
|
|
# Modules
|
|
us_set_bool(US_USE_MODULE_APPLICATION "TRUE")
|
|
us_set_bool(US_USE_MODULE_BATTLEPASS "FALSE")
|
|
us_set_bool(US_USE_MODULE_BLOCKLIST "FALSE")
|
|
us_set_bool(US_USE_MODULE_CHALLENGE "TRUE")
|
|
us_set_bool(US_USE_MODULE_CLUB "TRUE")
|
|
us_set_bool(US_USE_MODULE_ENTITY "TRUE")
|
|
us_set_bool(US_USE_MODULE_FRIEND "TRUE") #Note: this module requires Profile and User module also activated
|
|
us_set_bool(US_USE_MODULE_GAMESPLAYED "FALSE")
|
|
us_set_bool(US_USE_MODULE_LEADERBOARD "FALSE")
|
|
us_set_bool(US_USE_MODULE_LOCALIZATION "FALSE")
|
|
us_set_bool(US_USE_MODULE_MATCHMAKING "FALSE")
|
|
us_set_bool(US_USE_MODULE_MODERATION "FALSE")
|
|
us_set_bool(US_USE_MODULE_NEWS "TRUE")
|
|
us_set_bool(US_USE_MODULE_PERSONA "FALSE")
|
|
us_set_bool(US_USE_MODULE_PLAYER_ONLINE_STATUS "FALSE")
|
|
us_set_bool(US_USE_MODULE_PLAYERREPORTS "FALSE")
|
|
us_set_bool(US_USE_MODULE_PROFILE "TRUE")
|
|
us_set_bool(US_USE_MODULE_RECOMMENDATIONS "FALSE")
|
|
us_set_bool(US_USE_MODULE_SECONDARYSTORE_INSTANTIATION "FALSE") #Note: this module requires Store module also activated
|
|
us_set_bool(US_USE_MODULE_STATS "TRUE")
|
|
us_set_bool(US_USE_MODULE_STORE "FALSE")
|
|
us_set_bool(US_USE_MODULE_TLOG "TRUE")
|
|
us_set_bool(US_USE_MODULE_UGC "FALSE")
|
|
us_set_bool(US_USE_MODULE_UPLAY "TRUE")
|
|
us_set_bool(US_USE_MODULE_USER "TRUE") #Note: this module requires Profile module also activated
|
|
us_set_bool(US_USE_MODULE_VOICECHAT "FALSE")
|