Родитель
4bec6f9234
Коммит
9e7e51e086
|
@ -13,7 +13,7 @@ notification_service::notification_service(_In_ XblContextHandle contextHandle)
|
|||
|
||||
notification_service::~notification_service()
|
||||
{
|
||||
#if !XSAPI_UNIT_TESTS
|
||||
#if !XSAPI_UNIT_TESTS && !HC_PLATFORM_IS_EXTERNAL
|
||||
unsubscribe_from_notifications().wait();
|
||||
#endif
|
||||
XblContextCloseHandle(m_xblContext);
|
||||
|
|
|
@ -87,7 +87,9 @@ public:
|
|||
#endif
|
||||
);
|
||||
|
||||
#if !HC_PLATFORM_IS_EXTERNAL
|
||||
inline pplx::task<xbox_live_result<void>> unsubscribe_from_notifications();
|
||||
#endif
|
||||
|
||||
#if HC_PLATFORM == HC_PLATFORM_WIN32 && !XSAPI_UNIT_TESTS
|
||||
inline std::function<void(invite_notification_event_args&)>& game_invite_handler();
|
||||
|
|
|
@ -297,8 +297,8 @@ Result<MultiplayerActivityInviteData> MultiplayerActivityInviteData::Deserialize
|
|||
|
||||
AchievementUnlockEvent::AchievementUnlockEvent(AchievementUnlockEvent&& event) noexcept :
|
||||
m_achievementId(std::move(event.m_achievementId)),
|
||||
m_achievementName(std::move(event.m_achievementName)),
|
||||
m_achievementDescription(std::move(event.m_achievementDescription)),
|
||||
m_achievementName(std::move(event.m_achievementName)),
|
||||
m_achievementIconUri(std::move(event.m_achievementIconUri)),
|
||||
m_deepLink(event.m_deepLink)
|
||||
{
|
||||
|
@ -317,8 +317,8 @@ AchievementUnlockEvent::AchievementUnlockEvent(AchievementUnlockEvent&& event) n
|
|||
|
||||
AchievementUnlockEvent::AchievementUnlockEvent(const AchievementUnlockEvent& event) :
|
||||
m_achievementId(event.m_achievementId),
|
||||
m_achievementName(event.m_achievementName),
|
||||
m_achievementDescription(event.m_achievementDescription),
|
||||
m_achievementName(event.m_achievementName),
|
||||
m_achievementIconUri(event.m_achievementIconUri),
|
||||
m_deepLink(event.m_deepLink)
|
||||
{
|
||||
|
|
|
@ -193,8 +193,7 @@ void Connection::AppStateChangeNotificationReceived(
|
|||
|
||||
if (!this->m_isSuspended && this->m_state == XblRealTimeActivityConnectionState::Disconnected)
|
||||
{
|
||||
lock.unlock();
|
||||
Reconnect();
|
||||
Reconnect(std::move(lock));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -667,10 +666,8 @@ void Connection::ConnectCompleteHandler(WebsocketResult result) noexcept
|
|||
m_stateChangedHandler(m_state);
|
||||
}
|
||||
|
||||
void Connection::Reconnect() noexcept
|
||||
void Connection::Reconnect(std::unique_lock<std::mutex>&& lock) noexcept
|
||||
{
|
||||
std::unique_lock<std::mutex> lock{ m_lock };
|
||||
|
||||
// Immediately attempt to reconnect. libHttpClient websocket does not support connecting
|
||||
// the same websocket handle multiple times, so create a new one.
|
||||
auto hr = InitializeWebsocket();
|
||||
|
@ -751,7 +748,6 @@ void Connection::DisconnectHandler(WebSocketCloseStatus status) noexcept
|
|||
subState->serviceStatus = Subscription::State::ServiceStatus::Inactive;
|
||||
}
|
||||
|
||||
|
||||
m_state = XblRealTimeActivityConnectionState::Disconnected;
|
||||
|
||||
// On GDK, if the cause of the disconnection is that the title went into suspended mode
|
||||
|
@ -760,8 +756,7 @@ void Connection::DisconnectHandler(WebSocketCloseStatus status) noexcept
|
|||
#if HC_PLATFORM == HC_PLATFORM_GDK
|
||||
if (!this->m_isSuspended) {
|
||||
#endif
|
||||
lock.unlock();
|
||||
Reconnect();
|
||||
Reconnect(std::move(lock));
|
||||
|
||||
#if HC_PLATFORM == HC_PLATFORM_GDK
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ private:
|
|||
void DisconnectHandler(WebSocketCloseStatus result) noexcept;
|
||||
void WebsocketMessageReceived(const String& message) noexcept;
|
||||
HRESULT InitializeWebsocket() noexcept;
|
||||
void Reconnect() noexcept;
|
||||
void Reconnect(std::unique_lock<std::mutex>&& lock) noexcept;
|
||||
|
||||
User m_user;
|
||||
TaskQueue const m_queue;
|
||||
|
|
|
@ -6,9 +6,29 @@
|
|||
|
||||
NAMESPACE_MICROSOFT_XBOX_SERVICES_CPP_BEGIN
|
||||
|
||||
void log_hc_output::write(_In_ HCTraceLevel level, _In_ const xsapi_internal_string& msg)
|
||||
void log_hc_output::write(_In_ HCTraceLevel level, _In_ const String& msg)
|
||||
{
|
||||
HC_TRACE_MESSAGE(XSAPI, level, msg.c_str());
|
||||
constexpr char escapedFormatSpecifier[]{ "%%" };
|
||||
|
||||
String const* msgPtr{ &msg };
|
||||
String escapedMsg{};
|
||||
|
||||
size_t index = msg.find('%');
|
||||
if (index != std::string::npos)
|
||||
{
|
||||
// Escape format string before passing to HC_TRACE
|
||||
escapedMsg = msg;
|
||||
|
||||
while ((index = escapedMsg.find('%', index)) != std::string::npos)
|
||||
{
|
||||
escapedMsg.replace(index, 1, escapedFormatSpecifier);
|
||||
index += (sizeof(escapedFormatSpecifier) - 1);
|
||||
}
|
||||
|
||||
msgPtr = &escapedMsg;
|
||||
}
|
||||
|
||||
HC_TRACE_MESSAGE(XSAPI, level, msgPtr->data());
|
||||
}
|
||||
|
||||
NAMESPACE_MICROSOFT_XBOX_SERVICES_CPP_END
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
//*********************************************************
|
||||
#pragma once
|
||||
|
||||
#define XBOX_SERVICES_API_VERSION_STRING "2021.06.20210527.0"
|
||||
#define XBOX_SERVICES_API_VERSION_STRING "2021.06.20210908.3"
|
||||
|
|
|
@ -34,7 +34,7 @@ User CreateMockUser(
|
|||
|
||||
NAMESPACE_MICROSOFT_XBOX_SERVICES_CPP_END
|
||||
|
||||
HRESULT XalUserDuplicateHandle(
|
||||
STDAPI XalUserDuplicateHandle(
|
||||
_In_ XalUserHandle user,
|
||||
_Out_ XalUserHandle* duplicatedUser
|
||||
) noexcept
|
||||
|
@ -44,14 +44,14 @@ HRESULT XalUserDuplicateHandle(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
void XalUserCloseHandle(
|
||||
STDAPI_(void) XalUserCloseHandle(
|
||||
_In_ XalUserHandle user
|
||||
) noexcept
|
||||
{
|
||||
delete user;
|
||||
}
|
||||
|
||||
HRESULT XalUserGetId(
|
||||
STDAPI XalUserGetId(
|
||||
_In_ XalUserHandle user,
|
||||
_Out_ uint64_t* id
|
||||
) noexcept
|
||||
|
@ -61,7 +61,7 @@ HRESULT XalUserGetId(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT XalUserGetLocalId(
|
||||
STDAPI XalUserGetLocalId(
|
||||
_In_ XalUserHandle user,
|
||||
_Out_ XalUserLocalId* localId
|
||||
) noexcept
|
||||
|
@ -71,7 +71,7 @@ HRESULT XalUserGetLocalId(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
size_t XalUserGetGamertagSize(
|
||||
STDAPI_(size_t) XalUserGetGamertagSize(
|
||||
_In_ XalUserHandle user,
|
||||
_In_ XalGamertagComponent component
|
||||
) noexcept
|
||||
|
@ -102,7 +102,7 @@ size_t XalUserGetGamertagSize(
|
|||
}
|
||||
}
|
||||
|
||||
HRESULT XalUserGetGamertag(
|
||||
STDAPI XalUserGetGamertag(
|
||||
_In_ XalUserHandle user,
|
||||
_In_ XalGamertagComponent component,
|
||||
_In_ size_t gamertagSize,
|
||||
|
@ -156,7 +156,7 @@ HRESULT XalUserGetGamertag(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT XalUserGetTokenAndSignatureSilentlyAsync(
|
||||
STDAPI XalUserGetTokenAndSignatureSilentlyAsync(
|
||||
_In_ XalUserHandle user,
|
||||
_In_ XalUserGetTokenAndSignatureArgs const* args,
|
||||
_In_ XAsyncBlock* async
|
||||
|
@ -199,7 +199,7 @@ HRESULT XalUserGetTokenAndSignatureSilentlyAsync(
|
|||
});
|
||||
}
|
||||
|
||||
HRESULT XalUserGetTokenAndSignatureSilentlyResultSize(
|
||||
STDAPI XalUserGetTokenAndSignatureSilentlyResultSize(
|
||||
_In_ XAsyncBlock* async,
|
||||
_Out_ size_t* bufferSize
|
||||
) noexcept
|
||||
|
@ -207,7 +207,7 @@ HRESULT XalUserGetTokenAndSignatureSilentlyResultSize(
|
|||
return XAsyncGetResultSize(async, bufferSize);
|
||||
}
|
||||
|
||||
HRESULT XalUserGetTokenAndSignatureSilentlyResult(
|
||||
STDAPI XalUserGetTokenAndSignatureSilentlyResult(
|
||||
_In_ XAsyncBlock* async,
|
||||
_In_ size_t bufferSize,
|
||||
_Out_writes_bytes_to_(bufferSize, *bufferUsed) void* buffer,
|
||||
|
@ -227,7 +227,7 @@ HRESULT XalUserGetTokenAndSignatureSilentlyResult(
|
|||
return hr;
|
||||
}
|
||||
|
||||
HRESULT XalUserRegisterChangeEventHandler(
|
||||
STDAPI XalUserRegisterChangeEventHandler(
|
||||
_In_ XTaskQueueHandle queue,
|
||||
_In_opt_ void* context,
|
||||
_In_ XalUserChangeEventHandler* handler,
|
||||
|
@ -246,7 +246,7 @@ HRESULT XalUserRegisterChangeEventHandler(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
void XalUserUnregisterChangeEventHandler(
|
||||
STDAPI_(void) XalUserUnregisterChangeEventHandler(
|
||||
_In_ XalRegistrationToken token
|
||||
) noexcept
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "pch.h"
|
||||
#include "UnitTestIncludes.h"
|
||||
|
||||
HRESULT XalGetTitleId(
|
||||
STDAPI XalGetTitleId(
|
||||
_Out_ uint32_t* titleId
|
||||
) noexcept
|
||||
{
|
||||
|
@ -13,12 +13,12 @@ HRESULT XalGetTitleId(
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
size_t XalGetSandboxSize() noexcept
|
||||
STDAPI_(size_t) XalGetSandboxSize() noexcept
|
||||
{
|
||||
return strlen(MOCK_SANDBOX) + 1;
|
||||
}
|
||||
|
||||
HRESULT XalGetSandbox(
|
||||
STDAPI XalGetSandbox(
|
||||
_In_ size_t sandboxSize,
|
||||
_Out_writes_(sandboxSize) char* sandbox,
|
||||
_Out_opt_ size_t* sandboxUsed
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "pch.h"
|
||||
#include "UnitTestIncludes.h"
|
||||
#include "Logger/log.h"
|
||||
#include "Logger/log_hc_output.h"
|
||||
|
||||
using namespace xbox::services::system;
|
||||
|
||||
|
@ -133,6 +134,21 @@ public:
|
|||
|
||||
VERIFY_ARE_EQUAL_INT(loopCount*loopCount, testOutput->m_logOutput.size());
|
||||
}
|
||||
|
||||
DEFINE_TEST_CASE(HCLogging)
|
||||
{
|
||||
VERIFY_SUCCEEDED(HCInitialize(nullptr));
|
||||
HCTraceSetTraceToDebugger(true);
|
||||
|
||||
auto testLogger = std::make_shared<logger>();
|
||||
auto hcOutput = std::make_shared<log_hc_output>();
|
||||
testLogger->add_log_output(hcOutput);
|
||||
|
||||
constexpr char formatString[]{ "%s%g%s" };
|
||||
testLogger->add_log(log_entry{ HCTraceLevel::Important, "" } << formatString);
|
||||
|
||||
HCCleanup();
|
||||
}
|
||||
};
|
||||
|
||||
NAMESPACE_MICROSOFT_XBOX_SERVICES_SYSTEM_CPP_END
|
|
@ -1,5 +0,0 @@
|
|||
build
|
||||
output
|
||||
vcxprojs
|
||||
ProjectFileProcessor/bin/Debug/ProjectFileProcessor.exe.config
|
||||
!ProjectFileProcessor/bin/Debug
|
|
@ -1,158 +0,0 @@
|
|||
cmake_minimum_required (VERSION 3.6)
|
||||
|
||||
project("Microsoft.Xbox.Services.Android")
|
||||
|
||||
get_filename_component(PATH_TO_XSAPI_ROOT "../../.." ABSOLUTE)
|
||||
|
||||
set(PATH_TO_XAL_ROOT "${PATH_TO_XSAPI_ROOT}/External/xal")
|
||||
set(PATH_TO_XAL "${PATH_TO_XAL_ROOT}/Source/Xal")
|
||||
|
||||
set(CMAKE_STATIC_LIBRARY_PREFIX "")
|
||||
|
||||
#######################################
|
||||
### Set up source and include files ###
|
||||
#######################################
|
||||
|
||||
include("../GetCommonXSAPISourceFiles.cmake")
|
||||
get_common_xsapi_source_files(
|
||||
Public_Source_Files
|
||||
Public_Source_Files_C
|
||||
Common_Source_Files
|
||||
System_Source_Files
|
||||
Shared_Logger_Source_Files
|
||||
Shared_Source_Files
|
||||
Achievements_Source_Files
|
||||
Achievements_Manager_Source_Files
|
||||
Leaderboard_Source_Files
|
||||
Privacy_Source_Files
|
||||
Presence_Source_Files
|
||||
TitleStorage_Source_Files
|
||||
Social_Source_Files
|
||||
Social_Manager_Source_Files
|
||||
Stats_Source_Files
|
||||
Matchmaking_Source_Files
|
||||
Multiplayer_Source_Files
|
||||
Multiplayer_Manager_Source_Files
|
||||
StringVerify_Source_Files
|
||||
MultiplayerActivity_Source_Files
|
||||
RealTimeActivityManager_Source_Files
|
||||
"${PATH_TO_XSAPI_ROOT}"
|
||||
)
|
||||
|
||||
set(SOURCE_FILES
|
||||
"${Public_Source_Files}"
|
||||
"${Common_Source_Files}"
|
||||
"${Public_Source_Files_C}"
|
||||
"${System_Source_Files}"
|
||||
"${Shared_Logger_Source_Files}"
|
||||
"${Shared_Source_Files}"
|
||||
"${Achievements_Source_Files}"
|
||||
"${Achievements_Manager_Source_Files}"
|
||||
"${Leaderboard_Source_Files}"
|
||||
"${Privacy_Source_Files}"
|
||||
"${Presence_Source_Files}"
|
||||
"${TitleStorage_Source_Files}"
|
||||
"${Social_Source_Files}"
|
||||
"${Social_Manager_Source_Files}"
|
||||
"${Stats_Source_Files}"
|
||||
"${Matchmaking_Source_Files}"
|
||||
"${Multiplayer_Source_Files}"
|
||||
"${Multiplayer_Manager_Source_Files}"
|
||||
"${StringVerify_Source_Files}"
|
||||
"${MultiplayerActivity_Source_Files}"
|
||||
"${RealTimeActivityManager_Source_Files}"
|
||||
)
|
||||
|
||||
include("../GetAndroidXSAPISourceFiles.cmake")
|
||||
get_android_xsapi_source_files(
|
||||
Common_Android_Source_Files
|
||||
System_Android_Source_Files
|
||||
Shared_Android_Source_Files
|
||||
TCUI_Android_Source_Files
|
||||
Notification_Android_Source_Files
|
||||
Events_Android_Source_Files
|
||||
"${PATH_TO_XSAPI_ROOT}"
|
||||
)
|
||||
|
||||
set(ANDROID_SOURCE_FILES
|
||||
"${Common_Android_Source_Files}"
|
||||
"${System_Android_Source_Files}"
|
||||
"${Shared_Android_Source_Files}"
|
||||
"${TCUI_Android_Source_Files}"
|
||||
"${Notification_Android_Source_Files}"
|
||||
"${Events_Android_Source_Files}"
|
||||
)
|
||||
|
||||
set(COMMON_INCLUDE_DIRS
|
||||
"${PATH_TO_XSAPI_ROOT}/Include"
|
||||
"${PATH_TO_XSAPI_ROOT}/Include/xsapi-c"
|
||||
"${PATH_TO_XSAPI_ROOT}/Include/xsapi-cpp"
|
||||
"${PATH_TO_XSAPI_ROOT}/Include/xsapi-cpp/impl"
|
||||
"${PATH_TO_XSAPI_ROOT}/Include/cpprestinclude"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Achievements"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Common"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Common/Unix"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Events"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Leaderboard"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Matchmaking"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Multiplayer"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Multiplayer/Manager"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/MultiplayerActivity"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Notification"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/RealTimeActivityManager"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Presence"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Privacy"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Social"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Social/Manager"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/Stats"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/StringVerify"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/System"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/TitleStorage"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Services/TCUI"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Shared"
|
||||
"${PATH_TO_XSAPI_ROOT}/Source/Shared/u"
|
||||
"${PATH_TO_XAL}/Include"
|
||||
"${PATH_TO_XSAPI_ROOT}/External/rapidjson/include"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/Include"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/Include/httpClient"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/External/asio/asio/include"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/External/asio/asio/include/asio"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/External/asio/asio/include/asio/detail"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/External/asio/asio/include/asio/impl"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/External/websocketpp/websocketpp"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/External/websocketpp/websocketpp/config"
|
||||
"${PATH_TO_XAL_ROOT}/External/libHttpClient/External/websocketpp/websocketpp/transport"
|
||||
"${PATH_TO_XAL_ROOT}/External/CompactCoreCLL"
|
||||
)
|
||||
|
||||
#########################
|
||||
### Set up static lib ###
|
||||
#########################
|
||||
|
||||
add_library(
|
||||
"${PROJECT_NAME}"
|
||||
STATIC
|
||||
"${SOURCE_FILES}"
|
||||
"${ANDROID_SOURCE_FILES}"
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
"${PROJECT_NAME}"
|
||||
PRIVATE
|
||||
"${COMMON_INCLUDE_DIRS}"
|
||||
)
|
||||
|
||||
#########################
|
||||
### Set up flags ###
|
||||
#########################
|
||||
include("GetXSAPIFlags.cmake")
|
||||
get_xsapi_android_flags(FLAGS FLAGS_DEBUG FLAGS_RELEASE)
|
||||
|
||||
include("${PATH_TO_XAL_ROOT}/External/libHttpClient/Utilities/CMake/Android/TargetSetFlags.cmake")
|
||||
target_set_flags(
|
||||
"${PROJECT_NAME}"
|
||||
"${FLAGS}"
|
||||
"${FLAGS_DEBUG}"
|
||||
"${FLAGS_RELEASE}"
|
||||
)
|
|
@ -1,29 +0,0 @@
|
|||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
# This function will set common, debug, and release config compiler flags
|
||||
# into the three OUT_XXX variables, respectively. These are intended to then
|
||||
# be passed to `target_set_flags`, from `TargetSetFlags.cmake`.
|
||||
function(GET_XSAPI_ANDROID_FLAGS OUT_FLAGS OUT_FLAGS_DEBUG OUT_FLAGS_RELEASE)
|
||||
set(FLAGS
|
||||
"-DASIO_STANDALONE=1"
|
||||
"-DXSAPI_ANDROID_STUDIO=1"
|
||||
"-std=c++14"
|
||||
"-Wno-unknown-pragmas"
|
||||
"-Wno-pragma-once-outside-header"
|
||||
"-DHC_PLATFORM_MSBUILD_GUESS=HC_PLATFORM_ANDROID"
|
||||
)
|
||||
|
||||
set("${OUT_FLAGS}" "${FLAGS}" PARENT_SCOPE)
|
||||
|
||||
set("${OUT_FLAGS_DEBUG}"
|
||||
"-O0"
|
||||
"-DHC_TRACE_BUILD_LEVEL=5"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set("${OUT_FLAGS_RELEASE}"
|
||||
"-Os"
|
||||
"-DHC_TRACE_BUILD_LEVEL=3"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
endfunction()
|
|
@ -1,497 +0,0 @@
|
|||
cmake_minimum_required (VERSION 3.6)
|
||||
|
||||
if( SHIP )
|
||||
set (PROJECT_NAME Microsoft.Xbox.Services.Ship)
|
||||
elseif( UNITTEST )
|
||||
if( TAEF )
|
||||
set (PROJECT_NAME Microsoft.Xbox.Services.UnitTest.141.TAEF)
|
||||
elseif( TE )
|
||||
set (PROJECT_NAME Microsoft.Xbox.Services.UnitTest.141.TE)
|
||||
endif()
|
||||
elseif( GDK )
|
||||
set (PROJECT_NAME Microsoft.Xbox.Services.GDK.C)
|
||||
elseif( PCWIN32 )
|
||||
set (PROJECT_NAME Microsoft.Xbox.Services.Win32.Cpp)
|
||||
elseif( XDK )
|
||||
set (PROJECT_NAME Microsoft.Xbox.Services.XDK.Cpp)
|
||||
elseif( UWP )
|
||||
set (PROJECT_NAME Microsoft.Xbox.Services.UWP.Cpp)
|
||||
elseif (ANDROID)
|
||||
set(PROJECT_NAME Microsoft.Xbox.Services.Android)
|
||||
endif()
|
||||
|
||||
|
||||
project (${PROJECT_NAME})
|
||||
|
||||
if(MSVC_VERSION GREATER 1909)
|
||||
set(COMPILER_VERSION "15")
|
||||
elseif(MSVC_VERSION GREATER 1899)
|
||||
set(COMPILER_VERSION "14")
|
||||
elseif(MSVC_VERSION GREATER 1700)
|
||||
set(COMPILER_VERSION "12")
|
||||
elseif(MSVC_VERSION GREATER 1600)
|
||||
set(COMPILER_VERSION "11")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CONFIGURATION_TYPES)
|
||||
set(CMAKE_CONFIGURATION_TYPES Debug)
|
||||
set(CMAKE_CONFIGURATION_TYPES "${CMAKE_CONFIGURATION_TYPES}" CACHE STRING "Reset the configurations to what we need" FORCE)
|
||||
endif()
|
||||
|
||||
set(CMAKE_USE_RELATIVE_PATHS TRUE)
|
||||
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore")
|
||||
set(PLATFORM STORE)
|
||||
endif()
|
||||
|
||||
set (XSAPI_VERSION 2017.04.20170508.01)
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
add_compile_options(/Zm300 /bigobj)
|
||||
if (WINDOWS_STORE OR WINDOWS_PHONE)
|
||||
add_compile_options(/ZW)
|
||||
endif()
|
||||
|
||||
add_definitions(-D_NO_ASYNCRTIMP -D_NO_PPLXIMP -D_NO_XSAPIIMP -DXSAPI_BUILD)
|
||||
|
||||
|
||||
get_filename_component(PATH_TO_XSAPI_ROOT "../../" ABSOLUTE)
|
||||
|
||||
if(ANDROID)
|
||||
set_source_files_properties(${PATH_TO_XSAPI_ROOT}/Source/Services/Common/Unix/pch.cpp PROPERTIES COMPILE_FLAGS "/Ycpch.h")
|
||||
else()
|
||||
set_source_files_properties(${PATH_TO_XSAPI_ROOT}/Source/Services/Common/cpp/pch.cpp PROPERTIES COMPILE_FLAGS "/Ycpch.h")
|
||||
endif()
|
||||
|
||||
if (NOT ${CMAKE_GENERATOR} MATCHES "Visual Studio .*")
|
||||
set_property(SOURCE ${PATH_TO_XSAPI_ROOT}/Source/Services/Common/cpp/pch.cpp APPEND PROPERTY OBJECT_OUTPUTS "${CMAKE_CURRENT_BINARY_DIR}/pch.pch")
|
||||
set_property(SOURCE ${SOURCES} APPEND PROPERTY OBJECT_DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/pch.pch")
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
$(ProjectDir)
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/Common
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/Social
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/Multiplayer
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/Presence
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/Notification
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/TCUI
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/Social/Manager
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Services/RealTimeActivity
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/Shared
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Include
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/External/cpprestsdk/Release/Include
|
||||
$(ProjectDir)${PATH_TO_XSAPI_ROOT}/Source/System
|
||||
)
|
||||
|
||||
set(CMAKE_SUPPRESS_REGENERATION true)
|
||||
|
||||
include("GetCommonXSAPISourceFiles.cmake")
|
||||
get_common_xsapi_source_files(
|
||||
Public_Source_Files
|
||||
Public_Source_Files_C
|
||||
Common_Source_Files
|
||||
System_Source_Files
|
||||
Shared_Logger_Source_Files
|
||||
Shared_Source_Files
|
||||
Achievements_Source_Files
|
||||
Achievements_Manager_Source_Files
|
||||
Leaderboard_Source_Files
|
||||
Privacy_Source_Files
|
||||
Presence_Source_Files
|
||||
TitleStorage_Source_Files
|
||||
Social_Source_Files
|
||||
Social_Manager_Source_Files
|
||||
Stats_Source_Files
|
||||
Matchmaking_Source_Files
|
||||
Multiplayer_Source_Files
|
||||
Multiplayer_Manager_Source_Files
|
||||
StringVerify_Source_Files
|
||||
MultiplayerActivity_Source_Files
|
||||
RealTimeActivityManager_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}
|
||||
)
|
||||
|
||||
if( UNITTEST )
|
||||
message(STATUS "Test public")
|
||||
list(APPEND
|
||||
Public_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/include/xsapi-cpp/title_callable_ui.h
|
||||
${PATH_TO_XSAPI_ROOT}/include/xsapi-cpp/events.h
|
||||
)
|
||||
else()
|
||||
if( XDK )
|
||||
message(STATUS "XDK public")
|
||||
else()
|
||||
message(STATUS "Windows public")
|
||||
list(APPEND
|
||||
Public_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/include/xsapi-cpp/events.h
|
||||
)
|
||||
if( PCWIN32 OR ANDROID OR UWP )
|
||||
list(APPEND
|
||||
Public_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/include/xsapi-cpp/notification_service.h
|
||||
)
|
||||
elseif( UWP OR ANDROID )
|
||||
message(STATUS "UWP public")
|
||||
list(APPEND
|
||||
Public_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/include/xsapi-cpp/title_callable_ui.h
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT ANDROID )
|
||||
list(APPEND
|
||||
Common_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Common/cpp/pch.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Common/cpp/pch.h
|
||||
)
|
||||
endif()
|
||||
|
||||
if( UNITTEST OR PCWIN32)
|
||||
list(APPEND
|
||||
System_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/System/platform_api.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if( UNITTEST OR PCWIN32 )
|
||||
list(APPEND
|
||||
System_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/System/Win32/local_storage_win32.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
if( UWP OR PCWIN32 OR GDK OR UNITTEST )
|
||||
list(APPEND
|
||||
Shared_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Shared/WinRT/local_config_winrt.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if( UWP )
|
||||
list(APPEND
|
||||
Shared_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Shared/local_config.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Shared/local_config.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
set(TCUI_Source_Files
|
||||
)
|
||||
|
||||
if ( UWP )
|
||||
list(APPEND
|
||||
TCUI_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/TCUI/UWP/title_callable_ui_uwp.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
set(Notification_Source_Files
|
||||
)
|
||||
|
||||
if ( (NOT XDK) AND (NOT UNITTEST) AND (NOT ANDROID) )
|
||||
list(APPEND
|
||||
Notification_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Notification/notification_internal.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Notification/notification_service.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Notification/notification_api.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if ( UWP )
|
||||
list(APPEND
|
||||
Notification_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Notification/UWP/notification_service_uwp.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if ( PCWIN32 )
|
||||
list(APPEND
|
||||
Notification_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Notification/RTA/notification_service_rta.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Notification/RTA/notification_subscription.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Notification/RTA/notification_subscription.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
if( (NOT UNITTEST) AND (NOT XDK) AND (NOT ANDROID))
|
||||
set(Events_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_api.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if ( GDK )
|
||||
list(APPEND
|
||||
Events_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_gdk.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_gdk.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_etw.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_etw.cpp
|
||||
)
|
||||
elseif ( UWP )
|
||||
# UWP and GDK still using ETW based events service
|
||||
list(APPEND
|
||||
Events_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_etw.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_etw.cpp
|
||||
)
|
||||
elseif ( PCWIN32)
|
||||
list(APPEND
|
||||
Events_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/event.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/event_queue.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/event_upload_payload.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_xsapi.h
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/events_service_xsapi.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Events/Windows/events_service_windows.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
set(Ship_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Source/Services/Common/cpp/pch.cpp
|
||||
build.cpp
|
||||
)
|
||||
|
||||
if( SHIP )
|
||||
message(STATUS "SHIP add_library")
|
||||
source_group("Build" FILES ${Ship_Source_Files})
|
||||
set( SOURCE_FILES
|
||||
${Ship_Source_Files}
|
||||
)
|
||||
else()
|
||||
source_group("Header Files" FILES ${Public_Source_Files})
|
||||
source_group("C Public Includes" FILES ${Public_Source_Files_C})
|
||||
source_group("C++ Source\\System" FILES ${System_Source_Files})
|
||||
source_group("C++ Source\\Shared" FILES ${Shared_Source_Files})
|
||||
source_group("C++ Source\\Shared\\Logger" FILES ${Shared_Logger_Source_Files})
|
||||
source_group("C++ Source\\Services\\TCUI" FILES ${TCUI_Source_Files})
|
||||
source_group("C++ Source\\Services\\Notification" FILES ${Notification_Source_Files})
|
||||
source_group("C++ Source\\Services\\Common" FILES ${Common_Source_Files})
|
||||
source_group("C++ Source\\Services\\Achievements" FILES ${Achievements_Source_Files})
|
||||
source_group("C++ Source\\Services\\Achievements" FILES ${Achievements_Source_Files_Cpp})
|
||||
source_group("C++ Source\\Services\\Achievements\\Manager" FILES ${Achievements_Manager_Source_Files})
|
||||
source_group("C++ Source\\Services\\Privacy" FILES ${Privacy_Source_Files})
|
||||
source_group("C++ Source\\Services\\Presence" FILES ${Presence_Source_Files})
|
||||
source_group("C++ Source\\Services\\TitleStorage" FILES ${Titlestorage_Source_Files})
|
||||
source_group("C++ Source\\Services\\Social" FILES ${Social_Source_Files})
|
||||
source_group("C++ Source\\Services\\Social\\Manager" FILES ${Social_Manager_Source_Files})
|
||||
source_group("C++ Source\\Services\\Stats" FILES ${Stats_Source_Files})
|
||||
source_group("C++ Source\\Services\\Leaderboard" FILES ${Leaderboard_Source_Files})
|
||||
source_group("C++ Source\\Services\\Matchmaking" FILES ${Matchmaking_Source_Files})
|
||||
source_group("C++ Source\\Services\\Multiplayer" FILES ${Multiplayer_Source_Files})
|
||||
source_group("C++ Source\\Services\\Multiplayer\\Manager" FILES ${Multiplayer_Manager_Source_Files})
|
||||
source_group("C++ Source\\Services\\StringVerify" FILES ${StringVerify_Source_Files})
|
||||
source_group("C++ Source\\Services\\MultiplayerActivity" FILES ${MultiplayerActivity_Source_Files})
|
||||
source_group("C++ Source\\Services\\RealTimeActivityManager" FILES ${RealTimeActivityManager_Source_Files})
|
||||
|
||||
if( XDK OR UNITTEST )
|
||||
message(STATUS "XDK source group")
|
||||
endif()
|
||||
|
||||
if ( NOT XDK )
|
||||
message(STATUS "Non XDK source group")
|
||||
source_group("C++ Source\\Services\\Events" FILES ${Events_Source_Files})
|
||||
endif()
|
||||
|
||||
if( NOT WINRT )
|
||||
message(STATUS "Flat C source group")
|
||||
source_group("C++ Source\\Services\\Multiplayer\\C" FILES ${Multiplayer_Source_Files_C})
|
||||
source_group("C++ Source\\Services\\Multiplayer\\Manager\\C" FILES ${Multiplayer_Manager_Source_Files_C})
|
||||
endif()
|
||||
|
||||
set( SOURCE_FILES
|
||||
${Common_Source_Files}
|
||||
${Public_Source_Files}
|
||||
${System_Source_Files}
|
||||
${Shared_Source_Files}
|
||||
${Shared_Logger_Source_Files}
|
||||
${Achievements_Source_Files}
|
||||
${Achievements_Manager_Source_Files}
|
||||
${Presence_Source_Files}
|
||||
${Social_Source_Files}
|
||||
${Social_Manager_Source_Files}
|
||||
${StringVerify_Source_Files}
|
||||
${Matchmaking_Source_Files}
|
||||
${Multiplayer_Source_Files}
|
||||
${Multiplayer_Manager_Source_Files}
|
||||
${Stats_Source_Files}
|
||||
${Privacy_Source_Files}
|
||||
${Stats_Source_Files}
|
||||
${Leaderboard_Source_Files}
|
||||
${TitleStorage_Source_Files}
|
||||
${MultiplayerActivity_Source_Files}
|
||||
${RealTimeActivityManager_Source_Files}
|
||||
)
|
||||
|
||||
|
||||
if (NOT ANDROID)
|
||||
if( NOT GDK )
|
||||
list(APPEND
|
||||
SOURCE_FILES
|
||||
${Notification_Source_Files}
|
||||
${TCUI_Source_Files}
|
||||
${Leaderboard_Source_Files}
|
||||
${Matchmaking_Source_Files}
|
||||
)
|
||||
endif()
|
||||
|
||||
if( NOT XDK )
|
||||
list(APPEND
|
||||
SOURCE_FILES
|
||||
${Events_Source_Files}
|
||||
)
|
||||
endif()
|
||||
|
||||
if( NOT WINRT )
|
||||
message(STATUS "Adding flat C source")
|
||||
list(APPEND
|
||||
SOURCE_FILES
|
||||
${Public_Source_Files_C}
|
||||
${Multiplayer_Source_Files_C}
|
||||
${Multiplayer_Manager_Source_Files_C}
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
# if Android
|
||||
include("GetAndroidXSAPISourceFiles.cmake")
|
||||
|
||||
get_android_xsapi_source_files(
|
||||
Common_Android_Source_Files
|
||||
System_Android_Source_Files
|
||||
Shared_Android_Source_Files
|
||||
TCUI_Android_Source_Files
|
||||
Notification_Android_Source_Files
|
||||
Events_Android_Source_Files
|
||||
${PATH_TO_XSAPI_ROOT}
|
||||
)
|
||||
|
||||
source_group("C++ Source\\System" FILES ${System_Android_Source_Files})
|
||||
source_group("C++ Source\\Shared" FILES ${Shared_Android_Source_Files})
|
||||
source_group("C++ Source\\Services\\TCUI" FILES ${TCUI_Android_Source_Files})
|
||||
source_group("C++ Source\\Services\\Notification" FILES ${Notification_Android_Source_Files})
|
||||
source_group("C++ Source\\Services\\Common" FILES ${Common_Android_Source_Files})
|
||||
source_group("C++ Source\\Services\\Events" FILES ${Events_Android_Source_Files})
|
||||
|
||||
list(APPEND
|
||||
SOURCE_FILES
|
||||
${System_Android_Source_Files}
|
||||
${Shared_Android_Source_Files}
|
||||
${TCUI_Android_Source_Files}
|
||||
${Notification_Android_Source_Files}
|
||||
${Common_Android_Source_Files}
|
||||
${Events_Android_Source_Files}
|
||||
)
|
||||
endif()
|
||||
endif() # SHIP
|
||||
|
||||
set(UnitTests_Source_Files_Mocks
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/mock_web_socket.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/mock_web_socket.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/mock_user.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/xal_mocks.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/http_mock.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/http_mock.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/mock_rta_service.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Mocks/mock_rta_service.cpp
|
||||
)
|
||||
|
||||
set(UnitTests_Source_Files_Support
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/iso8601.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/DefineTestMacros.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/iso8601.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/UnitTestIncludes.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/event.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/event.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/unit_test_helpers.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/unit_test_helpers.cpp
|
||||
)
|
||||
|
||||
if ( TAEF )
|
||||
list(APPEND
|
||||
UnitTests_Source_Files_Support
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/TAEF/UnitTestBase.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/TAEF/UnitTestIncludes_TAEF.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/TAEF/UnitTestBase.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if ( TE )
|
||||
list(APPEND
|
||||
UnitTests_Source_Files_Support
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/TE/unittesthelpers_te.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/TE/unittesthelpers_te.h
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Support/TE/unittestincludes_te.h
|
||||
)
|
||||
endif()
|
||||
|
||||
set(UnitTests_Source_Files_Tests
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/AchievementsTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/AchievementsManagerTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/ErrorTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/LeaderboardTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/MatchmakingTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/MultiplayerManagerTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/MultiplayerTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/PeoplehubTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/PresenceTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/PrivacyTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/ProfileTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/RealTimeActivityManagerTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/ReputationTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/SocialManagerTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/SocialTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/StatsTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/TitleManagedStatsTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/StringVerifyTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/TitleStorageTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/MultiplayerActivityTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Shared/HttpCallTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Shared/HttpCallSettingsTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Shared/LogTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Shared/XboxLiveContextTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Shared/XboxLiveCallbackTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Shared/GlobalTests.cpp
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Shared/PlatformTests.cpp
|
||||
)
|
||||
|
||||
set(TestJson_Files
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/TestResponses/Multiplayer.json
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/TestResponses/Matchmaking.json
|
||||
${PATH_TO_XSAPI_ROOT}/Tests/UnitTests/Tests/Services/TestResponses/MultiplayerManager.json
|
||||
)
|
||||
|
||||
set_property(SOURCE ${TestJson_Files} PROPERTY VS_DEPLOYMENT_CONTENT 1)
|
||||
|
||||
if( TAEF OR TE )
|
||||
source_group("C++ Source\\UnitTests\\Mocks" FILES ${UnitTests_Source_Files_Mocks})
|
||||
source_group("C++ Source\\UnitTests\\Support" FILES ${UnitTests_Source_Files_Support})
|
||||
source_group("C++ Source\\UnitTests\\Tests" FILES ${UnitTests_Source_Files_Tests})
|
||||
source_group("C++ Source\\UnitTests\\Tests\\TestResponses" FILES ${TestJson_Files})
|
||||
list(APPEND
|
||||
SOURCE_FILES
|
||||
${UnitTests_Source_Files_Mocks}
|
||||
${UnitTests_Source_Files_Support}
|
||||
${UnitTests_Source_Files_Tests}
|
||||
${TestJson_Files}
|
||||
)
|
||||
endif()
|
||||
|
||||
list( SORT SOURCE_FILES )
|
||||
add_library(${PROJECT_NAME} ${SOURCE_FILES})
|
||||
|
||||
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VS_WINRT_EXTENSIONS TRUE)
|
||||
set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY LINK_FLAGS "/INCREMENTAL:NO")
|
||||
set(CMAKE_STATIC_LINKER_FLAGS "/INCREMENTAL:NO")
|
||||
|
||||
message(STATUS "CMAKE_SYSTEM_VERSION='${CMAKE_SYSTEM_VERSION}'")
|
||||
message(STATUS "CMAKE_SYSTEM_NAME='${CMAKE_SYSTEM_NAME}'")
|
||||
message(STATUS "SHORT_VERSION='${SHORT_VERSION}'")
|
|
@ -1,79 +0,0 @@
|
|||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
|
||||
function(GET_ANDROID_XSAPI_SOURCE_FILES
|
||||
OUT_COMMON_SOURCE_FILES
|
||||
OUT_SYSTEM_SOURCE_FILES
|
||||
OUT_SHARED_SOURCE_FILES
|
||||
OUT_TCUI_SOURCE_FILES
|
||||
OUT_NOTIFICATION_SOURCE_FILES
|
||||
OUT_EVENTS_SOURCE_FILES
|
||||
PATH_TO_ROOT
|
||||
)
|
||||
|
||||
set(${OUT_COMMON_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/Unix/pch.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/Unix/pch.h"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_SYSTEM_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/System/a/java_interop.cpp"
|
||||
"${PATH_TO_ROOT}/Source/System/a/java_interop.h"
|
||||
"${PATH_TO_ROOT}/Source/System/Android/local_storage_android.cpp"
|
||||
"${PATH_TO_ROOT}/Source/System/platform_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_SHARED_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/android_utils.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/android_utils.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/u/xbl_guid.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/guid.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/http_call_jni.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/http_call_jni.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/http_call_static_glue.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/http_call_static_glue.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/interop_jni.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/interop_jni.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/jni_utils.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/rwlock_guard.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/rwlock_guard.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/utils_a.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/utils_a.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/xbox_live_app_config_jni.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/a/xbox_live_app_config_static_glue.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_call_legacy.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_call_legacy.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_TCUI_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/TCUI/Android/title_callable_static_glue.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/TCUI/Android/title_callable_ui_static_glue.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/TCUI/Android/title_callable_ui_android.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_NOTIFICATION_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Notification/Mobile/notification_service_mobile.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Notification/notification_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Notification/notification_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Notification/notification_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_EVENTS_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/event.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/event_queue.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/events_service.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/events_service_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/event_upload_payload.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/events_service_xsapi.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/events_service_xsapi.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Events/Android/events_service_android.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
|
||||
endfunction()
|
|
@ -1,335 +0,0 @@
|
|||
cmake_minimum_required(VERSION 3.6)
|
||||
|
||||
function(GET_COMMON_XSAPI_SOURCE_FILES
|
||||
OUT_PUBLIC_SOURCE_FILES
|
||||
OUT_PUBLIC_C_SOURCE_FILES
|
||||
OUT_COMMON_SOURCE_FILES
|
||||
OUT_SYSTEM_SOURCE_FILES
|
||||
OUT_LOGGER_SOURCE_FILES
|
||||
OUT_SHARED_SOURCE_FILES
|
||||
OUT_ACHIEVEMENTS_SOURCE_FILES
|
||||
OUT_ACHIEVEMENTS_MANAGER_SOURCE_FILES
|
||||
OUT_LEADERBOARD_SOURCE_FILES
|
||||
OUT_PRIVACY_SOURCE_FILES
|
||||
OUT_PRESENCE_SOURCE_FILES
|
||||
OUT_TITLESTORAGE_SOURCE_FILES
|
||||
OUT_SOCIAL_SOURCE_FILES
|
||||
OUT_SOCIAL_MANAGER_SOURCE_FILES
|
||||
OUT_STATS_SOURCE_FILES
|
||||
OUT_MATCMAKING_SOURCE_FILES
|
||||
OUT_MULTIPLAYER_SOURCE_FILES
|
||||
OUT_MULTIPLAYER_MANAGER_SOURCE_FILES
|
||||
OUT_STRINGVERIFY_SOURCE_FILES
|
||||
OUT_MULTIPLAYERACTIVITY_SOURCE_FILES
|
||||
OUT_REALTIMEACTIVITY_MANAGER_SOURCE_FILES
|
||||
PATH_TO_ROOT
|
||||
)
|
||||
|
||||
set(${OUT_PUBLIC_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/achievements.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/leaderboard.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/matchmaking.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/multiplayer.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/privacy.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/profile.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/services.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/social.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/system.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/types.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/user_statistics.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/xbox_live_context.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/xbox_service_call_routed_event_args.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/errors.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/http_call.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/http_call_request_message.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/mem.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/social_manager.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/service_call_logging_config.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/multiplayer_manager.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/presence.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/real_time_activity.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/title_storage.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/xbox_live_app_config.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/xbox_live_context_settings.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-cpp/string_verify.h"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_PUBLIC_C_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/achievements_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/achievements_manager_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/errors_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/presence_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/profile_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/services_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/social_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/social_manager_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/string_verify_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/pal.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/xbox_live_context_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/xbox_live_context_settings_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/xbox_live_global_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/matchmaking_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/multiplayer_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/multiplayer_activity_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/multiplayer_manager_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/notification_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/privacy_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/title_managed_statistics_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/user_statistics_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/leaderboard_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/events_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/real_time_activity_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/types_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/http_call_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/title_storage_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/game_invite_c.h"
|
||||
"${PATH_TO_ROOT}/Include/xsapi-c/platform_c.h"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_COMMON_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/pch_common.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/xbox_live_context.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/xbox_live_context_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/xbox_live_context_settings_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/xbox_live_context_settings.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/xbox_live_context_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Common/xbox_live_global_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_SYSTEM_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/System/client_operation.h"
|
||||
"${PATH_TO_ROOT}/Source/System/local_storage.h"
|
||||
"${PATH_TO_ROOT}/Source/System/local_storage.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_LOGGER_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Shared/Logger/log.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/Logger/log.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/Logger/log_entry.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/Logger/log_output.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/Logger/log_hc_output.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/Logger/log_hc_output.h"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_SHARED_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Shared/xsapi_utils.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/xsapi_json_utils.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/fault_injection.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/fault_injection.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/service_call_routed_handler.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/service_call_routed_handler.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/errors_legacy.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/errors.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_call_request_message.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/build_version.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/utils_locales.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/web_socket.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/xbox_live_app_config_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/xbox_live_app_config.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/Shared_macros.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/xsapi_utils.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/xsapi_json_utils.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/perf_tester.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/web_socket.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_headers.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_call_request_message_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/internal_mem.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/internal_mem.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/async_helpers.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/async_helpers.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/internal_errors.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/ref_counter.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/ref_counter.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_call_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_call_wrapper_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_call_wrapper_internal.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/global_state.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/global_state.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/user.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/string_array.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/user.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/enum_traits.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_utils.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/http_utils.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Shared/internal_types.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/public_utils_legacy.h"
|
||||
"${PATH_TO_ROOT}/Source/Shared/public_utils_legacy.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_ACHIEVEMENTS_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/achievement_service_internal.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/achievements_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/achievements_result.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/achievements_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/achievements_subscription.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_ACHIEVEMENTS_MANAGER_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/Manager/achievements_manager_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/Manager/achievements_manager_internal.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Achievements/Manager/achievements_manager_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_LEADERBOARD_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Leaderboard/Leaderboard_column.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Leaderboard/Leaderboard_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Leaderboard/Leaderboard_result.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Leaderboard/Leaderboard_row.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Leaderboard/Leaderboard_service.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_PRIVACY_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Privacy/privacy_service_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Privacy/Privacy_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Privacy/privacy_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Privacy/permission_check_result.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_PRESENCE_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/device_presence_change_subscription.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/presence_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/presence_device_record.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/presence_record.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/presence_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/presence_title_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/presence_user_batch_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/title_presence_change_subscription.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Presence/presence_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_TITLESTORAGE_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/TitleStorage/title_storage_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/TitleStorage/title_storage_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/TitleStorage/title_storage_blob_metadata_result.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/TitleStorage/title_storage_service.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_SOCIAL_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/reputation_feedback_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/reputation_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/social_relationship_result.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/social_relationship_change_subscription.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/social_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/social_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/social_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/profile_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/profile_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/profile_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_SOCIAL_MANAGER_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/peoplehub_service.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/peoplehub_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/social_graph.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/social_graph.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/social_manager.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/social_manager_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/social_manager_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/social_manager_user_group.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Social/Manager/social_manager_user_group.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_STATS_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/requested_statistics.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/service_configuration_statistic.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/statistic.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/user_statistics_result.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/user_statistics_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/user_statistics_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/statistic_change_subscription.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/user_statistics_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/title_managed_statistics_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/title_managed_statistics_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Stats/title_managed_statistics_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_MATCMAKING_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Matchmaking/hopper_statistics_response.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Matchmaking/matchmaking_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Matchmaking/match_ticket_details_response.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Matchmaking/matchmaking_internal.h"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_MULTIPLAYER_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_activity_handle_post_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_activity_query_post_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_invite_handle_post_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_search_handle_details.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_search_handle_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_query_search_handle_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_session.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_session_member.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_session_reference.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_transfer_handle_post_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_subscription.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_serializers.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/multiplayer_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_MULTIPLAYER_MANAGER_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_match_client.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_session_writer.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_client_manager.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_client_pending_reader.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_client_pending_request.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_game_client.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_member.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_game_session.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_lobby_client.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_local_user_manager.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_lobby_session.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_local_user.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_manager.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_manager_utils.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_manager_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_event_queue.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_event_args.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/Multiplayer/Manager/multiplayer_manager_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_STRINGVERIFY_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/StringVerify/string_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/StringVerify/string_service_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/StringVerify/verify_string_result.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_MULTIPLAYERACTIVITY_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/MultiplayerActivity/multiplayer_activity_api.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/MultiplayerActivity/multiplayer_activity_internal.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/MultiplayerActivity/multiplayer_activity_service.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/MultiplayerActivity/multiplayer_activity_info.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(${OUT_REALTIMEACTIVITY_MANAGER_SOURCE_FILES}
|
||||
"${PATH_TO_ROOT}/Source/Services/RealTimeActivityManager/real_time_activity_manager.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/RealTimeActivityManager/real_time_activity_manager.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/RealTimeActivityManager/real_time_activity_connection.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/RealTimeActivityManager/real_time_activity_connection.cpp"
|
||||
"${PATH_TO_ROOT}/Source/Services/RealTimeActivityManager/real_time_activity_subscription.h"
|
||||
"${PATH_TO_ROOT}/Source/Services/RealTimeActivityManager/real_time_activity_api.cpp"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
endfunction()
|
|
@ -1,68 +0,0 @@
|
|||
set ROOT_FOLDER=%~dp0\..\..
|
||||
rem force root folder to an absolute path
|
||||
pushd %ROOT_FOLDER%
|
||||
set ROOT_FOLDER=%CD%
|
||||
set NEW_FOLDER=%ROOT_FOLDER%\Utilities\CMake\output
|
||||
set OLD_FOLDER=%ROOT_FOLDER%\Build
|
||||
|
||||
rem protect ourselves from the scripts randomly changing cwd
|
||||
pushd .
|
||||
|
||||
setlocal
|
||||
set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
|
||||
if EXIST "C:\Program Files (x86)\Microsoft Durango XDK\xdk\DurangoVars.cmd" call "C:\Program Files (x86)\Microsoft Durango XDK\xdk\DurangoVars.cmd" VS2017
|
||||
if EXIST "C:\Program Files (x86)\Microsoft GDK\Command Prompts\GamingDesktopVars.cmd" call "C:\Program Files (x86)\Microsoft GDK\Command Prompts\GamingDesktopVars.cmd" GamingDesktopVS2017
|
||||
echo on
|
||||
|
||||
rem reset cwd
|
||||
popd
|
||||
|
||||
call %ROOT_FOLDER%\Utilities\CMake\scripts\RunCMake.cmd -DUWP=TRUE
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
call %ROOT_FOLDER%\Utilities\CMake\scripts\RunCMake.cmd -DPCWIN32=TRUE
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
call %ROOT_FOLDER%\Utilities\CMake\scripts\RunCMake.cmd -DANDROID=TRUE
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
call %ROOT_FOLDER%\Utilities\CMake\scripts\RunCMake.cmd -DGDK=TRUE
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
call %ROOT_FOLDER%\Utilities\CMake\scripts\RunCMake.cmd -DXDK=TRUE
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
call %ROOT_FOLDER%\Utilities\CMake\scripts\RunCMake.cmd -DUNITTEST=TRUE -DTAEF=TRUE
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
call %ROOT_FOLDER%\Utilities\CMake\scripts\RunCMake.cmd -DUNITTEST=TRUE -DTE=TRUE
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
|
||||
%ROOT_FOLDER%\Utilities\CMake\ProjectFileProcessor\bin\Debug\ProjectFileProcessor.exe %ROOT_FOLDER%
|
||||
endlocal
|
||||
|
||||
if "%1" EQU "skipCopy" goto skipCopy
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.Android.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.Android
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.UWP.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.UWP.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.XDK.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.Win32.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.Win32.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.UWP.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.UWP.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.GDK.C.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.GDK.C
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.Win32.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.Win32.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.Android.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.Android
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.XDK.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.XDK.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.142.Win32.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.142.Win32.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.142.UWP.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.142.UWP.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.142.GDK.C.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.142.GDK.C
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.142.XDK.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.142.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.UnitTest.141.TAEF.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.UnitTest.141.TAEF
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.UnitTest.141.TE.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.UnitTest.141.TE
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.UnitTest.142.TAEF.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.UnitTest.142.TAEF
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.UnitTest.142.TE.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.UnitTest.142.TE
|
||||
:skipCopy
|
||||
|
||||
goto done
|
||||
:help
|
||||
echo.
|
||||
echo MakeProjects.cmd [skipCopy]
|
||||
echo.
|
||||
echo Example:
|
||||
echo MakeProjects.cmd
|
||||
echo.
|
||||
|
||||
:done
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
</startup>
|
||||
</configuration>
|
|
@ -1,613 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml;
|
||||
|
||||
namespace ProjectFileProcessor
|
||||
{
|
||||
class Program
|
||||
{
|
||||
private static void ReadFile(string inputVcxproj, ref List<string> linesInputVcxproj)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (StreamReader sr = new StreamReader(inputVcxproj))
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
string line = sr.ReadLine();
|
||||
if (line == null)
|
||||
break;
|
||||
linesInputVcxproj.Add(line);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("The file could not be read:");
|
||||
Console.WriteLine(e.Message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
private static void ExtractFileSection(
|
||||
ref List<string> linesInputVcxproj,
|
||||
ref List<string> filesInputVcxproj,
|
||||
string rootFolder,
|
||||
bool extraFilters
|
||||
)
|
||||
{
|
||||
bool fileSectionStart = false;
|
||||
bool fileSectionStop = false;
|
||||
rootFolder += "\\";
|
||||
for (int i = 1; i < linesInputVcxproj.Count - 1; i++)
|
||||
{
|
||||
string l0 = linesInputVcxproj[i - 1];
|
||||
string l1 = linesInputVcxproj[i];
|
||||
string l2 = linesInputVcxproj[i + 1];
|
||||
|
||||
if (l1.Contains("<ItemGroup>") &&
|
||||
(l2.Contains("ClInclude") || l2.Contains("ClCompile")))
|
||||
{
|
||||
fileSectionStart = true;
|
||||
}
|
||||
|
||||
if (fileSectionStart)
|
||||
{
|
||||
if (l0.Contains("</ItemGroup>") && !l1.Contains("<ItemGroup>"))
|
||||
{
|
||||
fileSectionStop = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (fileSectionStart && !fileSectionStop)
|
||||
{
|
||||
string file = MakeFilePathRelative(l1, rootFolder);
|
||||
if (extraFilters)
|
||||
{
|
||||
if (!file.Contains("ItemGroup") && !file.Contains("PrecompiledHeaderFile"))
|
||||
{
|
||||
filesInputVcxproj.Add(file);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
filesInputVcxproj.Add(file);
|
||||
}
|
||||
//Console.WriteLine(l1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class FileNode
|
||||
{
|
||||
public string cmake_vcxproj;
|
||||
public string template;
|
||||
public string output;
|
||||
}
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string rootFolder = null;
|
||||
if (args.Length == 0)
|
||||
rootFolder = @"C:\git\forks\xbox-live-api";
|
||||
else
|
||||
rootFolder = args[0];
|
||||
|
||||
if (args.Length == 4 && args[1] == "diff")
|
||||
{
|
||||
string fileOld = args[2];
|
||||
string fileNew = args[3];
|
||||
DiffFiles(fileOld, fileNew, rootFolder);
|
||||
return;
|
||||
}
|
||||
|
||||
var fileNodes = new List<FileNode>();
|
||||
|
||||
//Microsoft.Xbox.Services.141.UWP.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UWP.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.UWP.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.UWP.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.140.UWP.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UWP.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.140.UWP.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.140.UWP.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.XDK.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.XDK.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.XDK.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.XDK.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.140.XDK.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.XDK.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.140.XDK.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.140.XDK.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.XDK.WinRT
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.XDK.WinRT.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.XDK.WinRT.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.XDK.WinRT.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.140.XDK.WinRT
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.XDK.WinRT.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.140.XDK.WinRT.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.140.XDK.WinRT.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.UWP.WinRT
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UWP.WinRT.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.UWP.WinRT.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.UWP.WinRT.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.UnitTest.141.TAEF
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UnitTest.141.TAEF.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.UnitTest.141.TAEF.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.UnitTest.141.TAEF.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.UnitTest.141.TE
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UnitTest.141.TE.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.UnitTest.141.TE.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.UnitTest.141.TE.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.UnitTest.142.TAEF
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UnitTest.141.TAEF.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.UnitTest.142.TAEF.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.UnitTest.142.TAEF.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.UnitTest.142.TE
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UnitTest.141.TE.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.UnitTest.142.TE.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.UnitTest.142.TE.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.140.XDK.Ship.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Ship.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.140.XDK.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.140.XDK.Ship.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.XDK.Ship.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Ship.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.XDK.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.XDK.Ship.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.140.UWP.Ship.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Ship.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.140.UWP.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.140.UWP.Ship.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.UWP.Ship.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Ship.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.UWP.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.UWP.Ship.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.DesktopBridge.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UWP.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.DesktopBridge.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.DesktopBridge.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.GDK.C
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.GDK.C.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.GDK.C.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.GDK.C.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.Win32.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Win32.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.Win32.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.Win32.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.140.Win32.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Win32.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.140.Win32.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.140.Win32.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.141.Android
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Android.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.141.Android.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.141.Android.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.140.Android
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Android.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.140.Android.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.140.Android.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.142.Win32.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.Win32.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.142.Win32.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.142.Win32.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.142.GDK.C
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.GDK.C.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.142.GDK.C.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.142.GDK.C.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.142.UWP.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.UWP.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.142.UWP.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.142.UWP.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
//Microsoft.Xbox.Services.142.XDK.Cpp
|
||||
fileNodes.Add(new FileNode
|
||||
{
|
||||
cmake_vcxproj = @"Microsoft.Xbox.Services.XDK.Cpp.vcxproj",
|
||||
template = @"template-Microsoft.Xbox.Services.142.XDK.Cpp.vcxproj",
|
||||
output = @"Microsoft.Xbox.Services.142.XDK.Cpp.vcxproj",
|
||||
});
|
||||
|
||||
foreach (FileNode fn in fileNodes)
|
||||
{
|
||||
var template_lines = new List<string>();
|
||||
var output_lines = new List<string>();
|
||||
var cmake_vcxproj_lines = new List<string>();
|
||||
var cmake_vcxproj_filters_lines = new List<string>();
|
||||
var cmake_vcxproj_filters_lines_filtered = new List<string>();
|
||||
var cmake_vcxproj_files = new List<string>();
|
||||
|
||||
string cmake_vcxproj = Path.Combine(rootFolder, Path.Combine(@"Utilities\CMake\vcxprojs", fn.cmake_vcxproj));
|
||||
string cmake_vcxproj_filters_name = fn.cmake_vcxproj + ".filters";
|
||||
string cmake_vcxproj_filters = Path.Combine(rootFolder, Path.Combine(@"Utilities\CMake\vcxprojs", cmake_vcxproj_filters_name));
|
||||
string template = Path.Combine(rootFolder, Path.Combine(@"Utilities\CMake", fn.template));
|
||||
string output = Path.Combine(rootFolder, Path.Combine(@"Utilities\CMake\output", fn.output));
|
||||
string outputFilterName = fn.output + ".filters";
|
||||
string output_filters = Path.Combine(rootFolder, Path.Combine(@"Utilities\CMake\output", outputFilterName));
|
||||
|
||||
FileInfo fiInput = new FileInfo(cmake_vcxproj);
|
||||
FileInfo fiInputFilters = new FileInfo(cmake_vcxproj_filters);
|
||||
Console.WriteLine("inputVcxproj: " + cmake_vcxproj);
|
||||
Console.WriteLine("template: " + template);
|
||||
Console.WriteLine("output: " + output);
|
||||
|
||||
if (fiInput.Exists && fiInputFilters.Exists)
|
||||
{
|
||||
ReadFile(cmake_vcxproj, ref cmake_vcxproj_lines);
|
||||
ReadFile(cmake_vcxproj_filters, ref cmake_vcxproj_filters_lines);
|
||||
ExtractFileSection(ref cmake_vcxproj_lines, ref cmake_vcxproj_files, rootFolder, false);
|
||||
ReadFile(template, ref template_lines);
|
||||
ReplaceFileSection(template_lines, cmake_vcxproj_files, ref output_lines);
|
||||
if(fn.cmake_vcxproj.Contains(".Ship."))
|
||||
{
|
||||
ReplaceProjectName(ref output_lines, fn.output);
|
||||
}
|
||||
Console.WriteLine("Writing " + output);
|
||||
WriteFile(output_lines, output);
|
||||
cmake_vcxproj_filters_lines_filtered = ProcessFiltersFile(cmake_vcxproj_filters_lines, cmake_vcxproj_filters_lines_filtered, rootFolder, fn.output);
|
||||
Console.WriteLine("Writing " + output_filters);
|
||||
WriteFile(cmake_vcxproj_filters_lines_filtered, output_filters);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Skipping");
|
||||
}
|
||||
|
||||
Console.WriteLine("");
|
||||
}
|
||||
}
|
||||
|
||||
private static void ReplaceProjectName(ref List<string> output_lines, string outputFileName)
|
||||
{
|
||||
for (int i = 0; i < output_lines.Count; i++)
|
||||
{
|
||||
if (output_lines[i].Contains("<ProjectName>"))
|
||||
{
|
||||
string projectName = outputFileName.Replace(".vcxproj", "");
|
||||
output_lines[i] = " <ProjectName>" + projectName + "</ProjectName>";
|
||||
}
|
||||
|
||||
if (output_lines[i].Contains("<ProjectGuid>"))
|
||||
{
|
||||
string projectGuid;
|
||||
if (outputFileName.Contains("XDK"))
|
||||
{
|
||||
projectGuid = "{20E87245-DA60-40E5-9938-ABB445E78467}";
|
||||
}
|
||||
else
|
||||
{
|
||||
projectGuid = "{47FF466B-C455-48C0-8D89-37E3FC0897F8}";
|
||||
}
|
||||
output_lines[i] = " <ProjectGuid>" + projectGuid + "</ProjectGuid>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static string ReplaceString(string str, string oldValue, string newValue, StringComparison comparison)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
int previousIndex = 0;
|
||||
int index = str.IndexOf(oldValue, comparison);
|
||||
while (index != -1)
|
||||
{
|
||||
sb.Append(str.Substring(previousIndex, index - previousIndex));
|
||||
sb.Append(newValue);
|
||||
index += oldValue.Length;
|
||||
|
||||
previousIndex = index;
|
||||
index = str.IndexOf(oldValue, index, comparison);
|
||||
}
|
||||
sb.Append(str.Substring(previousIndex));
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
private static string MakeFilePathRelative(string inputFile, string rootFolder)
|
||||
{
|
||||
// <ClInclude Include="C:\git\forks\xbox-live-api\Source\Services\Common\Desktop\pch.h" />
|
||||
// to
|
||||
// <ClInclude Include="$(MSBuildThisFileDirectory)..\..\Source\Services\Common\Desktop\pch.h" />
|
||||
|
||||
string filteredFile = ReplaceString(inputFile, rootFolder, @"$(MSBuildThisFileDirectory)..\..\", StringComparison.OrdinalIgnoreCase);
|
||||
filteredFile = filteredFile.Replace(" Condition=\"'$(Configuration)|$(Platform)'=='Debug|Win32'\"", "");
|
||||
filteredFile = filteredFile.Replace(@"..\..\Utilities\CMake\build\", "");
|
||||
filteredFile = filteredFile.Replace("\" />", "\" />");
|
||||
|
||||
return filteredFile;
|
||||
}
|
||||
|
||||
private static void ReplaceFileSection(
|
||||
List<string> template_lines,
|
||||
List<string> cmake_vcxproj_files,
|
||||
ref List<string> output_lines)
|
||||
{
|
||||
for (int i = 0; i < template_lines.Count; i++)
|
||||
{
|
||||
string l = template_lines[i];
|
||||
if (l.Contains("****INSERTFILES****"))
|
||||
{
|
||||
foreach (string s in cmake_vcxproj_files)
|
||||
{
|
||||
output_lines.Add(s);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
output_lines.Add(l);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void WriteFile(List<string> output_lines, string outputFile)
|
||||
{
|
||||
FileInfo fi = new FileInfo(outputFile);
|
||||
Directory.CreateDirectory(fi.DirectoryName);
|
||||
using (StreamWriter outputWriter = new StreamWriter(outputFile))
|
||||
{
|
||||
foreach (string line in output_lines)
|
||||
{
|
||||
outputWriter.WriteLine(line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static List<string> ProcessFiltersFile(List<string> lines, List<string> lines_filtered, string rootFolder, string filePath)
|
||||
{
|
||||
rootFolder += "\\";
|
||||
foreach (string line in lines)
|
||||
{
|
||||
string lineOutput = MakeFilePathRelative(line, rootFolder);
|
||||
|
||||
lineOutput = lineOutput.Replace("<Filter>Header Files</Filter>", "<Filter>C++ Public Includes</Filter>");
|
||||
lineOutput = lineOutput.Replace("<Filter Include=\"Header Files\">", "<Filter Include=\"C++ Public Includes\">");
|
||||
|
||||
lines_filtered.Add(lineOutput);
|
||||
}
|
||||
|
||||
|
||||
// Need to sort filters file manually due to CMake bug: https://cmake.org/Bug/view.php?id=10481
|
||||
List<string> filterLines = new List<string>();
|
||||
List<List<string>> filterNodes = new List<List<string>>();
|
||||
bool captureFilters = false;
|
||||
for (int i = 0; i < lines_filtered.Count; i++)
|
||||
{
|
||||
string l1 = lines_filtered[i];
|
||||
|
||||
if (l1.Contains("<ItemGroup>"))
|
||||
{
|
||||
filterLines.Add(l1);
|
||||
captureFilters = true;
|
||||
i++;
|
||||
l1 = lines_filtered[i];
|
||||
}
|
||||
|
||||
if (l1.Contains("</ItemGroup>"))
|
||||
{
|
||||
//Console.WriteLine("Start");
|
||||
//foreach (var l in filterNodes)
|
||||
//{
|
||||
// Console.WriteLine(l[0]);
|
||||
//}
|
||||
var sortedList = filterNodes.OrderBy(x => x[0]);
|
||||
//Console.WriteLine("Final");
|
||||
//foreach (var l in sortedList)
|
||||
//{
|
||||
// Console.WriteLine(l[0]);
|
||||
//}
|
||||
foreach (var l in sortedList)
|
||||
{
|
||||
foreach (var s in l)
|
||||
{
|
||||
filterLines.Add(s);
|
||||
}
|
||||
}
|
||||
filterNodes.Clear();
|
||||
captureFilters = false;
|
||||
}
|
||||
|
||||
if (captureFilters)
|
||||
{
|
||||
List<string> filter = new List<string>();
|
||||
filter.Add(lines_filtered[i]);
|
||||
filter.Add(lines_filtered[i + 1]);
|
||||
filter.Add(lines_filtered[i + 2]);
|
||||
i += 2;
|
||||
|
||||
filterNodes.Add(filter);
|
||||
}
|
||||
else
|
||||
{
|
||||
filterLines.Add(l1);
|
||||
}
|
||||
}
|
||||
|
||||
return filterLines;
|
||||
}
|
||||
|
||||
private static void DiffFiles(string fileOld, string fileNew, string rootFolder)
|
||||
{
|
||||
FileInfo fi1 = new FileInfo(fileOld);
|
||||
FileInfo fi2 = new FileInfo(fileNew);
|
||||
if (!fi1.Exists)
|
||||
{
|
||||
Console.WriteLine("Missing: " + fileOld);
|
||||
return;
|
||||
}
|
||||
if (!fi2.Exists)
|
||||
{
|
||||
Console.WriteLine("Missing: " + fileNew);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var fileOld_lines = new List<string>();
|
||||
var fileOld_files = new List<string>();
|
||||
var fileOld_files_pre = new List<string>();
|
||||
ReadFile(fileOld, ref fileOld_lines);
|
||||
ExtractFileSection(ref fileOld_lines, ref fileOld_files_pre, rootFolder, true);
|
||||
foreach (string sOld in fileOld_files_pre)
|
||||
{
|
||||
var s = sOld.Replace("$(MSBuildThisFileDirectory)", "");
|
||||
s = s.Replace("\" />", "\" />");
|
||||
s = s.Replace("<", "");
|
||||
s = s.Replace("/>", "");
|
||||
s = s.Replace(">", "");
|
||||
s = s.Trim();
|
||||
s = s.ToLower();
|
||||
fileOld_files.Add(s);
|
||||
}
|
||||
var org_fileOld_files = new List<string>(fileOld_files);
|
||||
|
||||
var fileNew_lines = new List<string>();
|
||||
var fileNew_files_pre = new List<string>();
|
||||
var fileNew_files = new List<string>();
|
||||
ReadFile(fileNew, ref fileNew_lines);
|
||||
// <ClInclude Include="..\..\Include\xsapi\achievements.h" />
|
||||
// <ClCompile Include="..\..\Source\Services\Achievements\achievement.cpp" />
|
||||
ExtractFileSection(ref fileNew_lines, ref fileNew_files_pre, rootFolder, true);
|
||||
foreach (string sNew in fileNew_files_pre)
|
||||
{
|
||||
var s = sNew.Replace("$(MSBuildThisFileDirectory)", "");
|
||||
s = s.Replace("\" />", "\" />");
|
||||
s = s.Replace("<", "");
|
||||
s = s.Replace("/>", "");
|
||||
s = s.Replace(">", "");
|
||||
s = s.Trim();
|
||||
s = s.ToLower();
|
||||
fileNew_files.Add(s);
|
||||
}
|
||||
var org_fileNew_files = new List<string>(fileNew_files);
|
||||
|
||||
foreach (string sOld in fileOld_files)
|
||||
{
|
||||
if (sOld.Contains("achievements.h"))
|
||||
{
|
||||
bool contains = fileNew_files.Contains(sOld);
|
||||
fileNew_files.Remove(sOld);
|
||||
}
|
||||
|
||||
fileNew_files.Remove(sOld);
|
||||
}
|
||||
foreach (string sNew in org_fileNew_files)
|
||||
{
|
||||
fileOld_files.Remove(sNew);
|
||||
}
|
||||
|
||||
Console.WriteLine("Diffing:");
|
||||
Console.WriteLine(" " + fileOld);
|
||||
Console.WriteLine(" " + fileNew);
|
||||
foreach (string sOld in fileOld_files)
|
||||
{
|
||||
Console.WriteLine("Missing: " + sOld);
|
||||
}
|
||||
foreach (string sNew in fileNew_files)
|
||||
{
|
||||
Console.WriteLine("New: " + sNew);
|
||||
}
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{4CF5C8F2-239E-4F32-8C69-999C27FFE3AD}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ProjectFileProcessor</RootNamespace>
|
||||
<AssemblyName>ProjectFileProcessor</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26430.6
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjectFileProcessor", "ProjectFileProcessor.csproj", "{4CF5C8F2-239E-4F32-8C69-999C27FFE3AD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{4CF5C8F2-239E-4F32-8C69-999C27FFE3AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4CF5C8F2-239E-4F32-8C69-999C27FFE3AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4CF5C8F2-239E-4F32-8C69-999C27FFE3AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4CF5C8F2-239E-4F32-8C69-999C27FFE3AD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,36 +0,0 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("ProjectFileProcessor")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ProjectFileProcessor")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("4cf5c8f2-239e-4f32-8c69-999c27ffe3ad")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
Двоичный файл не отображается.
|
@ -1,27 +0,0 @@
|
|||
set ROOT_FOLDER=%1
|
||||
if "%1" EQU "" goto help
|
||||
set NEW_FOLDER=%ROOT_FOLDER%\Utilities\CMake\output
|
||||
set OLD_FOLDER=%ROOT_FOLDER%\Build
|
||||
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.UWP.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.UWP.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.UWP.Ship.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.UWP.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.XDK.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.140.XDK.Ship.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.140.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.UWP.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.UWP.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.UWP.Ship.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.UWP.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.XDK.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.141.XDK.Ship.Cpp.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.141.XDK.Cpp
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.UnitTest.140.TAEF.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.UnitTest.140.TAEF
|
||||
copy %NEW_FOLDER%\Microsoft.Xbox.Services.UnitTest.140.TE.vcxproj* %OLD_FOLDER%\Microsoft.Xbox.Services.UnitTest.140.TE
|
||||
|
||||
goto done
|
||||
:help
|
||||
@echo off
|
||||
echo.
|
||||
echo CopyBuildFiles.cmd rootFolder [skipCopy]
|
||||
echo.
|
||||
echo Example:
|
||||
echo CopyBuildFiles.cmd C:\git\forks\xbox-live-api
|
||||
echo.
|
||||
|
||||
:done
|
|
@ -1,39 +0,0 @@
|
|||
set CMAKE_FOLDER=%ROOT_FOLDER%\Utilities\CMake
|
||||
rmdir /q /s %CMAKE_FOLDER%\build
|
||||
mkdir %CMAKE_FOLDER%\build
|
||||
mkdir %CMAKE_FOLDER%\vcxprojs
|
||||
cd %CMAKE_FOLDER%\build
|
||||
echo This file is created on build server > build.cpp
|
||||
|
||||
set CMAKE_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
|
||||
if NOT EXIST %CMAKE_EXE% set CMAKE_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
|
||||
if NOT EXIST %CMAKE_EXE% set CMAKE_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
|
||||
if NOT EXIST %CMAKE_EXE% set CMAKE_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
|
||||
|
||||
%CMAKE_EXE% -G "Visual Studio 15 2017" %* CMakeLists.txt %CMAKE_FOLDER%
|
||||
if %ERRORLEVEL% NEQ 0 goto :EOF
|
||||
call :subCopy
|
||||
goto done
|
||||
|
||||
:subCopy
|
||||
del ALL_BUILD.*
|
||||
del *.sln
|
||||
del CMakeCache.txt
|
||||
del cmake_install.cmake
|
||||
rmdir /q /s %CMAKE_FOLDER%\build\CMakeFiles
|
||||
cd %CMAKE_FOLDER%
|
||||
move %CMAKE_FOLDER%\build\*.vcxproj %CMAKE_FOLDER%\vcxprojs
|
||||
move %CMAKE_FOLDER%\build\*.vcxproj.filters %CMAKE_FOLDER%\vcxprojs
|
||||
cd %CMAKE_FOLDER%\build
|
||||
goto:EOF
|
||||
|
||||
echo end
|
||||
|
||||
goto done
|
||||
|
||||
:done
|
||||
del %CMAKE_FOLDER%\build\build.cpp
|
||||
cd %CMAKE_FOLDER%
|
||||
rmdir /q /s %CMAKE_FOLDER%\build
|
||||
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x86">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x86">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{5fa18992-3e85-4090-b21e-6ef7fb613a44}</ProjectGuid>
|
||||
<Keyword>Android</Keyword>
|
||||
<RootNamespace>Microsoft_Xbox_Services_Android</RootNamespace>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
<ApplicationType>Android</ApplicationType>
|
||||
<ApplicationTypeRevision>2.0</ApplicationTypeRevision>
|
||||
<UseOfStl>c++_shared</UseOfStl>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>Clang_5_0</PlatformToolset>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup>
|
||||
<UseMultiToolTask>true</UseMultiToolTask>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>$(MSBuildThisFileDirectory)..\..\Source\Services\Common\Unix\pch.h</PrecompiledHeaderFile>
|
||||
<CompileAs>CompileAsCpp</CompileAs>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<!-- Added to not crash on ARMv7-based Android devices chips without NEON support, not needed for other architectures -->
|
||||
<AdditionalOptions Condition="'$(Platform)'=='ARM'">-mfpu=vfpv3-d16 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Platform)'=='x86'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<ExceptionHandling>Enabled</ExceptionHandling>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<CppLanguageStandard Condition="'$(Platform)'=='ARM'">c++1y</CppLanguageStandard>
|
||||
<CppLanguageStandard Condition="'$(Platform)'=='ARM64'">c++1y</CppLanguageStandard>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
|
@ -1,96 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{8F96710E-5169-4917-8874-7DE248F4D243}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<ApplicationType>Windows Store</ApplicationType>
|
||||
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
<AppContainerApplication>true</AppContainerApplication>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<WindowsAppContainer>true</WindowsAppContainer>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<CompileAsWinRT>true</CompileAsWinRT>
|
||||
</ClCompile>
|
||||
<link>
|
||||
<subsystem>windows</subsystem>
|
||||
<generatedebuginformation>true</generatedebuginformation>
|
||||
<generatewindowsmetadata>false</generatewindowsmetadata>
|
||||
</link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4099 /ignore:4264</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
|
@ -1,119 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{AB77D282-496D-413F-9A51-F78DF740A82A}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
|
||||
<TargetName>Microsoft.Xbox.Services.140.Win32.Cpp</TargetName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='StaticLibrary'">_NO_ASYNCRTIMP;_NO_PPLXIMP;_NO_XSAPIIMP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='DynamicLibrary'">_XSAPIIMP_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<ShowIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ShowIncludes>
|
||||
<MinimalRebuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</MinimalRebuild>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
</Project>
|
|
@ -1,84 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Durango">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Durango</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Durango">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Durango</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<!-- This property is set 'title' for XDK, remove it when you need to build for ADK -->
|
||||
<ApplicationEnvironment>title</ApplicationEnvironment>
|
||||
<ProjectGuid>{8A112040-CDA1-4490-B518-62DFCC451FA7}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectName>Microsoft.Xbox.Services.140.XDK.Cpp</ProjectName>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
||||
<AppContainerApplication Condition="'$(Platform)'!='Durango'">true</AppContainerApplication>
|
||||
<ConsumeWinRT>true</ConsumeWinRT>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
****INSERTFILES****
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='StaticLibrary'">_NO_ASYNCRTIMP;_NO_PPLXIMP;_NO_XSAPIIMP;XBL_API_NONE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='DynamicLibrary'">_XSAPIIMP_EXPORT;XBL_API_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>_VARIADIC_MAX=10;ENABLE_INTSAFE_SIGNED_FUNCTIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
||||
<AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<AdditionalOptions>/std:c++latest /bigobj /Zm250 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<CompileAsWinRT>true</CompileAsWinRT>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4264 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DEBUGTYPE:CV,FIXUP %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4264 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Import Project="Build.$(Platform).Cpp.props" Condition="exists('Build.$(Platform).Cpp.props')" />
|
||||
</Project>
|
|
@ -1,83 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x86">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x86">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{5fa18992-3e85-4090-b21e-6ef7fb613a44}</ProjectGuid>
|
||||
<Keyword>Android</Keyword>
|
||||
<RootNamespace>Microsoft_Xbox_Services_Android</RootNamespace>
|
||||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
|
||||
<ApplicationType>Android</ApplicationType>
|
||||
<ApplicationTypeRevision>3.0</ApplicationTypeRevision>
|
||||
<UseOfStl>c++_shared</UseOfStl>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>Clang_5_0</PlatformToolset>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup>
|
||||
<UseMultiToolTask>true</UseMultiToolTask>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>$(MSBuildThisFileDirectory)..\..\Source\Services\Common\Unix\pch.h</PrecompiledHeaderFile>
|
||||
<CompileAs>CompileAsCpp</CompileAs>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<!-- Added to not crash on ARMv7-based Android devices chips without NEON support, not needed for other architectures -->
|
||||
<AdditionalOptions Condition="'$(Platform)'=='ARM'">-mfpu=vfpv3-d16 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Platform)'=='ARM64'">%(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Platform)'=='x86'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Platform)'=='x64'">-std=c++14 -stdlib=libc++ %(AdditionalOptions)</AdditionalOptions>
|
||||
<ExceptionHandling>Enabled</ExceptionHandling>
|
||||
<WarningLevel>EnableAllWarnings</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
||||
<CppLanguageStandard Condition="'$(Platform)'=='ARM'">c++1y</CppLanguageStandard>
|
||||
<CppLanguageStandard Condition="'$(Platform)'=='ARM64'">c++1y</CppLanguageStandard>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
|
@ -1,90 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Gaming.Desktop.x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Gaming.Desktop.x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Gaming.Desktop.x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{60139F62-BF37-4F11-BD93-5FBF4E92100C}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<TargetName>Microsoft.Xbox.Services.141.GDK.C</TargetName>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<XsapiPlatform>GDK</XsapiPlatform>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.gdk.bwoi.props))\xsapi.gdk.bwoi.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup>
|
||||
<LibraryPath>$(Console_SdkLibPath);$(LibraryPath)</LibraryPath>
|
||||
<IncludePath>$(Console_SdkIncludeRoot);$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<ShowIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ShowIncludes>
|
||||
<MinimalRebuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</MinimalRebuild>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<AdditionalUsingDirectories>$(Console_SdkPackagesRoot);$(Console_SdkWindowsMetadataPath);%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>%(XboxExtensionsDependencies);</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
****INSERTFILES****
|
||||
</Project>
|
|
@ -1,109 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{8F96710E-5169-4917-8874-7DE248F4D243}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<ApplicationType>Windows Store</ApplicationType>
|
||||
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
<AppContainerApplication>true</AppContainerApplication>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<WindowsAppContainer>true</WindowsAppContainer>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<CompileAsWinRT>true</CompileAsWinRT>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4099 /ignore:4264</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">false</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
|
@ -1,125 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{4F107DE4-98B1-42B7-8767-0B5102C88E4F}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<TargetName>Microsoft.Xbox.Services.141.Win32.Cpp</TargetName>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='StaticLibrary'">_NO_ASYNCRTIMP;_NO_PPLXIMP;_NO_XSAPIIMP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='DynamicLibrary'">_XSAPIIMP_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<ShowIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ShowIncludes>
|
||||
<MinimalRebuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</MinimalRebuild>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
</Project>
|
|
@ -1,85 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Durango">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Durango</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Durango">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Durango</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<!-- This property is set 'title' for XDK, remove it when you need to build for ADK -->
|
||||
<ApplicationEnvironment>title</ApplicationEnvironment>
|
||||
<ProjectGuid>{8A112040-CDA1-4490-B518-62DFCC451FA7}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectName>Microsoft.Xbox.Services.141.XDK.Cpp</ProjectName>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
||||
<AppContainerApplication Condition="'$(Platform)'!='Durango'">true</AppContainerApplication>
|
||||
<ConsumeWinRT>true</ConsumeWinRT>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
****INSERTFILES****
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='StaticLibrary'">_NO_ASYNCRTIMP;_NO_PPLXIMP;_NO_XSAPIIMP;XBL_API_NONE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='DynamicLibrary'">_XSAPIIMP_EXPORT;XBL_API_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>_VARIADIC_MAX=10;ENABLE_INTSAFE_SIGNED_FUNCTIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
||||
<AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<AdditionalOptions>/bigobj /Zm250 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<CompileAsWinRT>true</CompileAsWinRT>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4264 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DEBUGTYPE:CV,FIXUP %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4264 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Import Project="Build.$(Platform).Cpp.props" Condition="exists('Build.$(Platform).Cpp.props')" />
|
||||
</Project>
|
|
@ -1,90 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Gaming.Desktop.x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Gaming.Desktop.x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Gaming.Desktop.x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{60139F62-BF37-4F11-BD93-5FBF4E92100C}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<TargetName>Microsoft.Xbox.Services.142.GDK.C</TargetName>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<XsapiPlatform>GDK</XsapiPlatform>
|
||||
</PropertyGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.gdk.bwoi.props))\xsapi.gdk.bwoi.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup>
|
||||
<LibraryPath>$(Console_SdkLibPath);$(LibraryPath)</LibraryPath>
|
||||
<IncludePath>$(Console_SdkIncludeRoot);$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<ShowIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ShowIncludes>
|
||||
<MinimalRebuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</MinimalRebuild>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<AdditionalUsingDirectories>$(Console_SdkPackagesRoot);$(Console_SdkWindowsMetadataPath);%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>%(XboxExtensionsDependencies);</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
****INSERTFILES****
|
||||
</Project>
|
|
@ -1,109 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{8F96710E-5169-4917-8874-7DE248F4D243}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<ApplicationType>Windows Store</ApplicationType>
|
||||
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
<AppContainerApplication>true</AppContainerApplication>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<WindowsAppContainer>true</WindowsAppContainer>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<CompileAsWinRT>true</CompileAsWinRT>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4099 /ignore:4264</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">false</WholeProgramOptimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
|
@ -1,124 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{4F107DE4-98B1-42B7-8767-0B5102C88E4F}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<TargetName>Microsoft.Xbox.Services.141.Win32.Cpp</TargetName>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;_DEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>_WIN32_WINNT=0x0A00;_WIN7_PLATFORM_UPDATE;WIN32;NDEBUG;_LIB;_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='StaticLibrary'">_NO_ASYNCRTIMP;_NO_PPLXIMP;_NO_XSAPIIMP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='DynamicLibrary'">_XSAPIIMP_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalOptions>/bigobj /Zm300 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<ShowIncludes Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ShowIncludes>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<AdditionalOptions>/permissive- /Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
****INSERTFILES****
|
||||
</Project>
|
|
@ -1,85 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Durango">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Durango</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Durango">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Durango</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<!-- This property is set 'title' for XDK, remove it when you need to build for ADK -->
|
||||
<ApplicationEnvironment>title</ApplicationEnvironment>
|
||||
<ProjectGuid>{8A112040-CDA1-4490-B518-62DFCC451FA7}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectName>Microsoft.Xbox.Services.142.XDK.Cpp</ProjectName>
|
||||
<RootNamespace>Microsoft.Xbox.Services</RootNamespace>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
||||
<AppContainerApplication Condition="'$(Platform)'!='Durango'">true</AppContainerApplication>
|
||||
<ConsumeWinRT>true</ConsumeWinRT>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
****INSERTFILES****
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='StaticLibrary'">_NO_ASYNCRTIMP;_NO_PPLXIMP;_NO_XSAPIIMP;XBL_API_NONE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(ConfigurationType)'=='DynamicLibrary'">_XSAPIIMP_EXPORT;XBL_API_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>_VARIADIC_MAX=10;ENABLE_INTSAFE_SIGNED_FUNCTIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
||||
<AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<AdditionalOptions>/bigobj /Zm250 %(AdditionalOptions)</AdditionalOptions>
|
||||
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<CompileAsWinRT>true</CompileAsWinRT>
|
||||
<SupportJustMyCode>false</SupportJustMyCode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4264 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DEBUGTYPE:CV,FIXUP %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>/ignore:4264 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Import Project="Build.$(Platform).Cpp.props" Condition="exists('Build.$(Platform).Cpp.props')" />
|
||||
</Project>
|
|
@ -1,114 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectName>Microsoft.Xbox.Services.UnitTest.141.TAEF</ProjectName>
|
||||
<ProjectGuid>{15F89B6A-312D-49A6-BBA6-CFD9242DB58E}</ProjectGuid>
|
||||
<RootNamespace>Microsoft.Xbox.System.Test</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
<HCLibPlatformType>Win32</HCLibPlatformType>
|
||||
<XsapiUnitTests>true</XsapiUnitTests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalOptions>/bigobj /Zm2000 /GS %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(XsapiRoot)Tests\UnitTests\Support\TAEF\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32'">$(XsapiRoot)Tests\UnitTests\Support\TAEF\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PreprocessorDefinitions>XSAPI_UNIT_TESTS;USING_TAEF;DASHBOARD_PRINCIPLE_GROUP;_NO_ASYNCRTIMP;_NO_PPLXIMP;_XSAPIIMP_EXPORT;XBOX_SYSTEM;INLINE_TEST_METHOD_MARKUP;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
||||
<AdditionalUsingDirectories>$(WindowsSdkDir_10)UnionMetadata;$(VCToolsInstallDir)lib\x86\store\references;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<DisableSpecificWarnings>4592</DisableSpecificWarnings>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Version.lib;Wex.Common.lib;Msxml6.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalOptions>/DEBUGTYPE:CV,FIXUP %(AdditionalOptions)</AdditionalOptions>
|
||||
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\Tests\UnitTests\Tests\Services\TestResponses" "$(OutDir)TestResponses" /e /y /i /r</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<CasablancaBinaries Include="$(SolutionDir)..\..\..\Binaries\$(Configuration)\$(Platform)\casablanca\*.*" />
|
||||
</ItemGroup>
|
||||
****INSERTFILES****
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
<PropertyGroup>
|
||||
<ProjectFolder>Microsoft.Xbox.System.UnitTest</ProjectFolder>
|
||||
<LocalDebuggerCommand>C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF\x64\TE.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerCommandArguments>$(TargetPath) /inproc</LocalDebuggerCommandArguments>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
<Target Name="CopyCasablancaBinaries" AfterTargets="Build">
|
||||
<Copy SourceFiles="@(CasablancaBinaries)" DestinationFolder="$(OutDir)" />
|
||||
</Target>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
|
@ -1,149 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>XSAPI_UNIT_TESTS;DASHBOARD_PRINCIPLE_GROUP;_NO_ASYNCRTIMP;_NO_PPLXIMP;_XSAPIIMP_EXPORT;XBOX_SYSTEM;INLINE_TEST_METHOD_MARKUP;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalOptions>/bigobj /Zm2000 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalUsingDirectories>C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\store\references;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<UseFullPaths>true</UseFullPaths>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Version.lib;Crypt32.lib;Winhttp.lib;Bcrypt.lib;Ws2_32.lib;pathcch.lib;Msxml6.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\Tests\UnitTests\Tests\Services\TestResponses" "$(OutDir)TestResponses" /e /y /i /r</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{3092CCC9-DB6E-4199-95CC-4959950B95FA}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>Microsoft.Xbox.Services.141.UnitTest</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
<ProjectName>Microsoft.Xbox.Services.UnitTest.141.TE</ProjectName>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WindowsAppContainer>false</WindowsAppContainer>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<XsapiUnitTests>true</XsapiUnitTests>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\Source;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DASHBOARD_PRINCIPLE_GROUP;_NO_ASYNCRTIMP;_NO_PPLXIMP;_XSAPIIMP_EXPORT;XBOX_SYSTEM;INLINE_TEST_METHOD_MARKUP;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;UNIT_TEST_SERVICES;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<CasablancaBinaries Include="$(SolutionDir)..\..\..\Binaries\$(Configuration)\$(Platform)\casablanca\*.*" />
|
||||
</ItemGroup>
|
||||
****INSERTFILES****
|
||||
<PropertyGroup>
|
||||
<ProjectFolder>Microsoft.Xbox.System.UnitTestNew</ProjectFolder>
|
||||
</PropertyGroup>
|
||||
<Target Name="CopyCasablancaBinaries" AfterTargets="Build">
|
||||
<Copy SourceFiles="@(CasablancaBinaries)" DestinationFolder="$(OutDir)" />
|
||||
</Target>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,114 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectName>Microsoft.Xbox.Services.UnitTest.142.TAEF</ProjectName>
|
||||
<ProjectGuid>{15F89B6A-312D-49A6-BBA6-CFD9242DB58E}</ProjectGuid>
|
||||
<RootNamespace>Microsoft.Xbox.System.Test</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
<HCLibPlatformType>Win32</HCLibPlatformType>
|
||||
<XsapiUnitTests>true</XsapiUnitTests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalOptions>/bigobj /Zm2000 /GS %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(XsapiRoot)Tests\UnitTests\Support\TAEF\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32'">$(XsapiRoot)Tests\UnitTests\Support\TAEF\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<PreprocessorDefinitions>XSAPI_UNIT_TESTS;USING_TAEF;DASHBOARD_PRINCIPLE_GROUP;_NO_ASYNCRTIMP;_NO_PPLXIMP;_XSAPIIMP_EXPORT;XBOX_SYSTEM;INLINE_TEST_METHOD_MARKUP;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
|
||||
<AdditionalUsingDirectories>$(WindowsSdkDir_10)UnionMetadata;$(VCToolsInstallDir)lib\x86\store\references;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<DisableSpecificWarnings>4592</DisableSpecificWarnings>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Version.lib;Wex.Common.lib;Msxml6.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalOptions>/DEBUGTYPE:CV,FIXUP %(AdditionalOptions)</AdditionalOptions>
|
||||
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\Tests\UnitTests\Tests\Services\TestResponses" "$(OutDir)TestResponses" /e /y /i /r</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<CasablancaBinaries Include="$(SolutionDir)..\..\..\Binaries\$(Configuration)\$(Platform)\casablanca\*.*" />
|
||||
</ItemGroup>
|
||||
****INSERTFILES****
|
||||
<ImportGroup Label="ExtensionTargets" />
|
||||
<PropertyGroup>
|
||||
<ProjectFolder>Microsoft.Xbox.System.UnitTest</ProjectFolder>
|
||||
<LocalDebuggerCommand>C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF\x64\TE.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerCommandArguments>$(TargetPath) /inproc</LocalDebuggerCommandArguments>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
<Target Name="CopyCasablancaBinaries" AfterTargets="Build">
|
||||
<Copy SourceFiles="@(CasablancaBinaries)" DestinationFolder="$(OutDir)" />
|
||||
</Target>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
|
@ -1,149 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>XSAPI_UNIT_TESTS;DASHBOARD_PRINCIPLE_GROUP;_NO_ASYNCRTIMP;_NO_PPLXIMP;_XSAPIIMP_EXPORT;XBOX_SYSTEM;INLINE_TEST_METHOD_MARKUP;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<AdditionalOptions>/bigobj /Zm2000 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalUsingDirectories>C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\store\references;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<UseFullPaths>true</UseFullPaths>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Version.lib;Crypt32.lib;Winhttp.lib;Bcrypt.lib;Ws2_32.lib;pathcch.lib;Msxml6.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<EnableCOMDATFolding>false</EnableCOMDATFolding>
|
||||
<SubSystem>Console</SubSystem>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\Tests\UnitTests\Tests\Services\TestResponses" "$(OutDir)TestResponses" /e /y /i /r</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{3092CCC9-DB6E-4199-95CC-4959950B95FA}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>Microsoft.Xbox.Services.142.UnitTest</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
<ProjectName>Microsoft.Xbox.Services.UnitTest.142.TE</ProjectName>
|
||||
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WindowsAppContainer>false</WindowsAppContainer>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<XsapiUnitTests>true</XsapiUnitTests>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), xsapi.props))\xsapi.props" />
|
||||
</ImportGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\Source;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>DASHBOARD_PRINCIPLE_GROUP;_NO_ASYNCRTIMP;_NO_PPLXIMP;_XSAPIIMP_EXPORT;XBOX_SYSTEM;INLINE_TEST_METHOD_MARKUP;WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP;UNIT_TEST_SERVICES;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<CasablancaBinaries Include="$(SolutionDir)..\..\..\Binaries\$(Configuration)\$(Platform)\casablanca\*.*" />
|
||||
</ItemGroup>
|
||||
****INSERTFILES****
|
||||
<PropertyGroup>
|
||||
<ProjectFolder>Microsoft.Xbox.System.UnitTestNew</ProjectFolder>
|
||||
</PropertyGroup>
|
||||
<Target Name="CopyCasablancaBinaries" AfterTargets="Build">
|
||||
<Copy SourceFiles="@(CasablancaBinaries)" DestinationFolder="$(OutDir)" />
|
||||
</Target>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,42 +0,0 @@
|
|||
/*
|
||||
Darkly Pygments Theme
|
||||
(c) 2014 Sourcey
|
||||
http://sourcey.com
|
||||
*/
|
||||
|
||||
.highlighter-rouge {
|
||||
background: #f2f2f2;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
white-space: pre;
|
||||
overflow: auto;
|
||||
word-wrap: normal; /* horizontal scrolling */
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
padding: 20px;
|
||||
background: #343642;
|
||||
color: #C1C2C3;
|
||||
}
|
||||
.highlight .hll { background-color: #ffc; }
|
||||
.highlight .gd { color: #2e3436; background-color: #0e1416; }
|
||||
.highlight .gr { color: #eeeeec; background-color: #c00; }
|
||||
.highlight .gi { color: #babdb6; background-color: #1f2b2d; }
|
||||
.highlight .go { color: #2c3032; background-color: #2c3032; }
|
||||
.highlight .kt { color: #e3e7df; }
|
||||
.highlight .ni { color: #888a85; }
|
||||
.highlight .c,.highlight .cm,.highlight .c1,.highlight .cs { color: #8D9684; }
|
||||
.highlight .err,.highlight .g,.highlight .l,.highlight .n,.highlight .x,.highlight .p,.highlight .ge,
|
||||
.highlight .gp,.highlight .gs,.highlight .gt,.highlight .ld,.highlight .s,.highlight .nc,.highlight .nd,
|
||||
.highlight .ne,.highlight .nl,.highlight .nn,.highlight .nx,.highlight .py,.highlight .ow,.highlight .w,.highlight .sb,
|
||||
.highlight .sc,.highlight .sd,.highlight .s2,.highlight .se,.highlight .sh,.highlight .si,.highlight .sx,.highlight .sr,
|
||||
.highlight .s1,.highlight .ss,.highlight .bp { color: #C1C2C3; }
|
||||
.highlight .k,.highlight .kc,.highlight .kd,.highlight .kn,.highlight .kp,.highlight .kr,
|
||||
.highlight .nt { color: #729fcf; }
|
||||
.highlight .cp,.highlight .gh,.highlight .gu,.highlight .na,.highlight .nf { color: #E9A94B ; }
|
||||
.highlight .m,.highlight .nb,.highlight .no,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo,
|
||||
.highlight .il { color: #8ae234; }
|
||||
.highlight .o { color: #989DAA; }
|
||||
.highlight .nv,.highlight .vc,.highlight .vg,.highlight .vi { color: #fff; }
|
|
@ -1,58 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
|
||||
<title>Xbox Live reference for UWP</title>
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="robots" content="" />
|
||||
<meta name="search.product" content=""/>
|
||||
|
||||
</head>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="xbox.css">
|
||||
<link rel="stylesheet" type="text/css" href="syntaxhighlighting.css">
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-24">
|
||||
<h1 id="heading-0">Xbox Live reference for Universal Windows Platform (UWP)</h1>
|
||||
|
||||
<h2 id="heading-1">Sections</h2>
|
||||
|
||||
<p><a href="WinRT-uwp/annotated.html">Xbox Live services for WinRT (UWP)</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains Xbox Live services APIs for WinRT development on UWP.</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="Cpp-uwp/annotated.html">Xbox Live services for C++ (UWP)</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains Xbox Live services APIs for exception-less C++ development on UWP. These APIs return HRESULTS instead of throwing exceptions on errors.</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="PlatX/xbl_sandbox/xbl_sandbox_portal.htm">Xbox Live Platform Extensions SDK API Reference</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains information about the Xbox Live Extensions SDK API, which provides services from Xbox Live that you can use when developing UWP games that run on both Windows 10 and Xbox One.</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,59 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
|
||||
<title>Xbox Live reference for XDK</title>
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="robots" content="" />
|
||||
<meta name="search.product" content=""/>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="xbox.css">
|
||||
<link rel="stylesheet" type="text/css" href="syntaxhighlighting.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-24">
|
||||
<h1 id="heading-0">Xbox Live reference for Xbox Development Kit (XDK)</h1>
|
||||
|
||||
<h2 id="heading-1">Sections</h2>
|
||||
|
||||
<p><a href="WinRT-xdk/annotated.html">Xbox Live services for WinRT (XDK)</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains Xbox Live services APIs for WinRT development on XDK.</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="Cpp-xdk/annotated.html">Xbox Live services for C++ (XDK)</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains Xbox Live services APIs for exception-less C++ development on XDK. These APIs return HRESULTS instead of throwing exceptions on errors.</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,69 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
|
||||
<title>Xbox Live SDK</title>
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="robots" content="" />
|
||||
<meta name="search.product" content=""/>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="xbox.css">
|
||||
<link rel="stylesheet" type="text/css" href="syntaxhighlighting.css">
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-24">
|
||||
<h1 id="heading-0">Xbox Live SDK</h1>
|
||||
|
||||
<p>Welcome to the Xbox Live SDK! The Xbox Live SDK contains APIs that let you add Xbox Live services to your Windows 10 or Xbox One game.</p>
|
||||
|
||||
<h2 id="heading-1">Sections</h2>
|
||||
<p><a href="Prog/en-us/docs/xboxlive/index.html">Xbox Live Programming Guide</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains overviews and guidance on using Xbox Live in your game.</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="xbox-live-reference-uwp.html">Xbox Live reference for Universal Windows Platform (UWP)</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains Xbox Live services APIs for UWP development.</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="xbox-live-reference-xdk.html">Xbox Live reference for Xbox Development Kit (XDK)</a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains Xbox Live services APIs for XDK development.</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="REST/atoc_xboxlivews_reference.htm">Xbox Live service RESTful reference </a></p>
|
||||
|
||||
<ul>
|
||||
<li>Contains Xbox Live service RESTful API reference.</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,10 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML><HEAD></HEAD><BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="FrameName" value="right">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
|
||||
</UL>
|
||||
</BODY>
|
||||
</HTML>
|
|
@ -1,42 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
|
||||
<!-- Sitemap 1.0 -->
|
||||
</HEAD><BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="ImageType" value="Folder">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live SDK">
|
||||
<param name="Local" value="Base/xbox-live-sdk.html">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live reference for UWP">
|
||||
<param name="Local" value="Base/xbox-live-reference-uwp.html">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for WinRT (UWP)">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for C++ (UWP)">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live reference for XDK">
|
||||
<param name="Local" value="Base/xbox-live-reference-xdk.html">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for WinRT (XDK)">
|
||||
</OBJECT>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for C++ (XDK)">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</BODY></HTML>
|
|
@ -1,52 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
|
||||
<!-- Sitemap 1.0 -->
|
||||
</HEAD>
|
||||
<ul>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live SDK">
|
||||
<param name="local" value="Base/xbox-live-sdk.html">
|
||||
</object>
|
||||
<!-- Begin programming guide TOC -->
|
||||
<!-- End programming guide TOC -->
|
||||
</li>
|
||||
<ul>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live reference for UWP">
|
||||
<param name="local" value="Base/xbox-live-reference-uwp.html">
|
||||
</object> </li>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for WinRT (UWP)">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for C++ (UWP)">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live reference for XDK">
|
||||
<param name="local" value="Base/xbox-live-reference-xdk.html">
|
||||
</object> </li>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for WinRT (XDK)">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Name" value="Xbox Live services for C++ (XDK)">
|
||||
</OBJECT>
|
||||
</UL>
|
||||
</ul>
|
||||
</ul>
|
||||
<BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="ImageType" value="Folder">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
</UL>
|
||||
</BODY></HTML>
|
Двоичные данные
Utilities/Docs/ChmTools/CombinedChmTemplate/XboxLiveSDK.chm
Двоичные данные
Utilities/Docs/ChmTools/CombinedChmTemplate/XboxLiveSDK.chm
Двоичный файл не отображается.
|
@ -1,21 +0,0 @@
|
|||
[OPTIONS]
|
||||
Binary TOC=Yes
|
||||
Compatibility=1.1 or later
|
||||
Compiled file=XboxLiveSDK.chm
|
||||
Contents file=Table of Contents.hhc
|
||||
Default topic=Base/xbox-live-sdk.html
|
||||
Display compile progress=No
|
||||
Full-text search=Yes
|
||||
Index file=Index.hhk
|
||||
Language=0x409 English (United States)
|
||||
Title=Xbox Live SDK
|
||||
|
||||
|
||||
[FILES]
|
||||
Base\xbox-live-sdk.html
|
||||
Base\xbox-live-reference-uwp.html
|
||||
Base\xbox-live-reference-xdk.html
|
||||
Base\xbox.css
|
||||
Base\syntaxhighlighting.css
|
||||
|
||||
[INFOTYPES]
|
|
@ -1,17 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<title xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">Xbox Live services for C++</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<script language="JavaScript" type="text/javascript" src="EventUtilities.js" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">;</script>
|
||||
</head>
|
||||
<body onload=" loadAll()" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<div id="header"><div id="nsrTitle">Xbox Live services for C++</div></div><div id="mainSection">
|
||||
<div id="mainBody">
|
||||
<p>You can use the Xbox Live services API for C++ to add Xbox Live services to your C++ game. These APIs return HRESULTS instead of throwing exceptions on errors. </p>
|
||||
<h2 id="in-this-section">In this section</h2>
|
||||
<p><a href="Cpp/annotated.html" ">Xbox Live SDK for C++</a></p>
|
||||
</div><div id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,347 +0,0 @@
|
|||
var ieBrowser = true;
|
||||
var otherBrowser = false;
|
||||
window.onload = ResizeWindow;
|
||||
window.onresize=ResizeWindow;
|
||||
function SetBrowserID()
|
||||
{
|
||||
var browser = navigator.appName;
|
||||
if(browser == "Microsoft Internet Explorer")
|
||||
{
|
||||
ieBrowser = true;
|
||||
otherBrowser = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
ieBrowser = false;
|
||||
otherBrowser = true;
|
||||
}
|
||||
}
|
||||
|
||||
function saveAll()
|
||||
{
|
||||
}
|
||||
|
||||
function AncestorTop(element)
|
||||
{
|
||||
if(element != null)
|
||||
{
|
||||
var top;
|
||||
if(typeof element.offsetTop !== "undefined")
|
||||
{
|
||||
top = element.offsetTop + AncestorTop(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
top = element.y + AncestorTop(element.offsetParent);
|
||||
}
|
||||
return top;
|
||||
} else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
function AncestorLeft(element)
|
||||
{
|
||||
if(element != null)
|
||||
{
|
||||
var left;
|
||||
if(typeof element.offsetLeft !== "undefined")
|
||||
{
|
||||
left = element.offsetLeft + AncestorLeft(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
left = element.x + AncestorLeft(element.offsetParent);
|
||||
}
|
||||
return left;
|
||||
} else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
function GetElementTop(element)
|
||||
{
|
||||
var top = element.offsetTop + AncestorTop(element.offsetParent);
|
||||
|
||||
if(typeof element.offsetTop !== "undefined")
|
||||
{
|
||||
top = element.offsetTop + AncestorTop(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
top = element.y + AncestorTop(element.offsetParent);
|
||||
}
|
||||
return top;
|
||||
}
|
||||
|
||||
function GetElementLeft(element)
|
||||
{
|
||||
var left;
|
||||
|
||||
if(typeof element.offsetLeft !== "undefined")
|
||||
{
|
||||
left = element.offsetLeft + AncestorLeft(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
left = element.x + AncestorLeft(element.offsetParent);
|
||||
}
|
||||
return left;
|
||||
}
|
||||
|
||||
function GetElementHeight(element)
|
||||
{
|
||||
if (typeof element.clip !== "undefined")
|
||||
{
|
||||
return element.clip.height;
|
||||
} else
|
||||
{
|
||||
if (typeof element.offsetHeight !== "undefined")
|
||||
{
|
||||
return element.offsetHeight;
|
||||
} else
|
||||
{
|
||||
return element.style.pixelHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function GetElementWidth(element)
|
||||
{
|
||||
if (typeof element.clip !== "undefined")
|
||||
{
|
||||
return element.clip.width;
|
||||
} else
|
||||
{
|
||||
if (element.offsetWidth !== "undefined")
|
||||
{
|
||||
return element.offsetWidth;
|
||||
} else
|
||||
{
|
||||
return element.style.pixelWidth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function GetWindowHeight()
|
||||
{
|
||||
var height;
|
||||
if (window.innerHeight)
|
||||
{
|
||||
height = window.innerHeight;
|
||||
} else
|
||||
{
|
||||
if (document.body.offsetHeight)
|
||||
{
|
||||
height = document.body.offsetHeight;
|
||||
}
|
||||
}
|
||||
return height;
|
||||
}
|
||||
|
||||
function GetWindowWidth()
|
||||
{
|
||||
var width;
|
||||
if (window.innerWidth)
|
||||
{
|
||||
width = window.innerWidth;
|
||||
} else
|
||||
{
|
||||
if(document.body.offsetWidth)
|
||||
{
|
||||
width = document.body.offsetWidth;
|
||||
}
|
||||
}
|
||||
return width;
|
||||
}
|
||||
|
||||
function SetX(element, x)
|
||||
{
|
||||
element.style.left = x;
|
||||
}
|
||||
|
||||
function SetY(element, y)
|
||||
{
|
||||
element.style.top = y;
|
||||
}
|
||||
|
||||
function SetHeight(element, height)
|
||||
{
|
||||
element.style.height = height;
|
||||
}
|
||||
|
||||
function SetWidth(element, width)
|
||||
{
|
||||
element.style.width = width;
|
||||
}
|
||||
|
||||
// returns the FIRST child of element that has a class attribute that matches class
|
||||
function GetChildElementByClass(element, elementClass)
|
||||
{
|
||||
var retElement = null;
|
||||
for( var child = element.firstChild; child != null; child = child.nextSibling)
|
||||
{
|
||||
if(child && child.nodeType != 1)
|
||||
{
|
||||
var childClass = child.getAttribute("class");
|
||||
if( typeof childClass !== "undefined" && childClass == elementClass)
|
||||
{
|
||||
retElement = child;
|
||||
return retElement;
|
||||
}
|
||||
}
|
||||
}
|
||||
return retElement;
|
||||
}
|
||||
|
||||
function loadAll()
|
||||
{
|
||||
//debugger;
|
||||
SetBrowserID();
|
||||
var heightDiff = 1;
|
||||
setWindowSize(heightDiff);
|
||||
|
||||
// select first language as default
|
||||
var languages = document.getElementsByClassName("languageSpecificSelector");
|
||||
if (languages[0]) {
|
||||
var children = languages[0].children;
|
||||
if (children[0]) {
|
||||
selectLanguage(children[0].className);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function ResizeWindow() {
|
||||
var heightDiff = 10
|
||||
setWindowSize(heightDiff);
|
||||
|
||||
}
|
||||
function setWindowSize(heightDiff) {
|
||||
|
||||
if (document.body.clientWidth == 0) return;
|
||||
|
||||
var height;
|
||||
var headerHeight;
|
||||
var header;
|
||||
var mainSection;
|
||||
|
||||
height = GetWindowHeight();
|
||||
|
||||
mainSection = document.getElementById("mainSection");
|
||||
if (mainSection == null) return;
|
||||
|
||||
header = document.getElementById("header");
|
||||
headerHeight = GetElementHeight(header) + 5;
|
||||
|
||||
if (document.body.offsetHeight > header.offsetHeight + 10)
|
||||
SetHeight(mainSection, height - headerHeight);
|
||||
else
|
||||
mainSection.style.height = 0;
|
||||
SetX(mainSection, 0);
|
||||
SetY(mainSection, headerHeight - heightDiff);
|
||||
|
||||
try {
|
||||
mainSection.setActive();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
|
||||
function CopyCode(key) {
|
||||
|
||||
var trElements = document.all.tags("pre");
|
||||
|
||||
var i;
|
||||
|
||||
for (i = 0; i < trElements.length; ++i) {
|
||||
if (key.parentElement.parentElement.parentElement == trElements[i].parentElement)
|
||||
{
|
||||
window.clipboardData.setData("Text", trElements[i].innerText);
|
||||
}
|
||||
}
|
||||
}
|
||||
function ExpandCollapse(siblingElement)
|
||||
{
|
||||
var state = siblingElement.getAttribute("state");
|
||||
var nextSibling = siblingElement.nextSibling;
|
||||
var expand = document.getElementById("expandImage").getAttribute("src");
|
||||
var collapse = document.getElementById("collapseImage").getAttribute("src");
|
||||
|
||||
if(state == "expanded")
|
||||
{
|
||||
siblingElement.setAttribute("state", "collapsed");
|
||||
siblingElement.style.backgroundImage = "url(" + expand + ")";
|
||||
nextSibling.style.display = "none";
|
||||
} else
|
||||
{
|
||||
siblingElement.setAttribute("state", "expanded");
|
||||
siblingElement.style.backgroundImage = "url(" + collapse + ")";
|
||||
nextSibling.style.display = "inline";
|
||||
}
|
||||
}
|
||||
|
||||
function InElementArea(element, e)
|
||||
{
|
||||
var left = GetElementLeft(element);
|
||||
var top = GetElementTop(element);
|
||||
var width = GetElementWidth(element);
|
||||
var height = GetElementHeight(element);
|
||||
|
||||
|
||||
var posX;
|
||||
var posY;
|
||||
|
||||
if (!e) var e = window.event;
|
||||
|
||||
if (e.pageX || e.pageY)
|
||||
{
|
||||
posX = e.pageX;
|
||||
posY = e.pageY;
|
||||
} else if (e.clientX || e.clientY)
|
||||
{
|
||||
posX = e.clientX + document.body.scrollLeft
|
||||
+ document.documentElement.scrollLeft;;
|
||||
posY = e.clientY + document.body.scrollTop
|
||||
+ document.documentElement.scrollTop;
|
||||
}
|
||||
if(posX >= left && posX <= left + width && posY >= top && posY <= top + height)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function selectLanguage(lang) {
|
||||
var elems = document.getElementsByTagName("SPAN");
|
||||
for (var i in elems) {
|
||||
var elem = elems[i];
|
||||
var p = elem.parentElement;
|
||||
if (!p) continue;
|
||||
if (p.tagName != "SPAN") continue;
|
||||
if (p.className == "languageSpecificText") {
|
||||
if (elem.className == lang) {
|
||||
elem.style.display = "";
|
||||
} else {
|
||||
elem.style.display = "none";
|
||||
}
|
||||
} else if (p.className == "languageSpecificSelector") {
|
||||
if (elem.className == lang) {
|
||||
elem.style.color = "orangered";
|
||||
} else {
|
||||
elem.style.color = "gray";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// getElementsByClassName is supported since IE9 of EcmaScript 5
|
||||
// while XMetal only supports EcmaScript 3 now, use this one instead
|
||||
if (!document.getElementsByClassName) {
|
||||
document.getElementsByClassName = function getElementsByClassName(classname) {
|
||||
var a = [];
|
||||
var re = new RegExp('(^| )' + classname + '( |$)');
|
||||
var els = document.getElementsByTagName("*");
|
||||
for (var i = 0, j = els.length; i < j; i++)
|
||||
if (re.test(els[i].className)) a.push(els[i]);
|
||||
return a;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<title xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">Xbox Live SDK</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<script language="JavaScript" type="text/javascript" src="EventUtilities.js" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">;</script>
|
||||
</head>
|
||||
<body onload=" loadAll()" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<div id="header"><div id="nsrTitle">Xbox Live SDK</div></div><div id="mainSection">
|
||||
<div id="mainBody">
|
||||
<p>Welcome to the Xbox Live SDK! The Xbox Live SDK contains APIs that let you add Xbox Live services to your Windows 10 or Xbox One game.</p>
|
||||
<h2 id="sections">Sections</h2>
|
||||
<p><a href="Prog/en-us/xboxlive/docs/index.html">Xbox Live Programming Guide</a></p>
|
||||
<ul><li>Contains overviews and guidance on using Xbox Live in your game.</li></ul>
|
||||
<p><a href="WinRTRefpage.htm" targetid="WinRTRefpage">Xbox Live services API for WinRT</a></p>
|
||||
<ul><li>Contains Xbox Live services APIs for WinRT development.</li></ul>
|
||||
<p><a href="CppRefpage.htm" targetid="CppRefpage">Xbox Live services API for C++</a></p><ul><li>Contains Xbox Live services APIs for exception-less C++ development.</li></ul>
|
||||
<p><a href="PlatX/xbl_sandbox/xbl_sandbox_portal.htm">Platform Extensions SDK API reference</a>
|
||||
</p><ul><li>Contains information about the Xbox Live Extensions SDK API, which provides services from Xbox Live that you can use when developing games that run on both Windows 10 and Xbox One.</li></ul>
|
||||
<p><a href="REST/atoc_xboxlivews_reference.htm">Xbox Live service RESTful reference</a>
|
||||
</p><ul><li>Contains Xbox Live service RESTful API reference.</li></ul>
|
||||
|
||||
<p>Copyright 2016 Microsoft Corporation, All rights reserved.</p>
|
||||
</div><div id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</p><ul><li>Contains information about the Xbox
|
|
@ -1,17 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<title xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">Xbox Live services for WinRT</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<script language="JavaScript" type="text/javascript" src="EventUtilities.js" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">;</script>
|
||||
</head>
|
||||
<body onload=" loadAll()" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<div id="header"><div id="nsrTitle">Xbox Live services for WinRT</div></div><div id="mainSection">
|
||||
<div id="mainBody">
|
||||
<p>You can use the Xbox Live services API for WinRT to add Xbox Live services to your WinRT game. </p>
|
||||
<h2 id="in-this-section">In this section</h2>
|
||||
<p><a href="WinRT/annotated.html">Xbox Live SDK for WinRT</a></p>
|
||||
</div><div id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,10 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML><HEAD></HEAD><BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="FrameName" value="right">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
|
||||
</UL>
|
||||
</BODY>
|
||||
</HTML>
|
|
@ -1,32 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
|
||||
<!-- Sitemap 1.0 -->
|
||||
</HEAD>
|
||||
<ul>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live SDK">
|
||||
<param name="local" value="Base/TitlePage.htm">
|
||||
</object>
|
||||
<!-- Begin programming guide TOC -->
|
||||
<!-- End programming guide TOC -->
|
||||
</li>
|
||||
<ul>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live services for WinRT">
|
||||
<param name="local" value="Base/WinRTRefpage.htm">
|
||||
</object> </li>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live services for C++">
|
||||
<param name="local" value="Base/CppRefpage.htm">
|
||||
</object> </li>
|
||||
</ul>
|
||||
</ul>
|
||||
<BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="ImageType" value="Folder">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
</UL>
|
||||
</BODY></HTML>
|
|
@ -1,17 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<title xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">Xbox Live services for C++</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<script language="JavaScript" type="text/javascript" src="EventUtilities.js" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">;</script>
|
||||
</head>
|
||||
<body onload=" loadAll()" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<div id="header"><div id="nsrTitle">Xbox Live services for C++</div></div><div id="mainSection">
|
||||
<div id="mainBody">
|
||||
<p>You can use the Xbox Live services API for C++ to add Xbox Live services to your C++ game. These APIs return HRESULTS instead of throwing exceptions on errors. </p>
|
||||
<h2 id="in-this-section">In this section</h2>
|
||||
<p><a href="Cpp/annotated.html" ">Xbox Live SDK for C++</a></p>
|
||||
</div><div id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,347 +0,0 @@
|
|||
var ieBrowser = true;
|
||||
var otherBrowser = false;
|
||||
window.onload = ResizeWindow;
|
||||
window.onresize=ResizeWindow;
|
||||
function SetBrowserID()
|
||||
{
|
||||
var browser = navigator.appName;
|
||||
if(browser == "Microsoft Internet Explorer")
|
||||
{
|
||||
ieBrowser = true;
|
||||
otherBrowser = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
ieBrowser = false;
|
||||
otherBrowser = true;
|
||||
}
|
||||
}
|
||||
|
||||
function saveAll()
|
||||
{
|
||||
}
|
||||
|
||||
function AncestorTop(element)
|
||||
{
|
||||
if(element != null)
|
||||
{
|
||||
var top;
|
||||
if(typeof element.offsetTop !== "undefined")
|
||||
{
|
||||
top = element.offsetTop + AncestorTop(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
top = element.y + AncestorTop(element.offsetParent);
|
||||
}
|
||||
return top;
|
||||
} else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
function AncestorLeft(element)
|
||||
{
|
||||
if(element != null)
|
||||
{
|
||||
var left;
|
||||
if(typeof element.offsetLeft !== "undefined")
|
||||
{
|
||||
left = element.offsetLeft + AncestorLeft(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
left = element.x + AncestorLeft(element.offsetParent);
|
||||
}
|
||||
return left;
|
||||
} else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
function GetElementTop(element)
|
||||
{
|
||||
var top = element.offsetTop + AncestorTop(element.offsetParent);
|
||||
|
||||
if(typeof element.offsetTop !== "undefined")
|
||||
{
|
||||
top = element.offsetTop + AncestorTop(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
top = element.y + AncestorTop(element.offsetParent);
|
||||
}
|
||||
return top;
|
||||
}
|
||||
|
||||
function GetElementLeft(element)
|
||||
{
|
||||
var left;
|
||||
|
||||
if(typeof element.offsetLeft !== "undefined")
|
||||
{
|
||||
left = element.offsetLeft + AncestorLeft(element.offsetParent);
|
||||
} else
|
||||
{
|
||||
left = element.x + AncestorLeft(element.offsetParent);
|
||||
}
|
||||
return left;
|
||||
}
|
||||
|
||||
function GetElementHeight(element)
|
||||
{
|
||||
if (typeof element.clip !== "undefined")
|
||||
{
|
||||
return element.clip.height;
|
||||
} else
|
||||
{
|
||||
if (typeof element.offsetHeight !== "undefined")
|
||||
{
|
||||
return element.offsetHeight;
|
||||
} else
|
||||
{
|
||||
return element.style.pixelHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function GetElementWidth(element)
|
||||
{
|
||||
if (typeof element.clip !== "undefined")
|
||||
{
|
||||
return element.clip.width;
|
||||
} else
|
||||
{
|
||||
if (element.offsetWidth !== "undefined")
|
||||
{
|
||||
return element.offsetWidth;
|
||||
} else
|
||||
{
|
||||
return element.style.pixelWidth;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function GetWindowHeight()
|
||||
{
|
||||
var height;
|
||||
if (window.innerHeight)
|
||||
{
|
||||
height = window.innerHeight;
|
||||
} else
|
||||
{
|
||||
if (document.body.offsetHeight)
|
||||
{
|
||||
height = document.body.offsetHeight;
|
||||
}
|
||||
}
|
||||
return height;
|
||||
}
|
||||
|
||||
function GetWindowWidth()
|
||||
{
|
||||
var width;
|
||||
if (window.innerWidth)
|
||||
{
|
||||
width = window.innerWidth;
|
||||
} else
|
||||
{
|
||||
if(document.body.offsetWidth)
|
||||
{
|
||||
width = document.body.offsetWidth;
|
||||
}
|
||||
}
|
||||
return width;
|
||||
}
|
||||
|
||||
function SetX(element, x)
|
||||
{
|
||||
element.style.left = x;
|
||||
}
|
||||
|
||||
function SetY(element, y)
|
||||
{
|
||||
element.style.top = y;
|
||||
}
|
||||
|
||||
function SetHeight(element, height)
|
||||
{
|
||||
element.style.height = height;
|
||||
}
|
||||
|
||||
function SetWidth(element, width)
|
||||
{
|
||||
element.style.width = width;
|
||||
}
|
||||
|
||||
// returns the FIRST child of element that has a class attribute that matches class
|
||||
function GetChildElementByClass(element, elementClass)
|
||||
{
|
||||
var retElement = null;
|
||||
for( var child = element.firstChild; child != null; child = child.nextSibling)
|
||||
{
|
||||
if(child && child.nodeType != 1)
|
||||
{
|
||||
var childClass = child.getAttribute("class");
|
||||
if( typeof childClass !== "undefined" && childClass == elementClass)
|
||||
{
|
||||
retElement = child;
|
||||
return retElement;
|
||||
}
|
||||
}
|
||||
}
|
||||
return retElement;
|
||||
}
|
||||
|
||||
function loadAll()
|
||||
{
|
||||
//debugger;
|
||||
SetBrowserID();
|
||||
var heightDiff = 1;
|
||||
setWindowSize(heightDiff);
|
||||
|
||||
// select first language as default
|
||||
var languages = document.getElementsByClassName("languageSpecificSelector");
|
||||
if (languages[0]) {
|
||||
var children = languages[0].children;
|
||||
if (children[0]) {
|
||||
selectLanguage(children[0].className);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function ResizeWindow() {
|
||||
var heightDiff = 10
|
||||
setWindowSize(heightDiff);
|
||||
|
||||
}
|
||||
function setWindowSize(heightDiff) {
|
||||
|
||||
if (document.body.clientWidth == 0) return;
|
||||
|
||||
var height;
|
||||
var headerHeight;
|
||||
var header;
|
||||
var mainSection;
|
||||
|
||||
height = GetWindowHeight();
|
||||
|
||||
mainSection = document.getElementById("mainSection");
|
||||
if (mainSection == null) return;
|
||||
|
||||
header = document.getElementById("header");
|
||||
headerHeight = GetElementHeight(header) + 5;
|
||||
|
||||
if (document.body.offsetHeight > header.offsetHeight + 10)
|
||||
SetHeight(mainSection, height - headerHeight);
|
||||
else
|
||||
mainSection.style.height = 0;
|
||||
SetX(mainSection, 0);
|
||||
SetY(mainSection, headerHeight - heightDiff);
|
||||
|
||||
try {
|
||||
mainSection.setActive();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
}
|
||||
|
||||
function CopyCode(key) {
|
||||
|
||||
var trElements = document.all.tags("pre");
|
||||
|
||||
var i;
|
||||
|
||||
for (i = 0; i < trElements.length; ++i) {
|
||||
if (key.parentElement.parentElement.parentElement == trElements[i].parentElement)
|
||||
{
|
||||
window.clipboardData.setData("Text", trElements[i].innerText);
|
||||
}
|
||||
}
|
||||
}
|
||||
function ExpandCollapse(siblingElement)
|
||||
{
|
||||
var state = siblingElement.getAttribute("state");
|
||||
var nextSibling = siblingElement.nextSibling;
|
||||
var expand = document.getElementById("expandImage").getAttribute("src");
|
||||
var collapse = document.getElementById("collapseImage").getAttribute("src");
|
||||
|
||||
if(state == "expanded")
|
||||
{
|
||||
siblingElement.setAttribute("state", "collapsed");
|
||||
siblingElement.style.backgroundImage = "url(" + expand + ")";
|
||||
nextSibling.style.display = "none";
|
||||
} else
|
||||
{
|
||||
siblingElement.setAttribute("state", "expanded");
|
||||
siblingElement.style.backgroundImage = "url(" + collapse + ")";
|
||||
nextSibling.style.display = "inline";
|
||||
}
|
||||
}
|
||||
|
||||
function InElementArea(element, e)
|
||||
{
|
||||
var left = GetElementLeft(element);
|
||||
var top = GetElementTop(element);
|
||||
var width = GetElementWidth(element);
|
||||
var height = GetElementHeight(element);
|
||||
|
||||
|
||||
var posX;
|
||||
var posY;
|
||||
|
||||
if (!e) var e = window.event;
|
||||
|
||||
if (e.pageX || e.pageY)
|
||||
{
|
||||
posX = e.pageX;
|
||||
posY = e.pageY;
|
||||
} else if (e.clientX || e.clientY)
|
||||
{
|
||||
posX = e.clientX + document.body.scrollLeft
|
||||
+ document.documentElement.scrollLeft;;
|
||||
posY = e.clientY + document.body.scrollTop
|
||||
+ document.documentElement.scrollTop;
|
||||
}
|
||||
if(posX >= left && posX <= left + width && posY >= top && posY <= top + height)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function selectLanguage(lang) {
|
||||
var elems = document.getElementsByTagName("SPAN");
|
||||
for (var i in elems) {
|
||||
var elem = elems[i];
|
||||
var p = elem.parentElement;
|
||||
if (!p) continue;
|
||||
if (p.tagName != "SPAN") continue;
|
||||
if (p.className == "languageSpecificText") {
|
||||
if (elem.className == lang) {
|
||||
elem.style.display = "";
|
||||
} else {
|
||||
elem.style.display = "none";
|
||||
}
|
||||
} else if (p.className == "languageSpecificSelector") {
|
||||
if (elem.className == lang) {
|
||||
elem.style.color = "orangered";
|
||||
} else {
|
||||
elem.style.color = "gray";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// getElementsByClassName is supported since IE9 of EcmaScript 5
|
||||
// while XMetal only supports EcmaScript 3 now, use this one instead
|
||||
if (!document.getElementsByClassName) {
|
||||
document.getElementsByClassName = function getElementsByClassName(classname) {
|
||||
var a = [];
|
||||
var re = new RegExp('(^| )' + classname + '( |$)');
|
||||
var els = document.getElementsByTagName("*");
|
||||
for (var i = 0, j = els.length; i < j; i++)
|
||||
if (re.test(els[i].className)) a.push(els[i]);
|
||||
return a;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<title xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">Xbox Live SDK</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<script language="JavaScript" type="text/javascript" src="EventUtilities.js" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">;</script>
|
||||
</head>
|
||||
<body onload=" loadAll()" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<div id="header"><div id="nsrTitle">Xbox Live SDK</div></div><div id="mainSection">
|
||||
<div id="mainBody">
|
||||
<p>Welcome to the Xbox Live SDK! The Xbox Live SDK contains APIs that let you add Xbox Live services to your Windows 10 or Xbox One game.</p>
|
||||
<h2 id="sections">Sections</h2>
|
||||
<p><a href="Prog/en-us/xboxlive/docs/index.html">Xbox Live Programming Guide</a></p>
|
||||
<ul><li>Contains overviews and guidance on using Xbox Live in your game.</li></ul>
|
||||
<p><a href="WinRTRefpage.htm" targetid="WinRTRefpage">Xbox Live services API for WinRT</a></p>
|
||||
<ul><li>Contains Xbox Live services APIs for WinRT development.</li></ul>
|
||||
<p><a href="CppRefpage.htm" targetid="CppRefpage">Xbox Live services API for C++</a></p><ul><li>Contains Xbox Live services APIs for exception-less C++ development.</li></ul>
|
||||
<p><a href="REST/atoc_xboxlivews_reference.htm">Xbox Live service RESTful reference</a>
|
||||
</p><ul><li>Contains Xbox Live service RESTful API reference.</li></ul>
|
||||
|
||||
<p>Copyright 2016 Microsoft Corporation, All rights reserved.</p>
|
||||
</div><div id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</p><ul><li>Contains information about the Xbox
|
|
@ -1,17 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<title xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">Xbox Live services for WinRT</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink" />
|
||||
<script language="JavaScript" type="text/javascript" src="EventUtilities.js" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">;</script>
|
||||
</head>
|
||||
<body onload=" loadAll()" xmlns:caps="http://schemas.microsoft.com/build/caps/2013/11" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<div id="header"><div id="nsrTitle">Xbox Live services for WinRT</div></div><div id="mainSection">
|
||||
<div id="mainBody">
|
||||
<p>You can use the Xbox Live services API for WinRT to add Xbox Live services to your WinRT game. </p>
|
||||
<h2 id="in-this-section">In this section</h2>
|
||||
<p><a href="WinRT/annotated.html">Xbox Live SDK for WinRT</a></p>
|
||||
</div><div id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,10 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML><HEAD></HEAD><BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="FrameName" value="right">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
|
||||
</UL>
|
||||
</BODY>
|
||||
</HTML>
|
|
@ -1,32 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
|
||||
<!-- Sitemap 1.0 -->
|
||||
</HEAD>
|
||||
<ul>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live SDK">
|
||||
<param name="local" value="Base/TitlePage.htm">
|
||||
</object>
|
||||
<!-- Begin programming guide TOC -->
|
||||
<!-- End programming guide TOC -->
|
||||
</li>
|
||||
<ul>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live services for WinRT">
|
||||
<param name="local" value="Base/WinRTRefpage.htm">
|
||||
</object> </li>
|
||||
<li> <object type="text/sitemap">
|
||||
<param name="name" value="Xbox Live services for C++">
|
||||
<param name="local" value="Base/CppRefpage.htm">
|
||||
</object> </li>
|
||||
</ul>
|
||||
</ul>
|
||||
<BODY>
|
||||
<OBJECT type="text/site properties">
|
||||
<param name="ImageType" value="Folder">
|
||||
</OBJECT>
|
||||
<UL>
|
||||
</UL>
|
||||
</BODY></HTML>
|
|
@ -1,194 +0,0 @@
|
|||
<doxygenlayout version="1.0">
|
||||
<!-- Generated by doxygen 1.8.9.1 -->
|
||||
<!-- Navigation index tabs for HTML output -->
|
||||
<navindex>
|
||||
<tab type="mainpage" visible="no" title=""/>
|
||||
<tab type="pages" visible="yes" title="" intro=""/>
|
||||
<tab type="modules" visible="yes" title="" intro=""/>
|
||||
<tab type="namespaces" visible="no" title="">
|
||||
<tab type="namespacelist" visible="no" title="" intro=""/>
|
||||
<tab type="namespacemembers" visible="no" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="classes" visible="yes" title="">
|
||||
<tab type="classlist" visible="yes" title="" intro=""/>
|
||||
<tab type="classindex" visible="no" title=""/>
|
||||
<tab type="hierarchy" visible="no" title="" intro=""/>
|
||||
<tab type="classmembers" visible="no" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="files" visible="yes" title="">
|
||||
<tab type="filelist" visible="yes" title="" intro=""/>
|
||||
<tab type="globals" visible="yes" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="examples" visible="yes" title="" intro=""/>
|
||||
</navindex>
|
||||
|
||||
<!-- Layout definition for a class page -->
|
||||
<class>
|
||||
<briefdescription visible="yes"/>
|
||||
<includes visible="$SHOW_INCLUDE_FILES"/>
|
||||
<inheritancegraph visible="$CLASS_GRAPH"/>
|
||||
<collaborationgraph visible="$COLLABORATION_GRAPH"/>
|
||||
<memberdecl>
|
||||
<nestedclasses visible="yes" title=""/>
|
||||
<publictypes title=""/>
|
||||
<services title=""/>
|
||||
<interfaces title=""/>
|
||||
<publicslots title=""/>
|
||||
<signals title=""/>
|
||||
<publicmethods title=""/>
|
||||
<publicstaticmethods title=""/>
|
||||
<publicattributes title=""/>
|
||||
<publicstaticattributes title=""/>
|
||||
<protectedtypes title=""/>
|
||||
<protectedslots title=""/>
|
||||
<protectedmethods title=""/>
|
||||
<protectedstaticmethods title=""/>
|
||||
<protectedattributes title=""/>
|
||||
<protectedstaticattributes title=""/>
|
||||
<packagetypes title=""/>
|
||||
<packagemethods title=""/>
|
||||
<packagestaticmethods title=""/>
|
||||
<packageattributes title=""/>
|
||||
<packagestaticattributes title=""/>
|
||||
<properties title=""/>
|
||||
<events title=""/>
|
||||
<privatetypes title=""/>
|
||||
<privateslots title=""/>
|
||||
<privatemethods title=""/>
|
||||
<privatestaticmethods title=""/>
|
||||
<privateattributes title=""/>
|
||||
<privatestaticattributes title=""/>
|
||||
<friends title=""/>
|
||||
<related title="" subtitle=""/>
|
||||
<membergroups visible="yes"/>
|
||||
</memberdecl>
|
||||
<detaileddescription title=""/>
|
||||
<memberdef>
|
||||
<inlineclasses title=""/>
|
||||
<typedefs title=""/>
|
||||
<enums title=""/>
|
||||
<services title=""/>
|
||||
<interfaces title=""/>
|
||||
<constructors title=""/>
|
||||
<functions title=""/>
|
||||
<related title=""/>
|
||||
<variables title=""/>
|
||||
<properties title=""/>
|
||||
<events title=""/>
|
||||
</memberdef>
|
||||
<allmemberslink visible="yes"/>
|
||||
<usedfiles visible="$SHOW_USED_FILES"/>
|
||||
<authorsection visible="yes"/>
|
||||
</class>
|
||||
|
||||
<!-- Layout definition for a namespace page -->
|
||||
<namespace>
|
||||
<briefdescription visible="yes"/>
|
||||
<memberdecl>
|
||||
<nestednamespaces visible="yes" title=""/>
|
||||
<constantgroups visible="yes" title=""/>
|
||||
<classes visible="yes" title=""/>
|
||||
<typedefs title=""/>
|
||||
<enums title=""/>
|
||||
<functions title=""/>
|
||||
<variables title=""/>
|
||||
<membergroups visible="yes"/>
|
||||
</memberdecl>
|
||||
<detaileddescription title=""/>
|
||||
<memberdef>
|
||||
<inlineclasses title=""/>
|
||||
<typedefs title=""/>
|
||||
<enums title=""/>
|
||||
<functions title=""/>
|
||||
<variables title=""/>
|
||||
</memberdef>
|
||||
<authorsection visible="yes"/>
|
||||
</namespace>
|
||||
|
||||
<!-- Layout definition for a file page -->
|
||||
<file>
|
||||
<briefdescription visible="yes"/>
|
||||
<includes visible="$SHOW_INCLUDE_FILES"/>
|
||||
<includegraph visible="$INCLUDE_GRAPH"/>
|
||||
<includedbygraph visible="$INCLUDED_BY_GRAPH"/>
|
||||
<sourcelink visible="yes"/>
|
||||
<memberdecl>
|
||||
<classes visible="yes" title=""/>
|
||||
<namespaces visible="yes" title=""/>
|
||||
<constantgroups visible="yes" title=""/>
|
||||
<defines title=""/>
|
||||
<typedefs title=""/>
|
||||
<enums title=""/>
|
||||
<functions title=""/>
|
||||
<variables title=""/>
|
||||
<membergroups visible="yes"/>
|
||||
</memberdecl>
|
||||
<detaileddescription title=""/>
|
||||
<memberdef>
|
||||
<inlineclasses title=""/>
|
||||
<defines title=""/>
|
||||
<typedefs title=""/>
|
||||
<enums title=""/>
|
||||
<functions title=""/>
|
||||
<variables title=""/>
|
||||
</memberdef>
|
||||
<authorsection/>
|
||||
</file>
|
||||
|
||||
<!-- Layout definition for a group page -->
|
||||
<group>
|
||||
<briefdescription visible="yes"/>
|
||||
<groupgraph visible="$GROUP_GRAPHS"/>
|
||||
<memberdecl>
|
||||
<nestedgroups visible="yes" title=""/>
|
||||
<dirs visible="yes" title=""/>
|
||||
<files visible="yes" title=""/>
|
||||
<namespaces visible="yes" title=""/>
|
||||
<classes visible="yes" title=""/>
|
||||
<defines title=""/>
|
||||
<typedefs title=""/>
|
||||
<enums title=""/>
|
||||
<enumvalues title=""/>
|
||||
<functions title=""/>
|
||||
<variables title=""/>
|
||||
<signals title=""/>
|
||||
<publicslots title=""/>
|
||||
<protectedslots title=""/>
|
||||
<privateslots title=""/>
|
||||
<events title=""/>
|
||||
<properties title=""/>
|
||||
<friends title=""/>
|
||||
<membergroups visible="yes"/>
|
||||
</memberdecl>
|
||||
<detaileddescription title=""/>
|
||||
<memberdef>
|
||||
<pagedocs/>
|
||||
<inlineclasses title=""/>
|
||||
<defines title=""/>
|
||||
<typedefs title=""/>
|
||||
<enums title=""/>
|
||||
<enumvalues title=""/>
|
||||
<functions title=""/>
|
||||
<variables title=""/>
|
||||
<signals title=""/>
|
||||
<publicslots title=""/>
|
||||
<protectedslots title=""/>
|
||||
<privateslots title=""/>
|
||||
<events title=""/>
|
||||
<properties title=""/>
|
||||
<friends title=""/>
|
||||
</memberdef>
|
||||
<authorsection visible="yes"/>
|
||||
</group>
|
||||
|
||||
<!-- Layout definition for a directory page -->
|
||||
<directory>
|
||||
<briefdescription visible="yes"/>
|
||||
<directorygraph visible="yes"/>
|
||||
<memberdecl>
|
||||
<dirs visible="yes"/>
|
||||
<files visible="yes"/>
|
||||
</memberdecl>
|
||||
<detaileddescription title=""/>
|
||||
</directory>
|
||||
</doxygenlayout>
|
|
@ -1,41 +0,0 @@
|
|||
:: Script isn't quite working yet, mostly keeping here so I can cut and paste the commands to quickly build the chms.
|
||||
|
||||
GOTO END
|
||||
|
||||
if NOT exist C:\xbox.services.xboxlivesdk\Tools\CHMMerger\CHMMerger\bin\Debug\CHMMerger.exe goto NEED_BUILD
|
||||
|
||||
:: Build Xbox Live SDK chm
|
||||
|
||||
cd C:\xbox.services.xboxlivesdk\Tools\CHMMerger\CHMMerger\bin\Debug
|
||||
|
||||
CHMMerger.exe -t "sdk" -w "C:\xbox.services.xboxlivesdk\Docs\working" -m "C:\xbox.services.xboxlivesdk\Docs\CombinedChmTemplateUWP" -p "C:\xbox.services.xboxlivesdk\Docs\source_chms\Xbox Live programming guide.chm" -n "C:\xbox.services.xboxlivesdk\Docs\source_chms\xblsdk_winrt_uwp.chm" -c "C:\xbox.services.xboxlivesdk\Docs\source_chms\xblsdk_cpp_uwp.chm" -r "C:\xbox.services.xboxlivesdk\Docs\source_chms\XboxLiveREST.chm" -e "C:\xbox.services.xboxlivesdk\Docs\source_chms\xbl_platform_extensions_sdk.chm"
|
||||
|
||||
cd c:\xbox.services.xboxlivesdk\Docs
|
||||
|
||||
xcopy XboxLiveSDK.chm XboxLiveSDK_uwp.chm /y
|
||||
|
||||
:: Build XDK chm
|
||||
|
||||
cd C:\xbox.services.xboxlivesdk\Tools\CHMMerger\CHMMerger\bin\Debug
|
||||
|
||||
CHMMerger.exe -t "xdk" -w "C:\xbox.services.xboxlivesdk\Docs\working" -m "C:\xbox.services.xboxlivesdk\Docs\CombinedChmTemplateXDK" -p "C:\xbox.services.xboxlivesdk\Docs\source_chms\Xbox Live programming guide.chm" -n "C:\xbox.services.xboxlivesdk\Docs\source_chms\xblsdk_winrt_Xbox.chm" -c "C:\xbox.services.xboxlivesdk\Docs\source_chms\xblsdk_cpp_Xbox.chm" -r "C:\xbox.services.xboxlivesdk\Docs\source_chms\XboxLiveREST.chm"
|
||||
|
||||
cd c:\xbox.services.xboxlivesdk\Docs
|
||||
|
||||
xcopy XboxLiveSDK.chm XboxLiveSDK_xdk.chm /y
|
||||
|
||||
GOTO CLEANUP
|
||||
|
||||
:CLEANUP
|
||||
|
||||
del C:\xbox.services.xboxlivesdk\Docs\CombinedChmTemplateUWP_working /Q
|
||||
del C:\xbox.services.xboxlivesdk\Docs\CombinedChmTemplateXDK_working /Q
|
||||
del XboxLiveSDK.chm
|
||||
|
||||
GOTO END
|
||||
|
||||
:NEED_BUILD
|
||||
|
||||
echo "You must first build the CHMMerger tool."
|
||||
|
||||
:END
|
|
@ -1,26 +0,0 @@
|
|||
:: If first parameter is "copy", then copy chms to source_chms
|
||||
:: If first parameter is "copyonly", then skip doxygen generation and copy the chms to source_chms
|
||||
|
||||
if "%1"=="copyonly" goto COPY
|
||||
|
||||
if not exist xblsdk_cpp\ mkdir xblsdk_cpp
|
||||
if not exist xblsdk_winrt\ mkdir xblsdk_winrt
|
||||
|
||||
doxygen source_chms\xblsdk_winrt_uwp.config
|
||||
doxygen source_chms\xblsdk_winrt_Xbox.config
|
||||
doxygen source_chms\xblsdk_cpp_uwp.config
|
||||
doxygen source_chms\xblsdk_cpp_Xbox.config
|
||||
|
||||
if not "%1"=="copy" goto END
|
||||
|
||||
:COPY
|
||||
echo "Copying chms to source_chms directory."
|
||||
xcopy xblsdk_winrt\uwp\xblsdk_winrt_uwp.chm source_chms\xblsdk_winrt_uwp.chm /y
|
||||
xcopy xblsdk_winrt\Xbox\xblsdk_winrt_Xbox.chm source_chms\xblsdk_winrt_Xbox.chm /y
|
||||
xcopy xblsdk_cpp\uwp\xblsdk_cpp_uwp.chm source_chms\xblsdk_cpp_uwp.chm /y
|
||||
xcopy xblsdk_cpp\Xbox\xblsdk_cpp_Xbox.chm source_chms\xblsdk_cpp_Xbox.chm /y
|
||||
|
||||
:END
|
||||
|
||||
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
```cpp
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = nullptr;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };
|
||||
|
||||
XblMultiplayerSessionHandle sessionHandle;
|
||||
HRESULT hr = XblMultiplayerWriteSessionResult(asyncBlock, &sessionHandle);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
// Process multiplayer session handle
|
||||
}
|
||||
else
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
};
|
||||
|
||||
XblMultiplayerSessionReference ref;
|
||||
pal::strcpy(ref.Scid, sizeof(ref.Scid), SCID);
|
||||
pal::strcpy(ref.SessionTemplateName, sizeof(ref.SessionTemplateName), SESSION_TEMPLATE_NAME);
|
||||
pal::strcpy(ref.SessionName, sizeof(ref.SessionName), SESSION_NAME);
|
||||
|
||||
XblMultiplayerSessionInitArgs args = {};
|
||||
|
||||
XblMultiplayerSessionHandle sessionHandle = XblMultiplayerSessionCreateHandle(XUID, &ref, &args);
|
||||
|
||||
auto hr = XblMultiplayerWriteSessionAsync(xblContextHandle, sessionHandle, XblMultiplayerSessionWriteMode::CreateNew, asyncBlock.get());
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,65 +0,0 @@
|
|||
```cpp
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = nullptr;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };
|
||||
size_t resultCount{ 0 };
|
||||
auto hr = XblMultiplayerGetSearchHandlesResultCount(asyncBlock, &resultCount);
|
||||
if (SUCCEEDED(hr) && resultCount > 0)
|
||||
{
|
||||
auto handles = new XblMultiplayerSearchHandle[resultCount];
|
||||
|
||||
hr = XblMultiplayerGetSearchHandlesResult(asyncBlock, handles, resultCount);
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
// Join the game session
|
||||
const char* handleId{ nullptr };
|
||||
XblMultiplayerSearchHandleGetId(handles[0], &handleId);
|
||||
|
||||
XblMultiplayerSessionReference multiplayerSessionReference;
|
||||
XblMultiplayerSearchHandleGetSessionReference(handles[0], &multiplayerSessionReference);
|
||||
|
||||
XblMultiplayerSessionHandle gameSession =
|
||||
XblMultiplayerSessionCreateHandle(xboxUserId, &multiplayerSessionReference, nullptr);
|
||||
|
||||
XblMultiplayerSessionJoin(gameSession, nullptr, true, true);
|
||||
|
||||
// TODO finish
|
||||
XblMultiplayerWriteSessionByHandleAsync(xboxLiveContext, gameSession, XblMultiplayerSessionWriteMode::UpdateExisting, handleId, async);
|
||||
|
||||
XblMultiplayerManagerJoinGame(handleId, xalUser);
|
||||
|
||||
// Close handles
|
||||
for (auto i = 0u; i < resultCount; ++i)
|
||||
{
|
||||
XblMultiplayerSearchHandleCloseHandle(handles[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
const char* sessionName{ "MinGameSession" };
|
||||
const char* orderByAttribute{ nullptr };
|
||||
bool orderAscending{ false };
|
||||
const char* searchFilter{ nullptr };
|
||||
const char* socialGroup{ nullptr };
|
||||
|
||||
HRESULT hr = XblMultiplayerGetSearchHandlesAsync(
|
||||
xblContextHandle,
|
||||
scid,
|
||||
sessionName,
|
||||
orderByAttribute,
|
||||
orderAscending,
|
||||
searchFilter,
|
||||
socialGroup,
|
||||
asyncBlock.get()
|
||||
);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,33 +0,0 @@
|
|||
```cpp
|
||||
std::vector<XblUserHandle> xblUsers;
|
||||
for (XblUserHandle xblUserHandle : xblUsers)
|
||||
{
|
||||
HRESULT hr = XblMultiplayerManagerLobbySessionAddLocalUser(xblUserHandle);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set member connection address
|
||||
const char* connectionAddress = "1.1.1.1";
|
||||
hr = XblMultiplayerManagerLobbySessionSetLocalMemberConnectionAddress(
|
||||
xblUserHandle, connectionAddress, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set custom member properties
|
||||
const char* propName = "Name";
|
||||
const char* propValueJson = "{}";
|
||||
hr = XblMultiplayerManagerLobbySessionSetProperties(propName, propValueJson, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
...
|
||||
}
|
||||
```
|
|
@ -1,29 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerLobbySessionAddLocalUser(xblUserHandle);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set member connection address
|
||||
const char* connectionAddress = "1.1.1.1";
|
||||
hr = XblMultiplayerManagerLobbySessionSetLocalMemberConnectionAddress(
|
||||
xblUserHandle, connectionAddress, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set custom member properties
|
||||
const char* propName = "Name";
|
||||
const char* propValueJson = "{}";
|
||||
hr = XblMultiplayerManagerLobbySessionSetProperties(propName, propValueJson, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
...
|
||||
```
|
|
@ -1,12 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerJoinLobby(inviteHandleId, xblUserHandle);
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set member connection address
|
||||
const char* connectionAddress = "1.1.1.1";
|
||||
hr = XblMultiplayerManagerLobbySessionSetLocalMemberConnectionAddress(
|
||||
xblUserHandle, connectionAddress, context);
|
||||
```
|
|
@ -1,46 +0,0 @@
|
|||
```cpp
|
||||
size_t tagsCount = 1;
|
||||
XblMultiplayerSessionTag tags[1] = {};
|
||||
tags[0] = XblMultiplayerSessionTag{ "SessionTag" };
|
||||
|
||||
size_t numberAttributesCount = 1;
|
||||
XblMultiplayerSessionNumberAttribute numberAttributes[1] = {};
|
||||
numberAttributes[0] = XblMultiplayerSessionNumberAttribute{ "numberattributename", 1.1 };
|
||||
|
||||
size_t strAttributesCount = 1;
|
||||
XblMultiplayerSessionStringAttribute strAttributes[1] = {};
|
||||
strAttributes[0] = XblMultiplayerSessionStringAttribute{ "stringattributename", "string attribute value" };
|
||||
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = nullptr;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };
|
||||
XblMultiplayerSearchHandle searchHandle{ nullptr };
|
||||
HRESULT hr = XblMultiplayerCreateSearchHandleResult(asyncBlock, &searchHandle);
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
const char* handleId{ nullptr };
|
||||
XblMultiplayerSearchHandleGetId(searchHandle, &handleId);
|
||||
}
|
||||
};
|
||||
|
||||
HRESULT hr = XblMultiplayerCreateSearchHandleAsync(
|
||||
xblContextHandle,
|
||||
&xblMultiplayerSessionReference,
|
||||
tags,
|
||||
tagsCount,
|
||||
numberAttributes,
|
||||
numberAttributesCount,
|
||||
strAttributes,
|
||||
strAttributesCount,
|
||||
asyncBlock.get()
|
||||
);
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,52 +0,0 @@
|
|||
```cpp
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = nullptr;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };
|
||||
size_t resultCount{ 0 };
|
||||
auto hr = XblMultiplayerGetSearchHandlesResultCount(asyncBlock, &resultCount);
|
||||
if (SUCCEEDED(hr) && resultCount > 0)
|
||||
{
|
||||
auto handles = new XblMultiplayerSearchHandle[resultCount];
|
||||
|
||||
hr = XblMultiplayerGetSearchHandlesResult(asyncBlock, handles, resultCount);
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
|
||||
// Process handles
|
||||
for (auto i = 0u; i < resultCount; ++i)
|
||||
{
|
||||
const char* handleId{ nullptr };
|
||||
XblMultiplayerSearchHandleGetId(handles[i], &handleId);
|
||||
|
||||
XblMultiplayerSearchHandleCloseHandle(handles[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
const char* sessionName{ "MinGameSession" };
|
||||
const char* orderByAttribute{ nullptr };
|
||||
bool orderAscending{ false };
|
||||
const char* searchFilter{ nullptr };
|
||||
const char* socialGroup{ nullptr };
|
||||
|
||||
HRESULT hr = XblMultiplayerGetSearchHandlesAsync(
|
||||
xblContextHandle,
|
||||
scid,
|
||||
sessionName,
|
||||
orderByAttribute,
|
||||
orderAscending,
|
||||
searchFilter,
|
||||
socialGroup,
|
||||
asyncBlock.get()
|
||||
);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,8 +0,0 @@
|
|||
```cpp
|
||||
uint32_t timeoutInSeconds = 30;
|
||||
HRESULT hr = XblMultiplayerManagerFindMatch(hopperName, attributesJson, timeoutInSeconds);
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerInitialize(lobbySessionTemplateName, queueUsedByMultiplayerManager);
|
||||
```
|
|
@ -1,7 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerJoinGameFromLobby(gameSessionTemplateName);
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle error
|
||||
}
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerJoinLobby(handleId, xblUserHandle);
|
||||
```
|
|
@ -1,12 +0,0 @@
|
|||
```cpp
|
||||
size_t xuidsCount = 1;
|
||||
uint64_t xuids[1] = {};
|
||||
xuids[0] = 1234567891234567;
|
||||
HRESULT hr = XblMultiplayerManagerLobbySessionInviteUsers(
|
||||
xblUserHandle,
|
||||
xuids,
|
||||
xuidsCount,
|
||||
nullptr, // ContextStringId
|
||||
nullptr // CustomActivationContext
|
||||
);
|
||||
```
|
|
@ -1,4 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerLobbySessionSetLocalMemberConnectionAddress(
|
||||
xblUserHandle, connectionAddress, context);
|
||||
```
|
|
@ -1,30 +0,0 @@
|
|||
```cpp
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = nullptr;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };
|
||||
size_t handlesCount = 1; // must be equal to invites requested
|
||||
XblMultiplayerInviteHandle handles[1] = {};
|
||||
HRESULT hr = XblMultiplayerSendInvitesResult(asyncBlock, handlesCount, handles);
|
||||
};
|
||||
|
||||
uint64_t xuids[1] = {};
|
||||
xuids[0] = targetXuid;
|
||||
size_t xuidsCount = 1;
|
||||
|
||||
HRESULT hr = XblMultiplayerSendInvitesAsync(
|
||||
xblContextHandle,
|
||||
&sessionReference,
|
||||
xuids,
|
||||
xuidsCount,
|
||||
titleId,
|
||||
contextStringId,
|
||||
customActivationContext,
|
||||
asyncBlock.get());
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,35 +0,0 @@
|
|||
```cpp
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = nullptr;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };
|
||||
|
||||
XblMultiplayerSessionHandle sessionHandle;
|
||||
HRESULT hr = XblMultiplayerWriteSessionResult(asyncBlock, &sessionHandle);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
// Process multiplayer session handle
|
||||
}
|
||||
else
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
};
|
||||
|
||||
XblMultiplayerSessionReference ref;
|
||||
pal::strcpy(ref.Scid, sizeof(ref.Scid), SCID);
|
||||
pal::strcpy(ref.SessionTemplateName, sizeof(ref.SessionTemplateName), SESSION_TEMPLATE_NAME);
|
||||
pal::strcpy(ref.SessionName, sizeof(ref.SessionName), SESSION_NAME);
|
||||
|
||||
XblMultiplayerSessionInitArgs args = {};
|
||||
|
||||
XblMultiplayerSessionHandle sessionHandle = XblMultiplayerSessionCreateHandle(XUID, &ref, &args);
|
||||
|
||||
auto hr = XblMultiplayerWriteSessionAsync(xblContextHandle, sessionHandle, XblMultiplayerSessionWriteMode::CreateNew, asyncBlock.get());
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,65 +0,0 @@
|
|||
```cpp
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = nullptr;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock };
|
||||
size_t resultCount{ 0 };
|
||||
auto hr = XblMultiplayerGetSearchHandlesResultCount(asyncBlock, &resultCount);
|
||||
if (SUCCEEDED(hr) && resultCount > 0)
|
||||
{
|
||||
auto handles = new XblMultiplayerSearchHandle[resultCount];
|
||||
|
||||
hr = XblMultiplayerGetSearchHandlesResult(asyncBlock, handles, resultCount);
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
// Join the game session
|
||||
const char* handleId{ nullptr };
|
||||
XblMultiplayerSearchHandleGetId(handles[0], &handleId);
|
||||
|
||||
XblMultiplayerSessionReference multiplayerSessionReference;
|
||||
XblMultiplayerSearchHandleGetSessionReference(handles[0], &multiplayerSessionReference);
|
||||
|
||||
XblMultiplayerSessionHandle gameSession =
|
||||
XblMultiplayerSessionCreateHandle(xboxUserId, &multiplayerSessionReference, nullptr);
|
||||
|
||||
XblMultiplayerSessionJoin(gameSession, nullptr, true, true);
|
||||
|
||||
// TODO finish
|
||||
XblMultiplayerWriteSessionByHandleAsync(xboxLiveContext, gameSession, XblMultiplayerSessionWriteMode::UpdateExisting, handleId, async);
|
||||
|
||||
XblMultiplayerManagerJoinGame(handleId, xalUser);
|
||||
|
||||
// Close handles
|
||||
for (auto i = 0u; i < resultCount; ++i)
|
||||
{
|
||||
XblMultiplayerSearchHandleCloseHandle(handles[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
const char* sessionName{ "MinGameSession" };
|
||||
const char* orderByAttribute{ nullptr };
|
||||
bool orderAscending{ false };
|
||||
const char* searchFilter{ nullptr };
|
||||
const char* socialGroup{ nullptr };
|
||||
|
||||
HRESULT hr = XblMultiplayerGetSearchHandlesAsync(
|
||||
xblContextHandle,
|
||||
scid,
|
||||
sessionName,
|
||||
orderByAttribute,
|
||||
orderAscending,
|
||||
searchFilter,
|
||||
socialGroup,
|
||||
asyncBlock.get()
|
||||
);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,33 +0,0 @@
|
|||
```cpp
|
||||
std::vector<XblUserHandle> xblUsers;
|
||||
for (XblUserHandle xblUserHandle : xblUsers)
|
||||
{
|
||||
HRESULT hr = XblMultiplayerManagerLobbySessionAddLocalUser(xblUserHandle);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set member connection address
|
||||
const char* connectionAddress = "1.1.1.1";
|
||||
hr = XblMultiplayerManagerLobbySessionSetLocalMemberConnectionAddress(
|
||||
xblUserHandle, connectionAddress, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set custom member properties
|
||||
const char* propName = "Name";
|
||||
const char* propValueJson = "{}";
|
||||
hr = XblMultiplayerManagerLobbySessionSetProperties(propName, propValueJson, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
...
|
||||
}
|
||||
```
|
|
@ -1,29 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerLobbySessionAddLocalUser(xblUserHandle);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set member connection address
|
||||
const char* connectionAddress = "1.1.1.1";
|
||||
hr = XblMultiplayerManagerLobbySessionSetLocalMemberConnectionAddress(
|
||||
xblUserHandle, connectionAddress, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set custom member properties
|
||||
const char* propName = "Name";
|
||||
const char* propValueJson = "{}";
|
||||
hr = XblMultiplayerManagerLobbySessionSetProperties(propName, propValueJson, context);
|
||||
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
...
|
||||
```
|
|
@ -1,12 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = XblMultiplayerManagerJoinLobby(inviteHandleId, xblUserHandle);
|
||||
if (!SUCCEEDED(hr))
|
||||
{
|
||||
// Handle failure
|
||||
}
|
||||
|
||||
// Set member connection address
|
||||
const char* connectionAddress = "1.1.1.1";
|
||||
hr = XblMultiplayerManagerLobbySessionSetLocalMemberConnectionAddress(
|
||||
xblUserHandle, connectionAddress, context);
|
||||
```
|
|
@ -1,26 +0,0 @@
|
|||
```cpp
|
||||
// Subscribe for statistic change events
|
||||
std::string statisticName = "totalPuzzlesSolved";
|
||||
XblRealTimeActivitySubscriptionHandle subscriptionHandle{ nullptr };
|
||||
HRESULT hr = XblUserStatisticsSubscribeToStatisticChange(
|
||||
xblContextHandle,
|
||||
xboxUserId,
|
||||
scid,
|
||||
statisticName.c_str(),
|
||||
&subscriptionHandle
|
||||
);
|
||||
|
||||
// Add a statistic changed handler
|
||||
void* context{ nullptr };
|
||||
XblFunctionContext statisticChangedFunctionContext = XblUserStatisticsAddStatisticChangedHandler(
|
||||
xboxLiveContext,
|
||||
[](XblStatisticChangeEventArgs eventArgs, void* context)
|
||||
{
|
||||
// Handle stat change
|
||||
LogToScreen("Statistic changed callback: stat changed (%s = %s)",
|
||||
eventArgs.latestStatistic.statisticName,
|
||||
eventArgs.latestStatistic.value);
|
||||
},
|
||||
context
|
||||
);
|
||||
```
|
|
@ -1,13 +0,0 @@
|
|||
```cpp
|
||||
// Remove the statistic changed handler
|
||||
XblUserStatisticsRemoveStatisticChangedHandler(
|
||||
xblContextHandle,
|
||||
statisticChangedFunctionContext
|
||||
);
|
||||
|
||||
// Unsubscribe for statistic change events
|
||||
HRESULT hr = XblUserStatisticsUnsubscribeFromStatisticChange(
|
||||
xboxLiveContext,
|
||||
statisticChangeSubscriptionHandle
|
||||
);
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
HCCleanup();
|
||||
```
|
|
@ -1,4 +0,0 @@
|
|||
```cpp
|
||||
const char* ver = nullptr;
|
||||
HRESULT hr = HCGetLibVersion(&ver);
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
HCHttpCallCloseHandle(httpCall);
|
||||
```
|
|
@ -1,4 +0,0 @@
|
|||
```cpp
|
||||
HCCallHandle call = nullptr;
|
||||
HRESULT hr = HCHttpCallCreate(&call);
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
HCCallHandle newHttpCall = HCHttpCallDuplicateHandle(httpCall);
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
uint64_t httpId = HCHttpCallGetId(httpCall);
|
||||
```
|
|
@ -1,4 +0,0 @@
|
|||
```cpp
|
||||
const char* url = nullptr;
|
||||
HRESULT hr = HCHttpCallGetRequestUrl(httpCall, &url);
|
||||
```
|
|
@ -1,19 +0,0 @@
|
|||
```cpp
|
||||
auto asyncBlock = std::make_unique<XAsyncBlock>();
|
||||
asyncBlock->queue = queue;
|
||||
asyncBlock->context = httpCall;
|
||||
asyncBlock->callback = [](XAsyncBlock* asyncBlock)
|
||||
{
|
||||
std::unique_ptr<XAsyncBlock> asyncBlockPtr{ asyncBlock }; // Take over ownership of the XAsyncBlock*
|
||||
HRESULT hr = XAsyncGetStatus(asyncBlock, false);
|
||||
LogToFile("HCHttpCallPerformAsync result: hr=%s", ConvertHR(hr).c_str());
|
||||
};
|
||||
|
||||
HRESULT hr = HCHttpCallPerformAsync(httpCall, asyncBlock.get());
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
// The call succeeded, so release the std::unique_ptr ownership of XAsyncBlock* since the callback will take over ownership.
|
||||
// If the call fails, the std::unique_ptr will keep ownership and delete the XAsyncBlock*
|
||||
asyncBlock.release();
|
||||
}
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = HCHttpCallRequestSetHeader(httpCall, headerName.c_str(), headerValue.c_str(), allowTracing);
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
```cpp
|
||||
HRESULT hr = HCHttpCallRequestSetRequestBodyString(httpCall, requestBodyString.c_str());
|
||||
```
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче