@ -0,0 +1,89 @@ | |||
--- | |||
AlignConsecutiveMacros: Consecutive | |||
AlignConsecutiveAssignments: None | |||
AlignConsecutiveBitFields: None | |||
AlignConsecutiveDeclarations: None | |||
AlignEscapedNewlines: Right | |||
AlignOperands: Align | |||
AlignTrailingComments: true | |||
AllowAllArgumentsOnNextLine: true | |||
AllowAllParametersOfDeclarationOnNextLine: true | |||
AllowShortEnumsOnASingleLine: true | |||
AllowShortBlocksOnASingleLine: Never | |||
AllowShortCaseLabelsOnASingleLine: false | |||
AllowShortFunctionsOnASingleLine: All | |||
AllowShortIfStatementsOnASingleLine: Never | |||
AllowShortLoopsOnASingleLine: false | |||
AlwaysBreakAfterDefinitionReturnType: All | |||
AlwaysBreakAfterReturnType: AllDefinitions | |||
AlwaysBreakBeforeMultilineStrings: false | |||
AlwaysBreakTemplateDeclarations: MultiLine | |||
# Custom brace breaking | |||
BreakBeforeBraces: Custom | |||
BraceWrapping: | |||
AfterCaseLabel: true | |||
AfterClass: true | |||
AfterControlStatement: Never | |||
AfterEnum: true | |||
AfterFunction: true | |||
AfterNamespace: true | |||
AfterObjCDeclaration: true | |||
AfterStruct: true | |||
AfterUnion: true | |||
AfterExternBlock: false | |||
BeforeElse: false | |||
BeforeWhile: true | |||
IndentBraces: false | |||
SplitEmptyFunction: true | |||
SplitEmptyRecord: true | |||
# Make the closing brace of container literals go to a new line | |||
Cpp11BracedListStyle: false | |||
# Never format includes | |||
IncludeBlocks: Preserve | |||
# clang-format version 4.0 through 12.0: | |||
#SortIncludes: false | |||
# clang-format version 13.0+: | |||
#SortIncludes: Never | |||
# No length limit, in case it breaks macros, you can | |||
# disable it with /* clang-format off/on */ comments | |||
ColumnLimit: 0 | |||
IndentWidth: 4 | |||
ContinuationIndentWidth: 4 | |||
IndentCaseLabels: false | |||
IndentCaseBlocks: false | |||
IndentGotoLabels: true | |||
IndentPPDirectives: None | |||
IndentExternBlock: NoIndent | |||
SpaceAfterCStyleCast: true | |||
SpacesInCStyleCastParentheses: false | |||
SpacesInConditionalStatement: false | |||
SpacesInContainerLiterals: true | |||
SpaceBeforeAssignmentOperators: true | |||
SpaceBeforeCaseColon: false | |||
SpaceBeforeParens: ControlStatements | |||
SpaceAroundPointerQualifiers: Default | |||
SpaceInEmptyBlock: false | |||
SpaceInEmptyParentheses: false | |||
UseCRLF: false | |||
UseTab: Never | |||
ForEachMacros: | |||
[ | |||
"spa_list_for_each", | |||
"spa_list_for_each_safe", | |||
"wl_list_for_each", | |||
"wl_array_for_each", | |||
"udev_list_entry_foreach", | |||
] | |||
--- | |||
@ -0,0 +1,77 @@ | |||
# For format see editorconfig.org | |||
# Copyright 2022 Collabora Ltd. | |||
# SPDX-License-Identifier: Zlib | |||
root = true | |||
[*.{c,cg,cpp,gradle,h,java,m,metal,pl,py,S,sh,txt}] | |||
indent_size = 4 | |||
indent_style = space | |||
[*.{html,js,json,m4,yml,yaml,vcxproj,vcxproj.filters}] | |||
indent_size = 2 | |||
indent_style = space | |||
[*.xml] | |||
indent_size = 4 | |||
indent_style = space | |||
[{CMakeLists.txt,sdl2-config*.cmake.in,cmake/*.cmake}] | |||
indent_size = 2 | |||
indent_style = space | |||
[{cmake_uninstall.cmake.in,test/CMakeLists.txt}] | |||
indent_size = 4 | |||
indent_style = space | |||
[configure.ac] | |||
# Inconsistently 2-, 4- or occasionally 3-space indented, but mostly 4, | |||
# so let's use 4 for new code | |||
indent_size = 4 | |||
indent_style = space | |||
[{Makefile.*,*.mk,*.sln,*.pbxproj,*.plist}] | |||
indent_size = 8 | |||
indent_style = tab | |||
tab_width = 8 | |||
[Makefile.os2] | |||
indent_size = 4 | |||
indent_style = space | |||
[test/Makefile.os2] | |||
indent_size = 2 | |||
indent_style = space | |||
[{src/core/os2/geniconv/makefile,src/core/os2/geniconv/os2cp.c}] | |||
indent_size = 2 | |||
indent_style = space | |||
[src/joystick/controller_type.*] | |||
indent_style = tab | |||
[src/joystick/hidapi/steam/*.h] | |||
indent_style = tab | |||
[src/libm/*.c] | |||
indent_style = tab | |||
[src/test/SDL_test_{crc32,md5,random}.c] | |||
indent_size = 2 | |||
indent_style = space | |||
[src/video/yuv2rgb/*.{c,h}] | |||
indent_style = tab | |||
[wayland-protocols/*.xml] | |||
indent_size = 2 | |||
indent_style = space | |||
[*.{markdown,md}] | |||
indent_size = 4 | |||
indent_style = space | |||
# Markdown syntax treats tabs as 4 spaces | |||
tab_width = 4 | |||
[{*.bat,*.rc}] | |||
end_of_line = crlf |
@ -0,0 +1,7 @@ | |||
<!--- Provide a general summary of your changes in the Title above --> | |||
## Description | |||
<!--- Describe your changes in detail --> | |||
## Existing Issue(s) | |||
<!--- If it fixes an open issue, please link to the issue here. --> |
@ -0,0 +1,81 @@ | |||
name: Build (Android) | |||
on: [push, pull_request] | |||
jobs: | |||
android: | |||
name: ${{ matrix.platform.name }} | |||
runs-on: ubuntu-latest | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
platform: | |||
- { name: Android.mk } | |||
- { name: CMake, cmake: 1, android_abi: "arm64-v8a", android_platform: 23, arch: "aarch64" } | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- uses: nttld/setup-ndk@v1 | |||
id: setup_ndk | |||
with: | |||
ndk-version: r21e | |||
- name: Build (Android.mk) | |||
if: ${{ matrix.platform.name == 'Android.mk' }} | |||
run: | | |||
./build-scripts/androidbuildlibs.sh | |||
- name: Setup (CMake) | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
sudo apt-get update | |||
sudo apt-get install ninja-build pkg-config | |||
- name: Configure (CMake) | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
cmake -B build \ | |||
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \ | |||
-DSDL_WERROR=ON \ | |||
-DANDROID_PLATFORM=${{ matrix.platform.android_platform }} \ | |||
-DANDROID_ABI=${{ matrix.platform.android_abi }} \ | |||
-DSDL_STATIC_PIC=ON \ | |||
-DSDL_VENDOR_INFO="Github Workflow" \ | |||
-DCMAKE_INSTALL_PREFIX=prefix \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-GNinja | |||
- name: Build (CMake) | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
cmake --build build --config Release --parallel --verbose | |||
- name: Install (CMake) | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
cmake --install build --config Release | |||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV | |||
( cd prefix; find ) | LC_ALL=C sort -u | |||
- name: Verify CMake configuration files | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \ | |||
-DANDROID_PLATFORM=${{ matrix.platform.android_platform }} \ | |||
-DANDROID_ABI=${{ matrix.platform.android_abi }} \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} | |||
cmake --build cmake_config_build --verbose | |||
- name: Verify sdl2-config | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
export CC="${{ steps.setup_ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=${{ matrix.platform.arch }}-none-linux-androideabi${{ matrix.platform.android_platform }}" | |||
export PATH=${{ env.SDL2_DIR }}/bin:$PATH | |||
cmake/test/test_sdlconfig.sh | |||
- name: Verify sdl2.pc | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
export CC="${{ steps.setup_ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=${{ matrix.platform.arch }}-none-linux-androideabi${{ matrix.platform.android_platform }}" | |||
export PKG_CONFIG_PATH=${{ env.SDL2_DIR }}/lib/pkgconfig | |||
cmake/test/test_pkgconfig.sh | |||
- name: Verify Android.mk | |||
if: ${{ matrix.platform.name == 'CMake' }} | |||
run: | | |||
export NDK_MODULE_PATH=${{ env.SDL2_DIR }}/share/ndk-modules | |||
ndk-build -C ${{ github.workspace }}/cmake/test APP_PLATFORM=android-${{ matrix.platform.android_platform }} APP_ABI=${{ matrix.platform.android_abi }} NDK_OUT=$PWD NDK_LIBS_OUT=$PWD V=1 |
@ -0,0 +1,45 @@ | |||
name: Build (Emscripten) | |||
on: [push, pull_request] | |||
jobs: | |||
emscripten: | |||
runs-on: ubuntu-latest | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- uses: mymindstorm/setup-emsdk@v10 | |||
with: | |||
version: 2.0.32 | |||
- name: Install ninja | |||
run: | | |||
sudo apt-get -y update | |||
sudo apt-get install -y ninja-build | |||
- name: Configure CMake | |||
run: | | |||
emcmake cmake -S . -B build \ | |||
-DSDL_WERROR=ON \ | |||
-DSDL_TESTS=ON \ | |||
-DSDL_INSTALL_TESTS=ON \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_INSTALL_PREFIX=prefix \ | |||
-GNinja | |||
- name: Build | |||
run: cmake --build build/ --verbose | |||
- name: Run build-time tests | |||
run: | | |||
set -eu | |||
export SDL_TESTS_QUICK=1 | |||
# FIXME: enable Emscripten build time tests | |||
# ctest -VV --test-dir build/ | |||
- name: Install | |||
run: | | |||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV | |||
cmake --install build/ | |||
- name: Verify CMake configuration files | |||
run: | | |||
emcmake cmake -S cmake/test -B cmake_config_build \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DSDL_VENDOR_INFO="Github Workflow" \ | |||
-DTEST_SHARED=FALSE \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} | |||
cmake --build cmake_config_build --verbose |
@ -0,0 +1,20 @@ | |||
name: Build (iOS/tvOS) | |||
on: [push, pull_request] | |||
jobs: | |||
Build: | |||
name: ${{ matrix.platform.name }} | |||
runs-on: macos-latest | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
platform: | |||
- { name: iOS, target: Static Library-iOS, sdk: iphoneos } | |||
- { name: tvOS, target: Static Library-tvOS, sdk: appletvos } | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- name: Build | |||
run: xcodebuild -project Xcode/SDL/SDL.xcodeproj -target '${{ matrix.platform.target }}' -configuration Release -sdk ${{ matrix.platform.sdk }} clean build |
@ -0,0 +1,206 @@ | |||
name: Build | |||
on: [push, pull_request] | |||
jobs: | |||
Build: | |||
name: ${{ matrix.platform.name }} | |||
runs-on: ${{ matrix.platform.os }} | |||
defaults: | |||
run: | |||
shell: ${{ matrix.platform.shell }} | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
platform: | |||
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686 } | |||
- { name: Windows (mingw64), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64 } | |||
- { name: Windows (clang32), os: windows-latest, shell: 'msys2 {0}', msystem: clang32, msys-env: mingw-w64-clang-i686 } | |||
- { name: Windows (clang64), os: windows-latest, shell: 'msys2 {0}', msystem: clang64, msys-env: mingw-w64-clang-x86_64 } | |||
- { name: Windows (ucrt64), os: windows-latest, shell: 'msys2 {0}', msystem: ucrt64, msys-env: mingw-w64-ucrt-x86_64 } | |||
- { name: Ubuntu 20.04 (CMake), os: ubuntu-20.04, shell: sh } | |||
- { name: Ubuntu 20.04 (autotools), os: ubuntu-20.04, shell: sh, autotools: true } | |||
- { name: Ubuntu 22.04 (CMake), os: ubuntu-22.04, shell: sh } | |||
- { name: Ubuntu 22.04 (autotools), os: ubuntu-22.04, shell: sh, autotools: true } | |||
- { name: MacOS (CMake), os: macos-latest, shell: sh, cmake: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' } | |||
- { name: MacOS (autotools), os: macos-latest, shell: sh, autotools: true } | |||
steps: | |||
- name: Set up MSYS2 | |||
if: matrix.platform.shell == 'msys2 {0}' | |||
uses: msys2/setup-msys2@v2 | |||
with: | |||
msystem: ${{ matrix.platform.msystem }} | |||
install: >- | |||
${{ matrix.platform.msys-env }}-cc | |||
${{ matrix.platform.msys-env }}-cmake | |||
${{ matrix.platform.msys-env }}-ninja | |||
${{ matrix.platform.msys-env }}-pkg-config | |||
- name: Setup Linux dependencies | |||
if: runner.os == 'Linux' | |||
run: | | |||
sudo apt-get update | |||
sudo apt-get install build-essential git make autoconf automake libtool \ | |||
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \ | |||
libaudio-dev libjack-dev libsndio-dev libsamplerate0-dev libx11-dev libxext-dev \ | |||
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libwayland-dev \ | |||
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \ | |||
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev | |||
- name: Setup extra Ubuntu 22.04 dependencies | |||
if: matrix.platform.os == 'ubuntu-22.04' | |||
run: | | |||
sudo apt-get install libpipewire-0.3-dev libdecor-0-dev | |||
- name: Setup Macos dependencies | |||
if: runner.os == 'macOS' | |||
run: | | |||
brew install \ | |||
ninja | |||
- uses: actions/checkout@v3 | |||
- name: Check that versioning is consistent | |||
# We only need to run this once: arbitrarily use the Linux/CMake build | |||
if: "runner.os == 'Linux' && ! matrix.platform.autotools" | |||
run: ./build-scripts/test-versioning.sh | |||
- name: Configure (CMake) | |||
if: "! matrix.platform.autotools" | |||
run: | | |||
cmake -S . -B build -G Ninja \ | |||
-DSDL_TESTS=ON \ | |||
-DSDL_WERROR=ON \ | |||
-DSDL_INSTALL_TESTS=ON \ | |||
-DSDL_VENDOR_INFO="Github Workflow" \ | |||
-DCMAKE_INSTALL_PREFIX=cmake_prefix \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
${{ matrix.platform.cmake }} | |||
- name: Build (CMake) | |||
if: "! matrix.platform.autotools" | |||
run: | | |||
cmake --build build/ --config Release --verbose --parallel | |||
- name: Run build-time tests (CMake) | |||
if: "! matrix.platform.autotools" | |||
run: | | |||
set -eu | |||
export SDL_TESTS_QUICK=1 | |||
ctest -VV --test-dir build/ | |||
if test "${{ runner.os }}" = "Linux"; then | |||
# This should show us the SDL_REVISION | |||
strings build/libSDL2-2.0.so.0 | grep SDL- | |||
fi | |||
- name: Install (CMake) | |||
if: "! matrix.platform.autotools" | |||
run: | | |||
set -eu | |||
cmake --install build/ --config Release | |||
echo "SDL2_DIR=$(pwd)/cmake_prefix" >> $GITHUB_ENV | |||
( cd cmake_prefix; find ) | LC_ALL=C sort -u | |||
- name: Configure (Autotools) | |||
if: matrix.platform.autotools | |||
run: | | |||
set -eu | |||
rm -fr build-autotools | |||
mkdir build-autotools | |||
./autogen.sh | |||
( | |||
cd build-autotools | |||
${{ github.workspace }}/configure \ | |||
--enable-vendor-info="Github Workflow" \ | |||
--enable-werror \ | |||
--prefix=${{ github.workspace }}/autotools_prefix \ | |||
) | |||
if test "${{ runner.os }}" != "macOS" ; then | |||
curdir="$(pwd)" | |||
multiarch="$(dpkg-architecture -qDEB_HOST_MULTIARCH)" | |||
( | |||
mkdir -p build-autotools/test | |||
cd build-autotools/test | |||
${{ github.workspace }}/test/configure \ | |||
--enable-werror \ | |||
--x-includes=/usr/include \ | |||
--x-libraries="/usr/lib/${multiarch}" \ | |||
--prefix=${{ github.workspace }}/autotools_prefix \ | |||
SDL_CFLAGS="-I${curdir}/include" \ | |||
SDL_LIBS="-L${curdir}/build-autotools/build/.libs -lSDL2" \ | |||
ac_cv_lib_SDL2_ttf_TTF_Init=no \ | |||
${NULL+} | |||
) | |||
fi | |||
- name: Build (Autotools) | |||
if: matrix.platform.autotools | |||
run: | | |||
set -eu | |||
parallel="$(getconf _NPROCESSORS_ONLN)" | |||
make -j"${parallel}" -C build-autotools V=1 | |||
if test "${{ runner.os }}" != "macOS" ; then | |||
make -j"${parallel}" -C build-autotools/test V=1 | |||
fi | |||
- name: Run build-time tests (Autotools) | |||
if: ${{ matrix.platform.autotools && (runner.os != 'macOS') }} | |||
run: | | |||
set -eu | |||
curdir="$(pwd)" | |||
parallel="$(getconf _NPROCESSORS_ONLN)" | |||
export SDL_TESTS_QUICK=1 | |||
make -j"${parallel}" -C build-autotools/test check LD_LIBRARY_PATH="${curdir}/build-autotools/build/.libs" | |||
if test "${{ runner.os }}" = "Linux"; then | |||
# This should show us the SDL_REVISION | |||
strings "${curdir}/build-autotools/build/.libs/libSDL2-2.0.so.0" | grep SDL- | |||
fi | |||
- name: Install (Autotools) | |||
if: matrix.platform.autotools | |||
run: | | |||
set -eu | |||
curdir="$(pwd)" | |||
parallel="$(getconf _NPROCESSORS_ONLN)" | |||
make -j"${parallel}" -C build-autotools install V=1 | |||
if test "${{ runner.os }}" != "macOS" ; then | |||
make -j"${parallel}" -C build-autotools/test install V=1 | |||
fi | |||
( cd autotools_prefix; find . ) | LC_ALL=C sort -u | |||
echo "SDL2_DIR=$(pwd)/autotools_prefix" >> $GITHUB_ENV | |||
- name: Verify CMake configuration files | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build -G Ninja \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} | |||
cmake --build cmake_config_build --verbose | |||
- name: Verify sdl2-config | |||
run: | | |||
export PATH=${{ env.SDL2_DIR }}/bin:$PATH | |||
cmake/test/test_sdlconfig.sh | |||
- name: Verify sdl2.pc | |||
run: | | |||
export PKG_CONFIG_PATH=${{ env.SDL2_DIR }}/lib/pkgconfig | |||
cmake/test/test_pkgconfig.sh | |||
- name: Distcheck (Autotools) | |||
if: matrix.platform.autotools | |||
run: | | |||
set -eu | |||
parallel="$(getconf _NPROCESSORS_ONLN)" | |||
make -j"${parallel}" -C build-autotools dist V=1 | |||
# Similar to Automake `make distcheck`: check that the tarball | |||
# release is sufficient to do a new build | |||
mkdir distcheck | |||
tar -C distcheck -zxf build-autotools/SDL2-*.tar.gz | |||
( cd distcheck/SDL2-* && ./configure ) | |||
make -j"${parallel}" -C distcheck/SDL2-* | |||
- name: Run installed-tests (Autotools) | |||
if: "runner.os == 'Linux' && matrix.platform.autotools" | |||
run: | | |||
set -eu | |||
parallel="$(getconf _NPROCESSORS_ONLN)" | |||
sudo make -j"${parallel}" -C build-autotools install | |||
sudo make -j"${parallel}" -C build-autotools/test install | |||
export SDL_TESTS_QUICK=1 | |||
# We need to set LD_LIBRARY_PATH because it isn't in the default | |||
# linker search path. We don't need to set XDG_DATA_DIRS for | |||
# ginsttest-runner, because /usr/local/share *is* in the default | |||
# search path for that. | |||
env --chdir=/ \ | |||
LD_LIBRARY_PATH=/usr/local/lib \ | |||
SDL_AUDIODRIVER=dummy \ | |||
SDL_VIDEODRIVER=dummy \ | |||
ginsttest-runner --tap SDL2 |
@ -0,0 +1,74 @@ | |||
name: Build (MSVC) | |||
on: [push, pull_request] | |||
jobs: | |||
Build: | |||
name: ${{ matrix.platform.name }} | |||
runs-on: windows-latest | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
platform: | |||
- { name: Windows (x64), flags: -A x64, project: VisualC/SDL.sln, projectflags: '/p:Platform=x64' } | |||
- { name: Windows (x86), flags: -A Win32, project: VisualC/SDL.sln, projectflags: '/p:Platform=Win32' } | |||
- { name: Windows static VCRT (x64), flags: -A x64 -DSDL_FORCE_STATIC_VCRT=ON } | |||
- { name: Windows static VCRT (x86), flags: -A Win32 -DSDL_FORCE_STATIC_VCRT=ON } | |||
- { name: Windows (clang-cl x64), flags: -T ClangCL -A x64 } | |||
- { name: Windows (clang-cl x86), flags: -T ClangCL -A Win32 } | |||
- { name: Windows (ARM), flags: -A ARM } | |||
- { name: Windows (ARM64), flags: -A ARM64 } | |||
- { name: UWP (x64), flags: -A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0" -DSDL_TESTS=OFF, nowerror: true, | |||
project: VisualC-WinRT/SDL-UWP.sln, projectflags: '/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.0.17763.0' } | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- name: Create CMake project using SDL as a subproject | |||
shell: python | |||
run: | | |||
import os | |||
import textwrap | |||
srcdir = r"${{ github.workspace }}".replace("\\", "/") | |||
builddir = f"{ srcdir }/build" | |||
os.makedirs(builddir) | |||
with open(f"{ builddir }/CMakeLists.txt", "w") as f: | |||
f.write(textwrap.dedent(f"""\ | |||
cmake_minimum_required(VERSION 3.0) | |||
project(sdl_user) | |||
add_subdirectory("{ srcdir }" SDL) | |||
""")) | |||
- name: Configure (CMake) | |||
run: cmake -S build -B build ` | |||
-DSDL_WERROR=${{ !matrix.platform.nowerror }} ` | |||
-DSDL_TESTS=ON ` | |||
-DSDL_INSTALL_TESTS=ON ` | |||
-DSDL_VENDOR_INFO="Github Workflow" ` | |||
-DSDL2_DISABLE_INSTALL=OFF ` | |||
${{ matrix.platform.flags }} ` | |||
-DCMAKE_INSTALL_PREFIX=prefix | |||
- name: Build (CMake) | |||
run: cmake --build build/ --config Release --parallel | |||
- name: Run build-time tests | |||
if: "! contains(matrix.platform.name, 'ARM')" | |||
run: | | |||
$env:SDL_TESTS_QUICK=1 | |||
ctest -VV --test-dir build/ -C Release | |||
- name: Install (CMake) | |||
run: | | |||
echo "SDL2_DIR=$Env:GITHUB_WORKSPACE/prefix" >> $Env:GITHUB_ENV | |||
cmake --install build/ | |||
- name: Verify CMake configuration files | |||
if: ${{ !contains(matrix.platform.name, 'UWP') }} # FIXME: cmake/test/CMakeLists.txt should support UWP | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build ` | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} ` | |||
${{ matrix.platform.flags }} | |||
cmake --build cmake_config_build --config Release | |||
- name: Add msbuild to PATH | |||
if: ${{ matrix.platform.project != '' }} | |||
uses: microsoft/setup-msbuild@v1.1.3 | |||
- name: Build msbuild | |||
if: ${{ matrix.platform.project != '' }} | |||
run: msbuild ${{ matrix.platform.project }} /m /p:BuildInParallel=true /p:Configuration=Release ${{ matrix.platform.projectflags }} |
@ -0,0 +1,42 @@ | |||
name: Build (Nintendo 3DS) | |||
on: [push, pull_request] | |||
jobs: | |||
n3ds: | |||
runs-on: ubuntu-latest | |||
container: | |||
image: devkitpro/devkitarm:latest | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- name: Install build requirements | |||
run: | | |||
apt update | |||
apt install ninja-build | |||
- name: Configure CMake | |||
run: | | |||
cmake -S . -B build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake \ | |||
-DSDL_WERROR=ON \ | |||
-DSDL_TESTS=ON \ | |||
-DSDL_INSTALL_TESTS=ON \ | |||
-DSDL_VENDOR_INFO="Github Workflow" \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_INSTALL_PREFIX=prefix | |||
- name: Build | |||
run: cmake --build build --verbose | |||
- name: Install CMake | |||
run: | | |||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV | |||
cmake --install build/ | |||
( cd prefix; find ) | LC_ALL=C sort -u | |||
- name: Verify CMake configuration files | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake \ | |||
-DTEST_SHARED=FALSE \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \ | |||
-DCMAKE_BUILD_TYPE=Release | |||
cmake --build cmake_config_build --verbose | |||
# Not running test_pkgconfig.sh and test_sdlconfig.sh | |||
# as invoking the compiler manually is not supported |
@ -0,0 +1,73 @@ | |||
name: Build (Sony Playstation 2) | |||
on: [push, pull_request] | |||
jobs: | |||
ps2: | |||
runs-on: ubuntu-latest | |||
container: ps2dev/ps2dev:latest | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- name: Setup dependencies | |||
run: | | |||
apk update | |||
apk add cmake gmp mpc1 mpfr4 ninja pkgconf make git | |||
# To be removed once ps2_drivers is part of PS2DEV | |||
- name: Install ps2_drivers lib | |||
run: | | |||
git clone https://github.com/fjtrujy/ps2_drivers.git | |||
cd ps2_drivers | |||
make -j $(getconf _NPROCESSORS_ONLN) clean | |||
make -j $(getconf _NPROCESSORS_ONLN) | |||
make -j $(getconf _NPROCESSORS_ONLN) install | |||
- name: Configure (CMake) | |||
run: | | |||
cmake -S . -B build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=$PS2DEV/ps2sdk/ps2dev.cmake \ | |||
-DSDL_WERROR=ON \ | |||
-DSDL_TESTS=ON \ | |||
-DCMAKE_INSTALL_PREFIX=cmake_prefix \ | |||
-DCMAKE_BUILD_TYPE=Release | |||
- name: Build | |||
run: cmake --build build --config Release --verbose --parallel | |||
- name: Install (CMake) | |||
run: | | |||
set -eu | |||
cmake --install build/ --config Release | |||
echo "SDL2_DIR=$(pwd)/cmake_prefix" >> $GITHUB_ENV | |||
( cd cmake_prefix; find ) | LC_ALL=C sort -u | |||
- name: Verify CMake configuration files | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=$PS2DEV/ps2sdk/ps2dev.cmake \ | |||
-DTEST_SHARED=FALSE \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \ | |||
-DCMAKE_BUILD_TYPE=Release | |||
cmake --build cmake_config_build --verbose | |||
- name: Verify sdl2-config | |||
run: | | |||
export CC=mips64r5900el-ps2-elf-gcc | |||
export PATH=${{ env.SDL2_DIR }}/bin:$PATH | |||
export EXTRA_LDFLAGS="-L$PS2DEV/ps2sdk/ee/lib -L$PS2DEV/gsKit/lib -L$PS2DEV/ps2sdk/ports/lib" | |||
cmake/test/test_sdlconfig.sh | |||
- name: Verify sdl2.pc | |||
run: | | |||
export CC=mips64r5900el-ps2-elf-gcc | |||
export EXTRA_LDFLAGS="-L$PS2DEV/ps2sdk/ee/lib -L$PS2DEV/gsKit/lib -L$PS2DEV/ps2sdk/ports/lib" | |||
export PKG_CONFIG_PATH=${{ env.SDL2_DIR }}/lib/pkgconfig | |||
cmake/test/test_pkgconfig.sh | |||
- name: Get short SHA | |||
id: slug | |||
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" | |||
- name: Upload artifacts | |||
if: ${{ success() }} | |||
uses: actions/upload-artifact@v3 | |||
with: | |||
name: tests-${{ steps.slug.outputs.sha8 }} | |||
path: | | |||
build/test |
@ -0,0 +1,50 @@ | |||
name: Build (Sony Playstation Portable) | |||
on: [push, pull_request] | |||
jobs: | |||
psp: | |||
runs-on: ubuntu-latest | |||
container: pspdev/pspdev:latest | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- name: Setup dependencies | |||
run: | | |||
apk update | |||
apk add cmake gmp mpc1 mpfr4 make pkgconf | |||
- name: Configure CMake | |||
run: | | |||
cmake -S . -B build \ | |||
-DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \ | |||
-DSDL_WERROR=ON \ | |||
-DSDL_TESTS=ON \ | |||
-DSDL_INSTALL_TESTS=ON \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_INSTALL_PREFIX=prefix | |||
- name: Build | |||
run: cmake --build build --config Release | |||
- name: Install | |||
run: | | |||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV | |||
cmake --install build --config Release | |||
( cd prefix; find ) | LC_ALL=C sort -u | |||
- name: Verify CMake configuration files | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build \ | |||
-DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \ | |||
-DTEST_SHARED=FALSE \ | |||
-DCMAKE_BUILD_TYPE=Release | |||
cmake --build cmake_config_build --verbose | |||
- name: Verify sdl2-config | |||
run: | | |||
export CC=psp-gcc | |||
export PATH=${{ env.SDL2_DIR }}/bin:$PATH | |||
export EXTRA_LDFLAGS="-L$PSPDEV/lib -L$PSPDEV/psp/lib -L$PSPDEV/psp/sdk/lib" | |||
cmake/test/test_sdlconfig.sh | |||
- name: Verify sdl2.pc | |||
run: | | |||
export CC=psp-gcc | |||
export PKG_CONFIG_PATH=${{ env.SDL2_DIR }}/lib/pkgconfig | |||
export EXTRA_LDFLAGS="-L$PSPDEV/lib -L$PSPDEV/psp/lib -L$PSPDEV/psp/sdk/lib" | |||
cmake/test/test_pkgconfig.sh |
@ -0,0 +1,68 @@ | |||
name: Build (RISC OS) | |||
on: [push, pull_request] | |||
jobs: | |||
Build: | |||
name: ${{ matrix.platform.name }} | |||
runs-on: ubuntu-latest | |||
container: riscosdotinfo/riscos-gccsdk-4.7:latest | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
platform: | |||
- { name: autotools, test_args: '-DTEST_SHARED=FALSE' } # FIXME: autotools should build and install shared libraries | |||
- { name: CMake } | |||
steps: | |||
- name: Setup dependencies | |||
run: apt-get update && apt-get install -y cmake ninja-build | |||
- uses: actions/checkout@v3 | |||
- name: Configure (autotools) | |||
if: ${{ contains(matrix.platform.name, 'autotools') }} | |||
run: | | |||
mkdir build_autotools | |||
cd build_autotools | |||
../configure \ | |||
--host=arm-unknown-riscos \ | |||
--disable-gcc-atomics \ | |||
--prefix=${{ github.workspace }}/prefix_autotools | |||
- name: Build (autotools) | |||
if: ${{ contains(matrix.platform.name, 'autotools') }} | |||
run: make -C build_autotools -j`nproc` V=1 | |||
- name: Install (autotools) | |||
if: ${{ contains(matrix.platform.name, 'autotools') }} | |||
run: | | |||
echo "SDL2_DIR=${{ github.workspace }}/prefix_autotools" >> $GITHUB_ENV | |||
make -C build_autotools install | |||
( cd ${{ github.workspace }}/prefix_autotools; find ) | LC_ALL=C sort -u | |||
- name: Configure (CMake) | |||
if: ${{ contains(matrix.platform.name, 'CMake') }} | |||
run: | | |||
cmake -S . -B build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \ | |||
-DRISCOS=ON \ | |||
-DSDL_GCC_ATOMICS=OFF \ | |||
-DSDL_TESTS=ON \ | |||
-DSDL_INSTALL_TESTS=ON \ | |||
-DSDL_VENDOR_INFO="Github Workflow" \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/prefix_cmake | |||
- name: Build (CMake) | |||
if: ${{ contains(matrix.platform.name, 'CMake') }} | |||
run: cmake --build build --verbose | |||
- name: Install (CMake) | |||
if: ${{ contains(matrix.platform.name, 'CMake') }} | |||
run: | | |||
echo "SDL2_DIR=${{ github.workspace }}/prefix_cmake" >> $GITHUB_ENV | |||
cmake --install build/ | |||
( cd ${{ github.workspace }}/prefix_cmake; find ) | LC_ALL=C sort -u | |||
- name: Verify CMake configuration files | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
${{ matrix.platform.test_args }} | |||
cmake --build cmake_config_build --verbose |
@ -0,0 +1,53 @@ | |||
name: Build (Sony Playstation Vita) | |||
on: [push, pull_request] | |||
defaults: | |||
run: | |||
shell: sh | |||
jobs: | |||
vita: | |||
runs-on: ubuntu-latest | |||
container: | |||
image: vitasdk/vitasdk:latest | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- name: Install build requirements | |||
run: | | |||
apk update | |||
apk add cmake ninja pkgconf bash | |||
- name: Configure CMake | |||
run: | | |||
cmake -S . -B build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \ | |||
-DSDL_WERROR=ON \ | |||
-DSDL_TESTS=ON \ | |||
-DSDL_INSTALL_TESTS=ON \ | |||
-DCMAKE_BUILD_TYPE=Release \ | |||
-DCMAKE_INSTALL_PREFIX=prefix | |||
- name: Build | |||
run: cmake --build build --verbose | |||
- name: Install CMake | |||
run: | | |||
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV | |||
cmake --install build/ | |||
( cd prefix; find ) | LC_ALL=C sort -u | |||
- name: Verify CMake configuration files | |||
run: | | |||
cmake -S cmake/test -B cmake_config_build -G Ninja \ | |||
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \ | |||
-DTEST_SHARED=FALSE \ | |||
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \ | |||
-DCMAKE_BUILD_TYPE=Release | |||
cmake --build cmake_config_build --verbose | |||
- name: Verify sdl2-config | |||
run: | | |||
export CC=arm-vita-eabi-gcc | |||
export PATH=${{ env.SDL2_DIR }}/bin:$PATH | |||
cmake/test/test_sdlconfig.sh | |||
- name: Verify sdl2.pc | |||
run: | | |||
export CC=arm-vita-eabi-gcc | |||
export PKG_CONFIG_PATH=${{ env.SDL2_DIR }}/lib/pkgconfig | |||
cmake/test/test_pkgconfig.sh |
@ -0,0 +1,49 @@ | |||
name: Build (VM Actions) | |||
on: [push, pull_request] | |||
jobs: | |||
freebsd: | |||
runs-on: macos-12 | |||
name: FreeBSD | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- name: Build | |||
uses: vmactions/freebsd-vm@v0 | |||
with: | |||
usesh: true | |||
prepare: | | |||
pkg install -y \ | |||
gmake \ | |||
pkgconf \ | |||
libXcursor \ | |||
libXext \ | |||
libXinerama \ | |||
libXi \ | |||
libXfixes \ | |||
libXrandr \ | |||
libXScrnSaver \ | |||
libXxf86vm \ | |||
wayland \ | |||
wayland-protocols \ | |||
libxkbcommon \ | |||
mesa-libs \ | |||
libglvnd \ | |||
evdev-proto \ | |||
libinotify \ | |||
alsa-lib \ | |||
jackit \ | |||
nas \ | |||
pipewire \ | |||
pulseaudio \ | |||
sndio \ | |||
dbus \ | |||
zh-fcitx \ | |||
ibus \ | |||
libsamplerate \ | |||
libudev-devd | |||
run: | | |||
mkdir build_autotools | |||
(cd build_autotools && CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ../configure) | |||
gmake -C build_autotools -j`sysctl -n hw.ncpu` V=1 |
@ -0,0 +1,35 @@ | |||
name: Build (OpenWatcom) | |||
on: [push, pull_request] | |||
jobs: | |||
os2: | |||
name: ${{ matrix.platform.name }} | |||
runs-on: windows-latest | |||
strategy: | |||
matrix: | |||
platform: | |||
- { name: Windows, makefile: Makefile.w32 } | |||
- { name: OS/2, makefile: Makefile.os2 } | |||
steps: | |||
- uses: actions/checkout@v3 | |||
- uses: open-watcom/setup-watcom@v0 | |||
- name: Build SDL2 | |||
run: | | |||
wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1 | |||
- name: Build tests | |||
run: | | |||
cd test && wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1 | |||
cd .. | |||
- name: Run tests | |||
if: "matrix.platform.makefile == 'Makefile.w32'" | |||
run: | | |||
cd test && wmake -f ${{ matrix.platform.makefile }} check-quick | |||
cd .. | |||
- name: distclean | |||
run: | | |||
wmake -f ${{ matrix.platform.makefile }} distclean | |||
cd test && wmake -f ${{ matrix.platform.makefile }} distclean | |||
cd .. |
@ -0,0 +1,182 @@ | |||
aclocal.m4 | |||
autom4te* | |||
config.cache | |||
config.log | |||
config.status | |||
libtool | |||
Makefile | |||
Makefile.rules | |||
sdl2-config | |||
sdl2-config.cmake | |||
sdl2-config-version.cmake | |||
sdl2.pc | |||
SDL2.spec | |||
build | |||
gen | |||
Build | |||
buildbot | |||
/VERSION.txt | |||
*.so | |||
*.so.* | |||
*.dll | |||
*.exe | |||
*.o | |||
*.obj | |||
*.res | |||
*.lib | |||
*.a | |||
*.la | |||
*.dSYM | |||
*,e1f | |||
*,ff8 | |||
*.lnk | |||
*.err | |||
*.exp | |||
*.map | |||
*.orig | |||
*~ | |||
*.swp | |||
*.tmp | |||
*.rej | |||
# for CMake | |||
CMakeFiles/ | |||
CMakeCache.txt | |||
cmake_install.cmake | |||
cmake_uninstall.cmake | |||
SDL2ConfigVersion.cmake | |||
.ninja_* | |||
*.ninja | |||
# for CLion | |||
.idea | |||
cmake-build-* | |||
# for Xcode | |||
*.mode1* | |||
*.perspective* | |||
*.pbxuser | |||
(^|/)build($|/) | |||
.DS_Store | |||
xcuserdata | |||
*.xcworkspace | |||
# for Visual C++ | |||
.vs | |||
Debug | |||
Release | |||
*.user | |||
*.ncb | |||
*.suo | |||
*.sdf | |||
VisualC/tests/controllermap/axis.bmp | |||
VisualC/tests/controllermap/button.bmp | |||
VisualC/tests/controllermap/controllermap.bmp | |||
VisualC/tests/controllermap/controllermap_back.bmp | |||
VisualC/tests/loopwave/sample.wav | |||
VisualC/tests/testautomation/CompareSurfaces0001_Reference.bmp | |||
VisualC/tests/testautomation/CompareSurfaces0001_TestOutput.bmp | |||
VisualC/tests/testgamecontroller/axis.bmp | |||
VisualC/tests/testgamecontroller/button.bmp | |||
VisualC/tests/testgamecontroller/controllermap.bmp | |||
VisualC/tests/testgamecontroller/controllermap_back.bmp | |||
VisualC/tests/testoverlay2/moose.dat | |||
VisualC/tests/testrendertarget/icon.bmp | |||
VisualC/tests/testrendertarget/sample.bmp | |||
VisualC/tests/testscale/icon.bmp | |||
VisualC/tests/testscale/sample.bmp | |||
VisualC/tests/testsprite2/icon.bmp | |||
VisualC/tests/testyuv/testyuv.bmp | |||
VisualC/visualtest/icon.bmp | |||
VisualC/visualtest/testquit.actions | |||
VisualC/visualtest/testquit.config | |||
VisualC/visualtest/testquit.exe | |||
VisualC/visualtest/testquit.parameters | |||
VisualC/visualtest/testsprite2.exe | |||
VisualC/visualtest/testsprite2_sample.actions | |||
VisualC/visualtest/testsprite2_sample.config | |||
VisualC/visualtest/testsprite2_sample.parameters | |||
VisualC-GDK/**/Layout | |||
# for Android | |||
android-project/local.properties | |||
android-project/.gradle/ | |||
test/checkkeys | |||
test/checkkeysthreads | |||
test/controllermap | |||
test/loopwave | |||
test/loopwavequeue | |||
test/testatomic | |||
test/testaudiocapture | |||
test/testaudiohotplug | |||
test/testaudioinfo | |||
test/testautomation | |||
test/testbounds | |||
test/testcustomcursor | |||
test/testdisplayinfo | |||
test/testdraw2 | |||
test/testdrawchessboard | |||
test/testdropfile | |||
test/testerror | |||
test/testevdev | |||
test/testfile | |||
test/testfilesystem | |||
test/testgamecontroller | |||
test/testgeometry | |||
test/testgesture | |||
test/testgl2 | |||
test/testgles | |||
test/testgles2 | |||
test/testhaptic | |||
test/testhittesting | |||
test/testhotplug | |||
test/testiconv | |||
test/testime | |||
test/testintersections | |||
test/testjoystick | |||
test/testkeys | |||
test/testloadso | |||
test/testlocale | |||
test/testlock | |||
test/testmessage | |||
test/testmouse | |||
test/testmultiaudio | |||
test/testnative | |||
test/testoverlay2 | |||
test/testplatform | |||
test/testpower | |||
test/testqsort | |||
test/testrelative | |||
test/testrendercopyex | |||
test/testrendertarget | |||
test/testresample | |||
test/testrumble | |||
test/testscale | |||
test/testsem | |||
test/testsensor | |||
test/testshader | |||
test/testshape | |||
test/testsprite2 | |||
test/testspriteminimal | |||
test/teststreaming | |||
test/testsurround | |||
test/testthread | |||
test/testtimer | |||
test/testurl | |||
test/testver | |||
test/testviewport | |||
test/testvulkan | |||
test/testwm2 | |||
test/testyuv | |||
test/torturethread | |||
builddir/ | |||
debian/*.debhelper.log | |||
debian/*.substvars | |||
debian/*.tar.gz | |||
debian/.debhelper/ | |||
debian/files | |||
debian/libsdl*/ | |||
debian/tmp/ |
@ -0,0 +1,15 @@ | |||
projectfullname = SDL_mixer | |||
projectshortname = SDL_mixer | |||
incsubdir = include | |||
wikisubdir = | |||
apiprefixregex = (SDL_|SDLK_|KMOD_|AUDIO_) | |||
mainincludefname = SDL.h | |||
versionfname = include/SDL_version.h | |||
versionmajorregex = \A\#define\s+SDL_MAJOR_VERSION\s+(\d+)\Z | |||
versionminorregex = \A\#define\s+SDL_MINOR_VERSION\s+(\d+)\Z | |||
versionpatchregex = \A\#define\s+SDL_PATCHLEVEL\s+(\d+)\Z | |||
selectheaderregex = \ASDL.*?\.h\Z | |||
projecturl = https://libsdl.org/ | |||
wikiurl = https://wiki.libsdl.org | |||
bugreporturl = https://github.com/libsdl-org/sdlwiki/issues/new | |||
warn_about_missing = 0 |
@ -0,0 +1,280 @@ | |||
# Open Watcom makefile to build SDL2.dll for Win32 | |||
# wmake -f Makefile.w32 | |||
# | |||
# To error out upon warnings: wmake -f Makefile.w32 ENABLE_WERROR=1 | |||
LIBNAME = SDL2 | |||
MAJOR_VERSION = 2 | |||
MINOR_VERSION = 26 | |||
MICRO_VERSION = 2 | |||
VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION) | |||
LIBHOME = . | |||
DLLFILE = $(LIBHOME)/$(LIBNAME).dll | |||
LIBFILE = $(LIBHOME)/$(LIBNAME).lib | |||
EXPFILE = $(LIBHOME)/$(LIBNAME).exp | |||
LNKFILE = $(LIBNAME).lnk | |||
INCPATH = -I"$(%WATCOM)/h/nt" -I"$(%WATCOM)/h/nt/directx" -I"$(%WATCOM)/h" | |||
INCPATH+= -Iinclude | |||
INCPATH+= -I"src/video/khronos" | |||
LIBM = SDL2libm.lib | |||
TLIB = SDL2test.lib | |||
# user32.lib, gdi32.lib, ole32.lib and oleaut32.lib are actually | |||
# among the default libraries in wlink.lnk for nt_dll linkage... | |||
LIBS = user32.lib gdi32.lib winmm.lib imm32.lib ole32.lib oleaut32.lib shell32.lib setupapi.lib version.lib uuid.lib dxguid.lib $(LIBM) | |||
CFLAGS = -bt=nt -d0 -q -bm -5s -fp5 -fpi87 -sg -oeatxhn -ei | |||
# max warnings: | |||
CFLAGS+= -wx | |||
!ifeq ENABLE_WERROR 1 | |||
CFLAGS+= -we | |||
!endif | |||
# newer OpenWatcom versions enable W303 by default | |||
CFLAGS+= -wcd=303 | |||
# new vulkan headers result in lots of W202 warnings | |||
CFLAGS+= -wcd=202 | |||
# the include paths : | |||
CFLAGS+= $(INCPATH) | |||
CFLAGS_STATIC=$(CFLAGS) | |||
# building dll: | |||
CFLAGS_DLL =$(CFLAGS) | |||
CFLAGS_DLL+= -bd | |||
# we override the DECLSPEC define in begin_code.h, because we are using | |||
# an exports file to remove the _cdecl '_' prefix from the symbol names | |||
CFLAGS_DLL+= -DDECLSPEC= | |||
CFLAGS_DLL+= -DSDL_BUILD_MAJOR_VERSION=$(MAJOR_VERSION) | |||
CFLAGS_DLL+= -DSDL_BUILD_MINOR_VERSION=$(MINOR_VERSION) | |||
CFLAGS_DLL+= -DSDL_BUILD_MICRO_VERSION=$(MICRO_VERSION) | |||
RCFLAGS = -q -r -bt=nt $(INCPATH) | |||
SRCS = SDL.c SDL_assert.c SDL_error.c SDL_guid.c SDL_log.c SDL_dataqueue.c SDL_hints.c SDL_list.c SDL_utils.c | |||
SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_qsort.c SDL_stdlib.c SDL_string.c SDL_strtokr.c SDL_crc16.c SDL_crc32.c | |||
SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c | |||
SRCS+= SDL_rwops.c SDL_power.c | |||
SRCS+= SDL_audio.c SDL_audiocvt.c SDL_audiodev.c SDL_audiotypecvt.c SDL_mixer.c SDL_wave.c | |||
SRCS+= SDL_events.c SDL_quit.c SDL_keyboard.c SDL_mouse.c SDL_windowevents.c & | |||
SDL_clipboardevents.c SDL_dropevents.c SDL_displayevents.c SDL_gesture.c & | |||
SDL_sensor.c SDL_touch.c | |||
SRCS+= SDL_haptic.c SDL_hidapi.c SDL_gamecontroller.c SDL_joystick.c controller_type.c | |||
SRCS+= SDL_render.c yuv_rgb.c SDL_yuv.c SDL_yuv_sw.c SDL_blendfillrect.c & | |||
SDL_blendline.c SDL_blendpoint.c SDL_drawline.c SDL_drawpoint.c & | |||
SDL_render_sw.c SDL_rotate.c SDL_triangle.c | |||
SRCS+= SDL_blit.c SDL_blit_0.c SDL_blit_1.c SDL_blit_A.c SDL_blit_auto.c & | |||
SDL_blit_copy.c SDL_blit_N.c SDL_blit_slow.c SDL_fillrect.c SDL_bmp.c & | |||
SDL_pixels.c SDL_rect.c SDL_RLEaccel.c SDL_shape.c SDL_stretch.c & | |||
SDL_surface.c SDL_video.c SDL_clipboard.c SDL_vulkan_utils.c SDL_egl.c | |||
SRCS+= SDL_syscond.c SDL_sysmutex.c SDL_syssem.c SDL_systhread.c SDL_systls.c | |||
SRCS+= SDL_systimer.c | |||
SRCS+= SDL_sysloadso.c | |||
SRCS+= SDL_sysfilesystem.c | |||
SRCS+= SDL_syshaptic.c SDL_sysjoystick.c SDL_virtualjoystick.c | |||
SRCS+= SDL_hidapijoystick.c SDL_hidapi_rumble.c SDL_hidapi_combined.c SDL_hidapi_gamecube.c SDL_hidapi_luna.c SDL_hidapi_ps3.c SDL_hidapi_ps4.c SDL_hidapi_ps5.c SDL_hidapi_shield.c SDL_hidapi_stadia.c SDL_hidapi_switch.c SDL_hidapi_wii.c SDL_hidapi_xbox360.c SDL_hidapi_xbox360w.c SDL_hidapi_xboxone.c SDL_hidapi_steam.c | |||
SRCS+= SDL_dummyaudio.c SDL_diskaudio.c | |||
SRCS+= SDL_nullvideo.c SDL_nullframebuffer.c SDL_nullevents.c | |||
SRCS+= SDL_dummysensor.c | |||
SRCS+= SDL_locale.c SDL_syslocale.c | |||
SRCS+= SDL_url.c SDL_sysurl.c | |||
SRCS+= SDL_winmm.c SDL_directsound.c SDL_wasapi.c SDL_wasapi_win32.c | |||
SRCS+= SDL_hid.c SDL_immdevice.c SDL_windows.c SDL_xinput.c | |||
SRCS+= SDL_dinputhaptic.c SDL_windowshaptic.c SDL_xinputhaptic.c | |||
SRCS+= SDL_dinputjoystick.c SDL_rawinputjoystick.c SDL_windowsjoystick.c SDL_windows_gaming_input.c SDL_xinputjoystick.c | |||
SRCS+= SDL_syspower.c | |||
SRCS+= SDL_d3dmath.c | |||
SRCS+= SDL_render_d3d.c SDL_shaders_d3d.c | |||
SRCS+= SDL_render_d3d11.c SDL_shaders_d3d11.c | |||
SRCS+= SDL_render_d3d12.c SDL_shaders_d3d12.c | |||
SRCS+= SDL_render_gl.c SDL_shaders_gl.c | |||
SRCS+= SDL_render_gles2.c SDL_shaders_gles2.c | |||
SRCS+= SDL_windowssensor.c | |||
SRCS+= SDL_syscond_cv.c | |||
SRCS+= SDL_windowsclipboard.c SDL_windowsevents.c SDL_windowsframebuffer.c SDL_windowskeyboard.c SDL_windowsmessagebox.c SDL_windowsmodes.c SDL_windowsmouse.c SDL_windowsopengl.c SDL_windowsopengles.c SDL_windowsshape.c SDL_windowsvideo.c SDL_windowsvulkan.c SDL_windowswindow.c | |||
SRCS+= SDL_dynapi.c | |||
RCSRCS = version.rc | |||
OBJS = $(SRCS:.c=.obj) | |||
RCOBJS= $(RCSRCS:.rc=.res) | |||
.extensions: | |||
.extensions: .lib .dll .obj .res .c .rc .asm | |||
.c: ./src;./src/dynapi;./src/audio;./src/cpuinfo;./src/events;./src/file;./src/haptic;./src/joystick;./src/power;./src/render;./src/render/software;./src/sensor;./src/stdlib;./src/thread;./src/timer;./src/video;./src/video/yuv2rgb;./src/atomic;./src/audio/disk; | |||
.c: ./src/haptic/dummy;./src/joystick/dummy;./src/joystick/virtual;./src/audio/dummy;./src/video/dummy;./src/sensor/dummy; | |||
.c: ./src/core/windows;./src/audio/winmm;./src/audio/directsound;./src/audio/wasapi;./src/loadso/windows;./src/filesystem/windows;./src/haptic/windows;./src/joystick/windows;./src/sensor/windows;./src/thread/windows;./src/timer/windows;./src/video/windows; | |||
.c: ./src/locale/;./src/locale/windows;./src/misc;./src/misc/windows;./src/power/windows;./src/joystick/hidapi;./src/hidapi;./src/render/direct3d;./src/render/direct3d11;./src/render/direct3d12;./src/render/opengl;./src/render/opengles2 | |||
.rc: ./src/main/windows | |||
all: $(DLLFILE) $(LIBFILE) $(TLIB) .symbolic | |||
build_dll: .symbolic | |||
@echo * Compiling dll objects | |||
$(DLLFILE): build_dll $(OBJS) $(LIBM) $(RCOBJS) $(LNKFILE) | |||
@echo * Linking: $@ | |||
wlink @$(LNKFILE) | |||
$(LIBFILE): $(DLLFILE) | |||
@echo * Creating LIB file: $@ | |||
wlib -q -b -n -c -pa -s -t -zld -ii -io $* @$(EXPFILE) | |||
.c.obj: | |||
wcc386 $(CFLAGS_DLL) -fo=$^@ $< | |||
.rc.res: | |||
wrc $(RCFLAGS) -fo=$^@ $< | |||
SDL_syscond.obj: "src/thread/generic/SDL_syscond.c" | |||
wcc386 $(CFLAGS_DLL) -fo=$^@ $< | |||
SDL_cpuinfo.obj: SDL_cpuinfo.c | |||
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $< | |||
SDL_wave.obj: SDL_wave.c | |||
wcc386 $(CFLAGS_DLL) -wcd=124 -fo=$^@ $< | |||
SDL_blendfillrect.obj: SDL_blendfillrect.c | |||
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $< | |||
SDL_blendline.obj: SDL_blendline.c | |||
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $< | |||
SDL_blendpoint.obj: SDL_blendpoint.c | |||
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $< | |||
SDL_RLEaccel.obj: SDL_RLEaccel.c | |||
wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $< | |||
SDL_malloc.obj: SDL_malloc.c | |||
wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $< | |||
# SDL2libm | |||
MSRCS= e_atan2.c e_exp.c e_fmod.c e_log10.c e_log.c e_pow.c e_rem_pio2.c e_sqrt.c & | |||
k_cos.c k_rem_pio2.c k_sin.c k_tan.c & | |||
s_atan.c s_copysign.c s_cos.c s_fabs.c s_floor.c s_scalbn.c s_sin.c s_tan.c | |||
MOBJS= $(MSRCS:.c=.obj) | |||
.c: ./src/libm; | |||
e_atan2.obj: e_atan2.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
e_exp.obj: e_exp.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
e_fmod.obj: e_fmod.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
e_log10.obj: e_log10.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
e_log.obj: e_log.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
e_pow.obj: e_pow.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
e_rem_pio2.obj: e_rem_pio2.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
e_sqrt.obj: e_sqrt.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
k_cos.obj: k_cos.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
k_rem_pio2.obj: k_rem_pio2.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
k_sin.obj: k_sin.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
k_tan.obj: k_tan.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_atan.obj: s_atan.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_copysign.obj: s_copysign.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_cos.obj: s_cos.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_fabs.obj: s_fabs.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_floor.obj: s_floor.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_scalbn.obj: s_scalbn.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_sin.obj: s_sin.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
s_tan.obj: s_tan.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
build_libm: .symbolic | |||
@echo * Compiling libm objects | |||
$(LIBM): build_libm $(MOBJS) | |||
@echo * Creating: $@ | |||
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(MOBJS) | |||
# SDL2test | |||
TSRCS = SDL_test_assert.c SDL_test_common.c SDL_test_compare.c & | |||
SDL_test_crc32.c SDL_test_font.c SDL_test_fuzzer.c SDL_test_harness.c & | |||
SDL_test_imageBlit.c SDL_test_imageBlitBlend.c SDL_test_imageFace.c & | |||
SDL_test_imagePrimitives.c SDL_test_imagePrimitivesBlend.c & | |||
SDL_test_log.c SDL_test_md5.c SDL_test_random.c SDL_test_memory.c | |||
TOBJS= $(TSRCS:.c=.obj) | |||
.c: ./src/test; | |||
SDL_test_assert.obj: SDL_test_assert.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_common.obj: SDL_test_common.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_compare.obj: SDL_test_compare.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_crc32.obj: SDL_test_crc32.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_font.obj: SDL_test_font.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_fuzzer.obj: SDL_test_fuzzer.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_harness.obj: SDL_test_harness.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_imageBlit.obj: SDL_test_imageBlit.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_imageBlitBlend.obj: SDL_test_imageBlitBlend.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_imageFace.obj: SDL_test_imageFace.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_imagePrimitives.obj: SDL_test_imagePrimitives.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_imagePrimitivesBlend.obj: SDL_test_imagePrimitivesBlend.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_log.obj: SDL_test_log.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_md5.obj: SDL_test_md5.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_random.obj: SDL_test_random.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
SDL_test_memory.obj: SDL_test_memory.c | |||
wcc386 $(CFLAGS_STATIC) -fo=$^@ $< | |||
build_tlib: .symbolic | |||
@echo * Compiling testlib objects | |||
$(TLIB): build_tlib $(TOBJS) | |||
@echo * Creating: $@ | |||
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(TOBJS) | |||
$(LNKFILE): Makefile.w32 | |||
@echo * Creating linker file: $@ | |||
@%create $@ | |||
@%append $@ SYSTEM nt_dll INITINSTANCE TERMINSTANCE | |||
@%append $@ NAME $(DLLFILE) | |||
@for %i in ($(OBJS)) do @%append $@ FILE %i | |||
@for %i in ($(LIBS)) do @%append $@ LIB %i | |||
@%append $@ OPTION RESOURCE=$(RCOBJS) | |||
@%append $@ EXPORT=src/dynapi/SDL2.exports | |||
@%append $@ OPTION QUIET | |||
@%append $@ OPTION IMPF=$(EXPFILE) | |||
@%append $@ OPTION MAP=$(LIBHOME)/$^&.map | |||
@%append $@ OPTION ELIMINATE | |||
@%append $@ OPTION SHOWDEAD | |||
clean: .SYMBOLIC | |||
@echo * Clean: $(LIBNAME) | |||
@if exist *.obj rm *.obj | |||
@if exist *.res rm *.res | |||
@if exist *.err rm *.err | |||
@if exist $(LNKFILE) rm $(LNKFILE) | |||
@if exist $(LIBM) rm $(LIBM) | |||
distclean: .SYMBOLIC clean | |||
@if exist $(LIBHOME)/*.exp rm $(LIBHOME)/*.exp | |||
@if exist $(LIBHOME)/*.map rm $(LIBHOME)/*.map | |||
@if exist $(LIBFILE) rm $(LIBFILE) | |||
@if exist $(DLLFILE) rm $(DLLFILE) | |||
@if exist $(TLIB) rm $(TLIB) |
@ -1,119 +0,0 @@ | |||
Summary: Simple DirectMedia Layer | |||
Name: SDL2 | |||
Version: 2.0.22 | |||
Release: 2 | |||
Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz | |||
URL: http://www.libsdl.org/ | |||
License: zlib | |||
Group: System Environment/Libraries | |||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot | |||
Prefix: %{_prefix} | |||
%ifos linux | |||
Provides: libSDL2-2.0.so.0 | |||
%endif | |||
%define __defattr %defattr(-,root,root) | |||
%define __soext so | |||
%description | |||
This is the Simple DirectMedia Layer, a generic API that provides low | |||
level access to audio, keyboard, mouse, and display framebuffer across | |||
multiple platforms. | |||
%package devel | |||
Summary: Libraries, includes and more to develop SDL applications. | |||
Group: Development/Libraries | |||
Requires: %{name} = %{version} | |||
%description devel | |||
This is the Simple DirectMedia Layer, a generic API that provides low | |||
level access to audio, keyboard, mouse, and display framebuffer across | |||
multiple platforms. | |||
This is the libraries, include files and other resources you can use | |||
to develop SDL applications. | |||
%prep | |||
%setup -q | |||
%build | |||
%ifos linux | |||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-directfb | |||
%else | |||
%configure | |||
%endif | |||
make | |||
%install | |||
rm -rf $RPM_BUILD_ROOT | |||
%ifos linux | |||
make install prefix=$RPM_BUILD_ROOT%{prefix} \ | |||
bindir=$RPM_BUILD_ROOT%{_bindir} \ | |||
libdir=$RPM_BUILD_ROOT%{_libdir} \ | |||
includedir=$RPM_BUILD_ROOT%{_includedir} \ | |||
datadir=$RPM_BUILD_ROOT%{_datadir} \ | |||
mandir=$RPM_BUILD_ROOT%{_mandir} | |||
%else | |||
%makeinstall | |||
%endif | |||
%clean | |||
rm -rf $RPM_BUILD_ROOT | |||
%files | |||
%{__defattr} | |||
%doc README*.txt LICENSE.txt CREDITS.txt BUGS.txt | |||
%{_libdir}/lib*.%{__soext}.* | |||
%files devel | |||
%{__defattr} | |||
%doc docs/README*.md | |||
%{_bindir}/*-config | |||
%{_libdir}/lib*.a | |||
%{_libdir}/lib*.la | |||
%{_libdir}/lib*.%{__soext} | |||
%{_includedir}/*/*.h | |||
%{_libdir}/cmake/* | |||
%{_libdir}/pkgconfig/SDL2/* | |||
%{_datadir}/aclocal/* | |||
%changelog | |||
* Thu Jun 04 2015 Ryan C. Gordon <icculus@icculus.org> | |||
- Fixed README paths. | |||
* Sun Dec 07 2014 Simone Contini <s.contini@oltrelinux.com> | |||
- Fixed changelog date issue and docs filenames | |||
* Sun Jan 22 2012 Sam Lantinga <slouken@libsdl.org> | |||
- Updated for SDL 2.0 | |||
* Tue May 16 2006 Sam Lantinga <slouken@libsdl.org> | |||
- Removed support for Darwin, due to build problems on ps2linux | |||
* Sat Jan 03 2004 Anders Bjorklund <afb@algonet.se> | |||
- Added support for Darwin, updated spec file | |||
* Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org> | |||
- Re-integrated spec file into SDL distribution | |||
- 'name' and 'version' come from configure | |||
- Some of the documentation is devel specific | |||
- Removed SMP support from %build - it doesn't work with libtool anyway | |||
* Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com> | |||
- Hacked Mandrake sdl spec to build 1.1 | |||
* Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com> | |||
- Build Release | |||
* Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com> | |||
- Add symlink for libSDL-1.0.so.0 required by sdlbomber | |||
- Added docs | |||
* Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com> | |||
- v 1.0.0 | |||
* Mon Nov 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> | |||
- First spec file for Mandrake distribution. | |||
# end of file |
@ -1,119 +0,0 @@ | |||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake") | |||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake") | |||
endif() | |||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake") | |||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake") | |||
endif() | |||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake") | |||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake") | |||
endif() | |||
# on static-only builds create an alias | |||
if(NOT TARGET SDL2::SDL2 AND TARGET SDL2::SDL2-static) | |||
if(CMAKE_VERSION VERSION_LESS "3.18") | |||
# Aliasing local targets is not supported on CMake < 3.18, so make it global. | |||
set_target_properties(SDL2::SDL2-static PROPERTIES IMPORTED_GLOBAL TRUE) | |||
endif() | |||
add_library(SDL2::SDL2 ALIAS SDL2::SDL2-static) | |||
endif() | |||
# provide ${SDL2_LIBRARIES}, ${SDL2_INCLUDE_DIRS} etc, like sdl2-config.cmake does, | |||
# for compatibility between SDL2 built with autotools and SDL2 built with CMake | |||
# the following seems to work on Windows for both MSVC and MINGW+MSYS and with both SDL2Config/Target.cmake | |||
# from vcpkg and from building myself with cmake from latest git | |||
# AND on Linux when building SDL2 (tested current git) with CMake | |||
# the headers are easy - but note that this adds both .../include/ and .../include/SDL2/ | |||
# while the SDL2_INCLUDE_DIRS of sdl2-config.cmake only add ...include/SDL2/ | |||
# But at least if building worked with sdl2-config.cmake it will also work with this. | |||
get_target_property(SDL2_INCLUDE_DIRS SDL2::SDL2 INTERFACE_INCLUDE_DIRECTORIES) | |||
# get the paths to the files to link against (.lib or .dll.a on Windows, .so or .a on Unix, ...) for both SDL2 and SDL2main | |||
# for the "normal"/release build they could be in lots of different properties.. | |||
set(relprops IMPORTED_IMPLIB_RELEASE IMPORTED_IMPLIB_NOCONFIG IMPORTED_IMPLIB IMPORTED_IMPLIB_MINSIZEREL IMPORTED_IMPLIB_RELWITHDEBINFO | |||
IMPORTED_LOCATION_RELEASE IMPORTED_LOCATION_NOCONFIG IMPORTED_LOCATION IMPORTED_LOCATION_MINSIZEREL IMPORTED_LOCATION_RELWITHDEBINFO) | |||
# fewer possibilities for debug builds | |||
set(dbgprops IMPORTED_IMPLIB_DEBUG IMPORTED_LOCATION_DEBUG) | |||
foreach(prop ${relprops}) | |||
get_target_property(sdl2implib SDL2::SDL2 ${prop}) | |||
if(sdl2implib) | |||
#message("set sdl2implib from ${prop}") | |||
break() | |||
endif() | |||
endforeach() | |||
foreach(prop ${relprops}) | |||
get_target_property(sdl2mainimplib SDL2::SDL2main ${prop}) | |||
if(sdl2mainimplib) | |||
#message("set sdl2mainimplib from ${prop}") | |||
break() | |||
endif() | |||
endforeach() | |||
foreach(prop ${dbgprops}) | |||
get_target_property(sdl2implibdbg SDL2::SDL2 ${prop}) | |||
if(sdl2implibdbg) | |||
#message("set sdl2implibdbg from ${prop}") | |||
break() | |||
endif() | |||
endforeach() | |||
foreach(prop ${dbgprops}) | |||
get_target_property(sdl2mainimplibdbg SDL2::SDL2main ${prop}) | |||
if(sdl2mainimplibdbg) | |||
#message("set sdl2mainimplibdbg from ${prop}") | |||
break() | |||
endif() | |||
endforeach() | |||
if( sdl2implib AND sdl2mainimplib AND sdl2implibdbg AND sdl2mainimplibdbg ) | |||
# we have both release and debug builds of SDL2 and SDL2main, so use this ugly | |||
# generator expression in SDL2_LIBRARIES to support both in MSVC, depending on build type configured there | |||
set(SDL2_LIBRARIES $<IF:$<CONFIG:Debug>,${sdl2mainimplibdbg},${sdl2mainimplib}> $<IF:$<CONFIG:Debug>,${sdl2implibdbg},${sdl2implib}>) | |||
else() | |||
if( (NOT sdl2implib) AND sdl2implibdbg ) # if we only have a debug version of the lib | |||
set(sdl2implib ${sdl2implibdbg}) | |||
endif() | |||
if( (NOT sdl2mainimplib) AND sdl2mainimplibdbg ) # if we only have a debug version of the lib | |||
set(sdl2mainimplib ${sdl2mainimplibdbg}) | |||
endif() | |||
if( sdl2implib AND sdl2mainimplib ) | |||
set(SDL2_LIBRARIES ${sdl2mainimplib} ${sdl2implib}) | |||
elseif(WIN32 OR APPLE) # I think these platforms have a non-dummy SDLmain? | |||
message(FATAL_ERROR, "SDL2::SDL2 and/or SDL2::SDL2main don't seem to contain any kind of IMPORTED_IMPLIB* or IMPORTED_LOCATION*") | |||
elseif(sdl2implib) # on other platforms just libSDL2 will hopefully do? | |||
set(SDL2_LIBRARIES ${sdl2implib}) | |||
message(STATUS, "No SDL2main lib not found, I hope you don't need it..") | |||
else() | |||
message(FATAL_ERROR, "SDL2::SDL2 doesn't seem to contain any kind of lib to link against in IMPORTED_IMPLIB* or IMPORTED_LOCATION*") | |||
endif() | |||
# TODO: should something like INTERFACE_LINK_LIBRARIES be appended? or wherever -mwindows and things like that | |||
# might be defined (if they were defined by the CMake build at all; autotools has @SDL_RLD_FLAGS@ @SDL_LIBS@)? | |||
# LINK_DEPENDS? LINK_FLAGS? | |||
endif() | |||
get_filename_component(SDL2_LIBDIR ${sdl2implib} PATH) | |||
# NOTE: SDL2_LIBRARIES now looks like "c:/path/to/SDL2main.lib;c:/path/to/SDL2.lib" | |||
# which is different to what it looks like when coming from sdl2-config.cmake | |||
# (there it's more like "-L${SDL2_LIBDIR} -lSDL2main -lSDL2" - and also -lmingw32 and -mwindows) | |||
# This seems to work with both MSVC and MinGW though, while the other only worked with MinGW | |||
# On Linux it looks like "/tmp/sdl2inst/lib/libSDL2main.a;/tmp/sdl2inst/lib/libSDL2-2.0.so.0.14.1" which also seems to work | |||
# the exec prefix is one level up from lib/ - TODO: really, always? at least on Linux there's /usr/lib/x86_64-bla-blub/libSDL2-asdf.so.0 .. | |||
get_filename_component(SDL2_EXEC_PREFIX ${SDL2_LIBDIR} PATH) | |||
set(SDL2_PREFIX ${SDL2_EXEC_PREFIX}) # TODO: could this be somewhere else? parent dir of include or sth? | |||
unset(sdl2implib) | |||
unset(sdl2mainimplib) | |||
unset(sdl2implibdbg) | |||
unset(sdl2mainimplibdbg) | |||
unset(relprops) | |||
unset(dbgprops) |
@ -0,0 +1,65 @@ | |||
# sdl2 cmake project-config input for CMakeLists.txt script | |||
include(FeatureSummary) | |||
set_package_properties(SDL2 PROPERTIES | |||
URL "https://www.libsdl.org/" | |||
DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware" | |||
) | |||
@PACKAGE_INIT@ | |||
set(SDL2_FOUND TRUE) | |||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake") | |||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake") | |||
set(SDL2_SDL2_FOUND TRUE) | |||
endif() | |||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake") | |||
if(ANDROID) | |||
enable_language(CXX) | |||
endif() | |||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake") | |||
set(SDL2_SDL2-static_FOUND TRUE) | |||
endif() | |||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake") | |||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake") | |||
set(SDL2_SDL2main_FOUND TRUE) | |||
endif() | |||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2testTargets.cmake") | |||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2testTargets.cmake") | |||
set(SDL2_SDL2test_FOUND TRUE) | |||
endif() | |||
check_required_components(SDL2) | |||
# Create SDL2::SDL2 alias for static-only builds | |||
if(TARGET SDL2::SDL2-static AND NOT TARGET SDL2::SDL2) | |||
if(CMAKE_VERSION VERSION_LESS "3.18") | |||
# FIXME: Aliasing local targets is not supported on CMake < 3.18, so make it global. | |||
add_library(SDL2::SDL2 INTERFACE IMPORTED) | |||
set_target_properties(SDL2::SDL2 PROPERTIES INTERFACE_LINK_LIBRARIES "SDL2::SDL2-static") | |||
else() | |||
add_library(SDL2::SDL2 ALIAS SDL2::SDL2-static) | |||
endif() | |||
endif() | |||
# For compatibility with autotools sdl2-config.cmake, provide SDL2_* variables. | |||
set(SDL2_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@") | |||
set(SDL2_EXEC_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@") | |||
set(SDL2_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@/SDL2") | |||
set(SDL2_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@;@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@/SDL2") | |||
set(SDL2_BINDIR "@PACKAGE_CMAKE_INSTALL_FULL_BINDIR@") | |||
set(SDL2_LIBDIR "@PACKAGE_CMAKE_INSTALL_FULL_LIBDIR@") | |||
set(SDL2_LIBRARIES SDL2::SDL2) | |||
set(SDL2_STATIC_LIBRARIES SDL2::SDL2-static) | |||
set(SDL2_STATIC_PRIVATE_LIBS) | |||
set(SDL2MAIN_LIBRARY) | |||
if(TARGET SDL2::SDL2main) | |||
set(SDL2MAIN_LIBRARY SDL2::SDL2main) | |||
list(INSERT SDL2_LIBRARIES 0 SDL2::SDL2main) | |||
list(INSERT SDL2_STATIC_LIBRARIES 0 SDL2::SDL2main) | |||
endif() | |||
set(SDL2TEST_LIBRARY SDL2::SDL2test) |
@ -0,0 +1,131 @@ | |||
Microsoft Visual Studio Solution File, Format Version 12.00 | |||
# Visual Studio Version 17 | |||
VisualStudioVersion = 17.1.32414.318 | |||
MinimumVisualStudioVersion = 10.0.40219.1 | |||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{D69D5741-611F-4E14-8541-1FEE94F50B5A}" | |||
EndProject | |||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL2", "SDL\SDL.vcxproj", "{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}" | |||
EndProject | |||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL2main", "SDLmain\SDLmain.vcxproj", "{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}" | |||
EndProject | |||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsprite2", "tests\testsprite2\testsprite2.vcxproj", "{40FB7794-D3C3-4CFE-BCF4-A80C96635682}" | |||
EndProject | |||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL2test", "SDLtest\SDLtest.vcxproj", "{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}" | |||
EndProject | |||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgamecontroller", "tests\testgamecontroller\testgamecontroller.vcxproj", "{55812185-D13C-4022-9C81-32E0F4A08305}" | |||
EndProject | |||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgdk", "tests\testgdk\testgdk.vcxproj", "{1C9A3F71-35A5-4C56-B292-F4375B3C3649}" | |||
EndProject | |||
Global | |||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | |||
Debug|Gaming.Desktop.x64 = Debug|Gaming.Desktop.x64 | |||
Debug|Gaming.Xbox.Scarlett.x64 = Debug|Gaming.Xbox.Scarlett.x64 | |||
Debug|Gaming.Xbox.XboxOne.x64 = Debug|Gaming.Xbox.XboxOne.x64 | |||
Release|Gaming.Desktop.x64 = Release|Gaming.Desktop.x64 | |||
Release|Gaming.Xbox.Scarlett.x64 = Release|Gaming.Xbox.Scarlett.x64 | |||
Release|Gaming.Xbox.XboxOne.x64 = Release|Gaming.Xbox.XboxOne.x64 | |||
EndGlobalSection | |||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Gaming.Desktop.x64.ActiveCfg = Debug|Gaming.Desktop.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Gaming.Desktop.x64.Build.0 = Debug|Gaming.Desktop.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Gaming.Xbox.Scarlett.x64.ActiveCfg = Debug|Gaming.Xbox.Scarlett.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Gaming.Xbox.Scarlett.x64.Build.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Gaming.Xbox.XboxOne.x64.ActiveCfg = Debug|Gaming.Xbox.XboxOne.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug|Gaming.Xbox.XboxOne.x64.Build.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Gaming.Desktop.x64.ActiveCfg = Release|Gaming.Desktop.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Gaming.Desktop.x64.Build.0 = Release|Gaming.Desktop.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Gaming.Xbox.Scarlett.x64.ActiveCfg = Release|Gaming.Xbox.Scarlett.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Gaming.Xbox.Scarlett.x64.Build.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Gaming.Xbox.XboxOne.x64.ActiveCfg = Release|Gaming.Xbox.XboxOne.x64 | |||
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|Gaming.Xbox.XboxOne.x64.Build.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Gaming.Desktop.x64.ActiveCfg = Debug|Gaming.Desktop.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Gaming.Desktop.x64.Build.0 = Debug|Gaming.Desktop.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Gaming.Xbox.Scarlett.x64.ActiveCfg = Debug|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Gaming.Xbox.Scarlett.x64.Build.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Gaming.Xbox.XboxOne.x64.ActiveCfg = Debug|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug|Gaming.Xbox.XboxOne.x64.Build.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Gaming.Desktop.x64.ActiveCfg = Release|Gaming.Desktop.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Gaming.Desktop.x64.Build.0 = Release|Gaming.Desktop.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Gaming.Xbox.Scarlett.x64.ActiveCfg = Release|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Gaming.Xbox.Scarlett.x64.Build.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Gaming.Xbox.XboxOne.x64.ActiveCfg = Release|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|Gaming.Xbox.XboxOne.x64.Build.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Desktop.x64.ActiveCfg = Debug|Gaming.Desktop.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Desktop.x64.Build.0 = Debug|Gaming.Desktop.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Desktop.x64.Deploy.0 = Debug|Gaming.Desktop.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Xbox.Scarlett.x64.ActiveCfg = Debug|Gaming.Xbox.Scarlett.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Xbox.Scarlett.x64.Build.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Xbox.Scarlett.x64.Deploy.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Xbox.XboxOne.x64.ActiveCfg = Debug|Gaming.Xbox.XboxOne.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Xbox.XboxOne.x64.Build.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Debug|Gaming.Xbox.XboxOne.x64.Deploy.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Desktop.x64.ActiveCfg = Release|Gaming.Desktop.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Desktop.x64.Build.0 = Release|Gaming.Desktop.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Desktop.x64.Deploy.0 = Release|Gaming.Desktop.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Xbox.Scarlett.x64.ActiveCfg = Release|Gaming.Xbox.Scarlett.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Xbox.Scarlett.x64.Build.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Xbox.Scarlett.x64.Deploy.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Xbox.XboxOne.x64.ActiveCfg = Release|Gaming.Xbox.XboxOne.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Xbox.XboxOne.x64.Build.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682}.Release|Gaming.Xbox.XboxOne.x64.Deploy.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Debug|Gaming.Desktop.x64.ActiveCfg = Debug|Gaming.Desktop.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Debug|Gaming.Desktop.x64.Build.0 = Debug|Gaming.Desktop.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Debug|Gaming.Xbox.Scarlett.x64.ActiveCfg = Debug|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Debug|Gaming.Xbox.Scarlett.x64.Build.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Debug|Gaming.Xbox.XboxOne.x64.ActiveCfg = Debug|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Debug|Gaming.Xbox.XboxOne.x64.Build.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Release|Gaming.Desktop.x64.ActiveCfg = Release|Gaming.Desktop.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Release|Gaming.Desktop.x64.Build.0 = Release|Gaming.Desktop.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Release|Gaming.Xbox.Scarlett.x64.ActiveCfg = Release|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Release|Gaming.Xbox.Scarlett.x64.Build.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Release|Gaming.Xbox.XboxOne.x64.ActiveCfg = Release|Gaming.Xbox.XboxOne.x64 | |||
{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}.Release|Gaming.Xbox.XboxOne.x64.Build.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Desktop.x64.ActiveCfg = Debug|Gaming.Desktop.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Desktop.x64.Build.0 = Debug|Gaming.Desktop.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Desktop.x64.Deploy.0 = Debug|Gaming.Desktop.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Xbox.Scarlett.x64.ActiveCfg = Debug|Gaming.Xbox.Scarlett.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Xbox.Scarlett.x64.Build.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Xbox.Scarlett.x64.Deploy.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Xbox.XboxOne.x64.ActiveCfg = Debug|Gaming.Xbox.XboxOne.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Xbox.XboxOne.x64.Build.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Debug|Gaming.Xbox.XboxOne.x64.Deploy.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Desktop.x64.ActiveCfg = Release|Gaming.Desktop.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Desktop.x64.Build.0 = Release|Gaming.Desktop.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Desktop.x64.Deploy.0 = Release|Gaming.Desktop.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Xbox.Scarlett.x64.ActiveCfg = Release|Gaming.Xbox.Scarlett.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Xbox.Scarlett.x64.Build.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Xbox.Scarlett.x64.Deploy.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Xbox.XboxOne.x64.ActiveCfg = Release|Gaming.Xbox.XboxOne.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Xbox.XboxOne.x64.Build.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{55812185-D13C-4022-9C81-32E0F4A08305}.Release|Gaming.Xbox.XboxOne.x64.Deploy.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Desktop.x64.ActiveCfg = Debug|Gaming.Desktop.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Desktop.x64.Build.0 = Debug|Gaming.Desktop.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Desktop.x64.Deploy.0 = Debug|Gaming.Desktop.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Xbox.Scarlett.x64.ActiveCfg = Debug|Gaming.Xbox.Scarlett.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Xbox.Scarlett.x64.Build.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Xbox.Scarlett.x64.Deploy.0 = Debug|Gaming.Xbox.Scarlett.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Xbox.XboxOne.x64.ActiveCfg = Debug|Gaming.Xbox.XboxOne.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Xbox.XboxOne.x64.Build.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Debug|Gaming.Xbox.XboxOne.x64.Deploy.0 = Debug|Gaming.Xbox.XboxOne.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Desktop.x64.ActiveCfg = Release|Gaming.Desktop.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Desktop.x64.Build.0 = Release|Gaming.Desktop.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Desktop.x64.Deploy.0 = Release|Gaming.Desktop.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Xbox.Scarlett.x64.ActiveCfg = Release|Gaming.Xbox.Scarlett.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Xbox.Scarlett.x64.Build.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Xbox.Scarlett.x64.Deploy.0 = Release|Gaming.Xbox.Scarlett.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Xbox.XboxOne.x64.ActiveCfg = Release|Gaming.Xbox.XboxOne.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Xbox.XboxOne.x64.Build.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649}.Release|Gaming.Xbox.XboxOne.x64.Deploy.0 = Release|Gaming.Xbox.XboxOne.x64 | |||
EndGlobalSection | |||
GlobalSection(SolutionProperties) = preSolution | |||
HideSolutionNode = FALSE | |||
EndGlobalSection | |||
GlobalSection(NestedProjects) = preSolution | |||
{40FB7794-D3C3-4CFE-BCF4-A80C96635682} = {D69D5741-611F-4E14-8541-1FEE94F50B5A} | |||
{55812185-D13C-4022-9C81-32E0F4A08305} = {D69D5741-611F-4E14-8541-1FEE94F50B5A} | |||
{1C9A3F71-35A5-4C56-B292-F4375B3C3649} = {D69D5741-611F-4E14-8541-1FEE94F50B5A} | |||
EndGlobalSection | |||
GlobalSection(ExtensibilityGlobals) = postSolution | |||
SolutionGuid = {C320C9F2-1A8F-41D7-B02B-6338F872BCAD} | |||
EndGlobalSection | |||
EndGlobal |
@ -0,0 +1,763 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="Build" ToolsVersion="4.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="Debug|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Debug|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Desktop.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
</ItemGroup> | |||
<PropertyGroup Label="Globals"> | |||
<ProjectName>SDL2</ProjectName> | |||
<ProjectGuid>{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}</ProjectGuid> | |||
<RootNamespace>SDL</RootNamespace> | |||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>DynamicLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>DynamicLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>DynamicLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>DynamicLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>DynamicLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>DynamicLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |||
<ImportGroup Label="ExtensionSettings"> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<PropertyGroup Label="UserMacros" /> | |||
<PropertyGroup> | |||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
</PropertyGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/SDL.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
</ResourceCompile> | |||
<Link> | |||
<AdditionalDependencies>setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/SDL.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
</ResourceCompile> | |||
<Link> | |||
<AdditionalDependencies>setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_xs.lib;uuid.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/SDL.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
</ResourceCompile> | |||
<Link> | |||
<AdditionalDependencies>setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_x.lib;uuid.lib;vcruntimed.lib;msvcrtd.lib;ucrtd.lib;msvcprtd.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/SDL.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | |||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
</ResourceCompile> | |||
<Link> | |||
<AdditionalDependencies>setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<OptimizeReferences>true</OptimizeReferences> | |||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | |||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/SDL.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | |||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
</ResourceCompile> | |||
<Link> | |||
<AdditionalDependencies>setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_xs.lib;uuid.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<OptimizeReferences>true</OptimizeReferences> | |||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | |||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/SDL.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | |||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
</ResourceCompile> | |||
<Link> | |||
<AdditionalDependencies>setupapi.lib;winmm.lib;imm32.lib;version.lib;xgameruntime.lib;d3d12_x.lib;uuid.lib;vcruntime.lib;msvcrt.lib;ucrt.lib;msvcprt.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<OptimizeReferences>true</OptimizeReferences> | |||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | |||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemGroup> | |||
<ClInclude Include="..\..\include\begin_code.h" /> | |||
<ClInclude Include="..\..\include\close_code.h" /> | |||
<ClInclude Include="..\..\include\SDL.h" /> | |||
<ClInclude Include="..\..\include\SDL_assert.h" /> | |||
<ClInclude Include="..\..\include\SDL_atomic.h" /> | |||
<ClInclude Include="..\..\include\SDL_audio.h" /> | |||
<ClInclude Include="..\..\include\SDL_bits.h" /> | |||
<ClInclude Include="..\..\include\SDL_blendmode.h" /> | |||
<ClInclude Include="..\..\include\SDL_clipboard.h" /> | |||
<ClInclude Include="..\..\include\SDL_config.h" /> | |||
<ClInclude Include="..\..\include\SDL_config_wingdk.h" /> | |||
<ClInclude Include="..\..\include\SDL_copying.h" /> | |||
<ClInclude Include="..\..\include\SDL_cpuinfo.h" /> | |||
<ClInclude Include="..\..\include\SDL_egl.h" /> | |||
<ClInclude Include="..\..\include\SDL_endian.h" /> | |||
<ClInclude Include="..\..\include\SDL_error.h" /> | |||
<ClInclude Include="..\..\include\SDL_events.h" /> | |||
<ClInclude Include="..\..\include\SDL_filesystem.h" /> | |||
<ClInclude Include="..\..\include\SDL_gamecontroller.h" /> | |||
<ClInclude Include="..\..\include\SDL_gesture.h" /> | |||
<ClInclude Include="..\..\include\SDL_guid.h" /> | |||
<ClInclude Include="..\..\include\SDL_haptic.h" /> | |||
<ClInclude Include="..\..\include\SDL_hints.h" /> | |||
<ClInclude Include="..\..\include\SDL_hidapi.h" /> | |||
<ClInclude Include="..\..\include\SDL_joystick.h" /> | |||
<ClInclude Include="..\..\include\SDL_keyboard.h" /> | |||
<ClInclude Include="..\..\include\SDL_keycode.h" /> | |||
<ClInclude Include="..\..\include\SDL_loadso.h" /> | |||
<ClInclude Include="..\..\include\SDL_locale.h" /> | |||
<ClInclude Include="..\..\include\SDL_log.h" /> | |||
<ClInclude Include="..\..\include\SDL_main.h" /> | |||
<ClInclude Include="..\..\include\SDL_messagebox.h" /> | |||
<ClInclude Include="..\..\include\SDL_metal.h" /> | |||
<ClInclude Include="..\..\include\SDL_misc.h" /> | |||
<ClInclude Include="..\..\include\SDL_mouse.h" /> | |||
<ClInclude Include="..\..\include\SDL_mutex.h" /> | |||
<ClInclude Include="..\..\include\SDL_name.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengl.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengl_glext.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengles.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengles2.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengles2_gl2.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengles2_gl2ext.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengles2_gl2platform.h" /> | |||
<ClInclude Include="..\..\include\SDL_opengles2_khrplatform.h" /> | |||
<ClInclude Include="..\..\include\SDL_pixels.h" /> | |||
<ClInclude Include="..\..\include\SDL_platform.h" /> | |||
<ClInclude Include="..\..\include\SDL_power.h" /> | |||
<ClInclude Include="..\..\include\SDL_quit.h" /> | |||
<ClInclude Include="..\..\include\SDL_rect.h" /> | |||
<ClInclude Include="..\..\include\SDL_render.h" /> | |||
<ClInclude Include="..\..\include\SDL_revision.h" /> | |||
<ClInclude Include="..\..\include\SDL_rwops.h" /> | |||
<ClInclude Include="..\..\include\SDL_scancode.h" /> | |||
<ClInclude Include="..\..\include\SDL_sensor.h" /> | |||
<ClInclude Include="..\..\include\SDL_shape.h" /> | |||
<ClInclude Include="..\..\include\SDL_stdinc.h" /> | |||
<ClInclude Include="..\..\include\SDL_surface.h" /> | |||
<ClInclude Include="..\..\include\SDL_system.h" /> | |||
<ClInclude Include="..\..\include\SDL_syswm.h" /> | |||
<ClInclude Include="..\..\include\SDL_test.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_assert.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_common.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_compare.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_crc32.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_font.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_fuzzer.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_harness.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_images.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_log.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_md5.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_memory.h" /> | |||
<ClInclude Include="..\..\include\SDL_test_random.h" /> | |||
<ClInclude Include="..\..\include\SDL_thread.h" /> | |||
<ClInclude Include="..\..\include\SDL_timer.h" /> | |||
<ClInclude Include="..\..\include\SDL_touch.h" /> | |||
<ClInclude Include="..\..\include\SDL_types.h" /> | |||
<ClInclude Include="..\..\include\SDL_version.h" /> | |||
<ClInclude Include="..\..\include\SDL_video.h" /> | |||
<ClInclude Include="..\..\include\SDL_vulkan.h" /> | |||
<ClInclude Include="..\..\src\audio\directsound\SDL_directsound.h" /> | |||
<ClInclude Include="..\..\src\audio\disk\SDL_diskaudio.h" /> | |||
<ClInclude Include="..\..\src\audio\dummy\SDL_dummyaudio.h" /> | |||
<ClInclude Include="..\..\src\audio\SDL_audio_c.h" /> | |||
<ClInclude Include="..\..\src\audio\SDL_audiodev_c.h" /> | |||
<ClInclude Include="..\..\src\audio\SDL_sysaudio.h" /> | |||
<ClInclude Include="..\..\src\audio\SDL_wave.h" /> | |||
<ClInclude Include="..\..\src\audio\wasapi\SDL_wasapi.h" /> | |||
<ClInclude Include="..\..\src\audio\winmm\SDL_winmm.h" /> | |||
<ClInclude Include="..\..\src\core\gdk\SDL_gdk.h" /> | |||
<ClInclude Include="..\..\src\core\windows\SDL_directx.h" /> | |||
<ClInclude Include="..\..\src\core\windows\SDL_hid.h" /> | |||
<ClInclude Include="..\..\src\core\windows\SDL_immdevice.h" /> | |||
<ClInclude Include="..\..\src\core\windows\SDL_windows.h" /> | |||
<ClInclude Include="..\..\src\core\windows\SDL_xinput.h" /> | |||
<ClInclude Include="..\..\src\dynapi\SDL_dynapi.h" /> | |||
<ClInclude Include="..\..\src\dynapi\SDL_dynapi_overrides.h" /> | |||
<ClInclude Include="..\..\src\dynapi\SDL_dynapi_procs.h" /> | |||
<ClInclude Include="..\..\src\events\blank_cursor.h" /> | |||
<ClInclude Include="..\..\src\events\default_cursor.h" /> | |||
<ClInclude Include="..\..\src\events\scancodes_windows.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_clipboardevents_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_displayevents_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_dropevents_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_events_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_gesture_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_keyboard_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_mouse_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_touch_c.h" /> | |||
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" /> | |||
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" /> | |||
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" /> | |||
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" /> | |||
<ClInclude Include="..\..\src\haptic\windows\SDL_windowshaptic_c.h" /> | |||
<ClInclude Include="..\..\src\haptic\windows\SDL_xinputhaptic_c.h" /> | |||
<ClInclude Include="..\..\src\hidapi\hidapi\hidapi.h" /> | |||
<ClInclude Include="..\..\src\hidapi\SDL_hidapi_c.h" /> | |||
<ClInclude Include="..\..\src\joystick\controller_type.h" /> | |||
<ClInclude Include="..\..\src\joystick\hidapi\SDL_hidapijoystick_c.h" /> | |||
<ClInclude Include="..\..\src\joystick\hidapi\SDL_hidapi_rumble.h" /> | |||
<ClInclude Include="..\..\src\joystick\SDL_gamecontrollerdb.h" /> | |||
<ClInclude Include="..\..\src\joystick\SDL_joystick_c.h" /> | |||
<ClInclude Include="..\..\src\joystick\SDL_sysjoystick.h" /> | |||
<ClInclude Include="..\..\src\joystick\usb_ids.h" /> | |||
<ClInclude Include="..\..\src\joystick\virtual\SDL_virtualjoystick_c.h" /> | |||
<ClInclude Include="..\..\src\joystick\windows\SDL_dinputjoystick_c.h" /> | |||
<ClInclude Include="..\..\src\joystick\windows\SDL_rawinputjoystick_c.h" /> | |||
<ClInclude Include="..\..\src\joystick\windows\SDL_windowsjoystick_c.h" /> | |||
<ClInclude Include="..\..\src\joystick\windows\SDL_xinputjoystick_c.h" /> | |||
<ClInclude Include="..\..\src\libm\math_libm.h" /> | |||
<ClInclude Include="..\..\src\libm\math_private.h" /> | |||
<ClInclude Include="..\..\src\locale\SDL_syslocale.h" /> | |||
<ClInclude Include="..\..\src\misc\SDL_sysurl.h" /> | |||
<ClInclude Include="..\..\src\power\SDL_syspower.h" /> | |||
<ClInclude Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.h" /> | |||
<ClInclude Include="..\..\src\render\direct3d12\SDL_render_d3d12_xbox.h" /> | |||
<ClInclude Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.h" /> | |||
<ClInclude Include="..\..\src\render\direct3d\SDL_shaders_d3d.h" /> | |||
<ClInclude Include="..\..\src\render\opengles2\SDL_gles2funcs.h" /> | |||
<ClInclude Include="..\..\src\render\opengles2\SDL_shaders_gles2.h" /> | |||
<ClInclude Include="..\..\src\render\opengl\SDL_glfuncs.h" /> | |||
<ClInclude Include="..\..\src\render\opengl\SDL_shaders_gl.h" /> | |||
<ClInclude Include="..\..\src\render\SDL_d3dmath.h" /> | |||
<ClInclude Include="..\..\src\render\SDL_sysrender.h" /> | |||
<ClInclude Include="..\..\src\render\SDL_yuv_sw_c.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_blendfillrect.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_blendline.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_blendpoint.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_draw.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_drawline.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_drawpoint.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_render_sw_c.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_rotate.h" /> | |||
<ClInclude Include="..\..\src\render\software\SDL_triangle.h" /> | |||
<ClInclude Include="..\..\src\SDL_assert_c.h" /> | |||
<ClInclude Include="..\..\src\SDL_dataqueue.h" /> | |||
<ClInclude Include="..\..\src\SDL_error_c.h" /> | |||
<ClCompile Include="..\..\src\core\gdk\SDL_gdk.cpp" /> | |||
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12_xbox.cpp" /> | |||
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12_xboxone.cpp" /> | |||
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12_xboxseries.cpp" /> | |||
<ClCompile Include="..\..\src\SDL_guid.c" /> | |||
<ClInclude Include="..\..\src\SDL_hints_c.h" /> | |||
<ClInclude Include="..\..\src\SDL_internal.h" /> | |||
<ClInclude Include="..\..\src\SDL_list.h" /> | |||
<ClInclude Include="..\..\src\SDL_log_c.h" /> | |||
<ClInclude Include="..\..\src\sensor\dummy\SDL_dummysensor.h" /> | |||
<ClInclude Include="..\..\src\sensor\SDL_sensor_c.h" /> | |||
<ClInclude Include="..\..\src\sensor\SDL_syssensor.h" /> | |||
<ClInclude Include="..\..\src\sensor\windows\SDL_windowssensor.h" /> | |||
<ClInclude Include="..\..\src\thread\SDL_systhread.h" /> | |||
<ClInclude Include="..\..\src\thread\SDL_thread_c.h" /> | |||
<ClInclude Include="..\..\src\thread\generic\SDL_syscond_c.h" /> | |||
<ClInclude Include="..\..\src\thread\windows\SDL_sysmutex_c.h" /> | |||
<ClInclude Include="..\..\src\thread\windows\SDL_systhread_c.h" /> | |||
<ClInclude Include="..\..\src\timer\SDL_timer_c.h" /> | |||
<ClInclude Include="..\..\src\video\dummy\SDL_nullevents_c.h" /> | |||
<ClInclude Include="..\..\src\video\dummy\SDL_nullframebuffer_c.h" /> | |||
<ClInclude Include="..\..\src\video\dummy\SDL_nullvideo.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vk_icd.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vk_layer.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vk_platform.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vk_sdk_platform.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan.hpp" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_android.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_beta.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_core.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_directfb.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_fuchsia.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_ggp.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_ios.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_macos.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_metal.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_vi.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_wayland.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_win32.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_xcb.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_xlib.h" /> | |||
<ClInclude Include="..\..\src\video\khronos\vulkan\vulkan_xlib_xrandr.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_blit.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_blit_auto.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_blit_copy.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_blit_slow.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_egl_c.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_pixels_c.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_rect_c.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_RLEaccel_c.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_shape_internals.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_sysvideo.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_vulkan_internal.h" /> | |||
<ClInclude Include="..\..\src\video\SDL_yuv_c.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_msctf.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_vkeys.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsevents.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsframebuffer.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowskeyboard.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsmessagebox.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsmodes.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsmouse.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsopengl.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsopengles.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsshape.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsvideo.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowsvulkan.h" /> | |||
<ClInclude Include="..\..\src\video\windows\SDL_windowswindow.h" /> | |||
<ClInclude Include="..\..\src\video\windows\wmmsg.h" /> | |||
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb.h" /> | |||
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_sse_func.h" /> | |||
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_std_func.h" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\src\atomic\SDL_atomic.c" /> | |||
<ClCompile Include="..\..\src\atomic\SDL_spinlock.c" /> | |||
<ClCompile Include="..\..\src\audio\directsound\SDL_directsound.c" /> | |||
<ClCompile Include="..\..\src\audio\disk\SDL_diskaudio.c" /> | |||
<ClCompile Include="..\..\src\audio\dummy\SDL_dummyaudio.c" /> | |||
<ClCompile Include="..\..\src\audio\SDL_audio.c" /> | |||
<ClCompile Include="..\..\src\audio\SDL_audiocvt.c" /> | |||
<ClCompile Include="..\..\src\audio\SDL_audiodev.c" /> | |||
<ClCompile Include="..\..\src\audio\SDL_audiotypecvt.c" /> | |||
<ClCompile Include="..\..\src\audio\SDL_mixer.c" /> | |||
<ClCompile Include="..\..\src\audio\SDL_wave.c" /> | |||
<ClCompile Include="..\..\src\audio\winmm\SDL_winmm.c" /> | |||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" /> | |||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi_win32.c" /> | |||
<ClCompile Include="..\..\src\core\windows\SDL_hid.c" /> | |||
<ClCompile Include="..\..\src\core\windows\SDL_immdevice.c" /> | |||
<ClCompile Include="..\..\src\core\windows\SDL_windows.c" /> | |||
<ClCompile Include="..\..\src\core\windows\SDL_xinput.c"> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
</ClCompile> | |||
<ClCompile Include="..\..\src\cpuinfo\SDL_cpuinfo.c" /> | |||
<ClCompile Include="..\..\src\dynapi\SDL_dynapi.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_clipboardevents.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_displayevents.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_dropevents.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_events.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_gesture.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_keyboard.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_mouse.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_quit.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_touch.c" /> | |||
<ClCompile Include="..\..\src\events\SDL_windowevents.c" /> | |||
<ClCompile Include="..\..\src\file\SDL_rwops.c" /> | |||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfilesystem.c" /> | |||
<ClCompile Include="..\..\src\haptic\dummy\SDL_syshaptic.c" /> | |||
<ClCompile Include="..\..\src\haptic\SDL_haptic.c" /> | |||
<ClCompile Include="..\..\src\haptic\windows\SDL_dinputhaptic.c" /> | |||
<ClCompile Include="..\..\src\haptic\windows\SDL_windowshaptic.c"> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
</ClCompile> | |||
<ClCompile Include="..\..\src\haptic\windows\SDL_xinputhaptic.c"> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
</ClCompile> | |||
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c" /> | |||
<ClCompile Include="..\..\src\joystick\controller_type.c" /> | |||
<ClCompile Include="..\..\src\joystick\dummy\SDL_sysjoystick.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapijoystick.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_combined.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_gamecube.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_luna.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_ps3.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_ps4.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_ps5.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_rumble.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_shield.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_stadia.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_steam.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_switch.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_wii.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_xbox360.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_xbox360w.c" /> | |||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_xboxone.c" /> | |||
<ClCompile Include="..\..\src\joystick\SDL_gamecontroller.c" /> | |||
<ClCompile Include="..\..\src\joystick\SDL_joystick.c" /> | |||
<ClCompile Include="..\..\src\joystick\virtual\SDL_virtualjoystick.c" /> | |||
<ClCompile Include="..\..\src\joystick\windows\SDL_dinputjoystick.c" /> | |||
<ClCompile Include="..\..\src\joystick\windows\SDL_rawinputjoystick.c" /> | |||
<ClCompile Include="..\..\src\joystick\windows\SDL_windowsjoystick.c"> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
</ClCompile> | |||
<ClCompile Include="..\..\src\joystick\windows\SDL_windows_gaming_input.c" /> | |||
<ClCompile Include="..\..\src\joystick\windows\SDL_xinputjoystick.c"> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">stdcpp17</LanguageStandard> | |||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">stdcpp17</LanguageStandard> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
</ClCompile> | |||
<ClCompile Include="..\..\src\libm\e_atan2.c" /> | |||
<ClCompile Include="..\..\src\libm\e_exp.c" /> | |||
<ClCompile Include="..\..\src\libm\e_fmod.c" /> | |||
<ClCompile Include="..\..\src\libm\e_log.c" /> | |||
<ClCompile Include="..\..\src\libm\e_log10.c" /> | |||
<ClCompile Include="..\..\src\libm\e_pow.c" /> | |||
<ClCompile Include="..\..\src\libm\e_rem_pio2.c" /> | |||
<ClCompile Include="..\..\src\libm\e_sqrt.c" /> | |||
<ClCompile Include="..\..\src\libm\k_cos.c" /> | |||
<ClCompile Include="..\..\src\libm\k_rem_pio2.c" /> | |||
<ClCompile Include="..\..\src\libm\k_sin.c" /> | |||
<ClCompile Include="..\..\src\libm\k_tan.c" /> | |||
<ClCompile Include="..\..\src\libm\s_atan.c" /> | |||
<ClCompile Include="..\..\src\libm\s_copysign.c" /> | |||
<ClCompile Include="..\..\src\libm\s_cos.c" /> | |||
<ClCompile Include="..\..\src\libm\s_fabs.c" /> | |||
<ClCompile Include="..\..\src\libm\s_floor.c" /> | |||
<ClCompile Include="..\..\src\libm\s_scalbn.c" /> | |||
<ClCompile Include="..\..\src\libm\s_sin.c" /> | |||
<ClCompile Include="..\..\src\libm\s_tan.c" /> | |||
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" /> | |||
<ClCompile Include="..\..\src\locale\SDL_locale.c" /> | |||
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" /> | |||
<ClCompile Include="..\..\src\misc\SDL_url.c" /> | |||
<ClCompile Include="..\..\src\misc\windows\SDL_sysurl.c" /> | |||
<ClCompile Include="..\..\src\power\SDL_power.c" /> | |||
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c" /> | |||
<ClCompile Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.c" /> | |||
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12.c"> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs> | |||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs> | |||
</ClCompile> | |||
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.c" /> | |||
<ClCompile Include="..\..\src\render\direct3d\SDL_render_d3d.c" /> | |||
<ClCompile Include="..\..\src\render\direct3d11\SDL_render_d3d11.c" /> | |||
<ClCompile Include="..\..\src\render\direct3d\SDL_shaders_d3d.c" /> | |||
<ClCompile Include="..\..\src\render\opengl\SDL_render_gl.c" /> | |||
<ClCompile Include="..\..\src\render\opengl\SDL_shaders_gl.c" /> | |||
<ClCompile Include="..\..\src\render\opengles2\SDL_render_gles2.c" /> | |||
<ClCompile Include="..\..\src\render\opengles2\SDL_shaders_gles2.c" /> | |||
<ClCompile Include="..\..\src\render\SDL_d3dmath.c" /> | |||
<ClCompile Include="..\..\src\render\SDL_render.c" /> | |||
<ClCompile Include="..\..\src\render\SDL_yuv_sw.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_blendfillrect.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_blendline.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_blendpoint.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_drawline.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_drawpoint.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_render_sw.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_rotate.c" /> | |||
<ClCompile Include="..\..\src\render\software\SDL_triangle.c" /> | |||
<ClCompile Include="..\..\src\SDL.c" /> | |||
<ClCompile Include="..\..\src\SDL_assert.c" /> | |||
<ClCompile Include="..\..\src\SDL_dataqueue.c" /> | |||
<ClCompile Include="..\..\src\SDL_list.c" /> | |||
<ClCompile Include="..\..\src\SDL_error.c" /> | |||
<ClCompile Include="..\..\src\SDL_hints.c" /> | |||
<ClCompile Include="..\..\src\SDL_log.c" /> | |||
<ClCompile Include="..\..\src\SDL_utils.c" /> | |||
<ClCompile Include="..\..\src\sensor\dummy\SDL_dummysensor.c" /> | |||
<ClCompile Include="..\..\src\sensor\SDL_sensor.c" /> | |||
<ClCompile Include="..\..\src\sensor\windows\SDL_windowssensor.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_crc16.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_crc32.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_getenv.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_iconv.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_malloc.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_mslibc.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_qsort.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_stdlib.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_string.c" /> | |||
<ClCompile Include="..\..\src\stdlib\SDL_strtokr.c" /> | |||
<ClCompile Include="..\..\src\thread\generic\SDL_syscond.c" /> | |||
<ClCompile Include="..\..\src\thread\SDL_thread.c" /> | |||
<ClCompile Include="..\..\src\thread\windows\SDL_syscond_cv.c" /> | |||
<ClCompile Include="..\..\src\thread\windows\SDL_sysmutex.c" /> | |||
<ClCompile Include="..\..\src\thread\windows\SDL_syssem.c" /> | |||
<ClCompile Include="..\..\src\thread\windows\SDL_systhread.c" /> | |||
<ClCompile Include="..\..\src\thread\windows\SDL_systls.c" /> | |||
<ClCompile Include="..\..\src\timer\SDL_timer.c" /> | |||
<ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" /> | |||
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" /> | |||
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" /> | |||
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit_0.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit_1.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit_A.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit_auto.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit_copy.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit_N.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_blit_slow.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_bmp.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_clipboard.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_egl.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_fillrect.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_pixels.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_rect.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_RLEaccel.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_shape.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_stretch.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_surface.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_video.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_vulkan_utils.c" /> | |||
<ClCompile Include="..\..\src\video\SDL_yuv.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsevents.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsframebuffer.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowskeyboard.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsmessagebox.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsmodes.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsmouse.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsopengl.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsopengles.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsshape.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsvideo.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowsvulkan.c" /> | |||
<ClCompile Include="..\..\src\video\windows\SDL_windowswindow.c" /> | |||
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb.c" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ResourceCompile Include="..\..\src\main\windows\version.rc" /> | |||
</ItemGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |||
<ImportGroup Label="ExtensionTargets"> | |||
</ImportGroup> | |||
</Project> |
@ -0,0 +1,211 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="Build" ToolsVersion="4.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="Debug|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Debug|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Desktop.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\src\main\gdk\SDL_gdk_main.c" /> | |||
</ItemGroup> | |||
<PropertyGroup Label="Globals"> | |||
<ProjectName>SDL2main</ProjectName> | |||
<ProjectGuid>{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}</ProjectGuid> | |||
<RootNamespace>SDLmain</RootNamespace> | |||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |||
<ImportGroup Label="ExtensionSettings"> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<PropertyGroup Label="UserMacros" /> | |||
<PropertyGroup> | |||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
</PropertyGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<StringPooling>true</StringPooling> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<StringPooling>true</StringPooling> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<StringPooling>true</StringPooling> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |||
<ImportGroup Label="ExtensionTargets"> | |||
</ImportGroup> | |||
</Project> |
@ -0,0 +1,226 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="Build" ToolsVersion="4.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="Debug|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Debug|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Desktop.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
</ItemGroup> | |||
<PropertyGroup Label="Globals"> | |||
<ProjectName>SDL2test</ProjectName> | |||
<ProjectGuid>{DA956FD3-E143-46F2-9FE5-C77BEBC56B1A}</ProjectGuid> | |||
<RootNamespace>SDLtest</RootNamespace> | |||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>StaticLibrary</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |||
<ImportGroup Label="ExtensionSettings"> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<PropertyGroup Label="UserMacros" /> | |||
<PropertyGroup> | |||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
</PropertyGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<StringPooling>true</StringPooling> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<StringPooling>true</StringPooling> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<StringPooling>true</StringPooling> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl /> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(ProjectDir)/../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<BufferSecurityCheck>false</BufferSecurityCheck> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
<OmitDefaultLibName>true</OmitDefaultLibName> | |||
</ClCompile> | |||
</ItemDefinitionGroup> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\src\test\SDL_test_assert.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_common.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_compare.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_crc32.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_font.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_fuzzer.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_harness.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_imageBlit.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_imageBlitBlend.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_imageFace.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_imagePrimitives.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_imagePrimitivesBlend.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_log.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_md5.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_memory.c" /> | |||
<ClCompile Include="..\..\src\test\SDL_test_random.c" /> | |||
</ItemGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |||
<ImportGroup Label="ExtensionTargets"> | |||
</ImportGroup> | |||
</Project> |
@ -0,0 +1,6 @@ | |||
#!/bin/sh | |||
find . -type f \( -name '*.user' -o -name '*.sdf' -o -name '*.ncb' -o -name '*.suo' \) -print -delete | |||
find . -type f \( -name '*.bmp' -o -name '*.wav' -o -name '*.dat' \) -print -delete | |||
find . -depth -type d \( -name Gaming.Desktop.x64 \) -exec rm -rv {} \; | |||
find . -depth -type d \( -name Gaming.Xbox.Scarlett.x64 \) -exec rm -rv {} \; | |||
find . -depth -type d \( -name Gaming.Xbox.XboxOne.x64 \) -exec rm -rv {} \; |
@ -0,0 +1,9 @@ | |||
<Package> | |||
<Chunk Id="1000" Marker="Launch"> | |||
<FileGroup DestinationPath="." SourcePath="." Include="testgamecontroller.exe" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="MicrosoftGame.config" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.bmp" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.png" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.dll" /> | |||
</Chunk> | |||
</Package> |
@ -0,0 +1,444 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="Build" ToolsVersion="4.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="Debug|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Debug|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Desktop.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
</ItemGroup> | |||
<PropertyGroup Label="Globals"> | |||
<ProjectGuid>{55812185-D13C-4022-9C81-32E0F4A08305}</ProjectGuid> | |||
<RootNamespace>testgamecontroller</RootNamespace> | |||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
<UseDebugLibraries>true</UseDebugLibraries> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
<UseDebugLibraries>true</UseDebugLibraries> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |||
<ImportGroup Label="ExtensionSettings"> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<PropertyGroup Label="UserMacros" /> | |||
<PropertyGroup> | |||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
</PropertyGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testgamecontroller.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testgamecontroller.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testgamecontroller.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testgamecontroller.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testgamecontroller.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testgamecontroller.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
</ItemDefinitionGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\..\SDL\SDL.vcxproj"> | |||
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
<ProjectReference Include="..\..\SDLmain\SDLmain.vcxproj"> | |||
<Project>{da956fd3-e142-46f2-9dd5-c78bebb56b7a}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\..\test\axis.bmp"> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\..\test\button.bmp"> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\..\test\controllermap.bmp"> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\..\test\controllermap_back.bmp"> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\..\test\testgamecontroller.c" /> | |||
<ClCompile Include="..\..\..\test\testutils.c" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="wingdk\MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="PackageLayout.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\logos\Logo100x100.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo150x150.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo44x44.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo480x480.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="$(Console_GRDKExtLibRoot)Xbox.Services.API.C\DesignTime\CommonConfiguration\Neutral\Lib\Release\Microsoft.Xbox.Services.141.GDK.C.Thunks.dll"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="xboxseries\MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="xboxone\MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\logos\SplashScreenImage.png" /> | |||
</ItemGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |||
<ImportGroup Label="ExtensionTargets"> | |||
</ImportGroup> | |||
</Project> |
@ -0,0 +1,55 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\..\test\testgamecontroller.c" /> | |||
<ClCompile Include="..\..\..\test\testutils.c" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\..\test\controllermap_back.bmp" /> | |||
<CopyFileToFolders Include="..\..\..\test\axis.bmp" /> | |||
<CopyFileToFolders Include="..\..\..\test\button.bmp" /> | |||
<CopyFileToFolders Include="..\..\..\test\controllermap.bmp" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo44x44.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo100x100.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo150x150.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo480x480.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="$(Console_GRDKExtLibRoot)Xbox.Services.API.C\DesignTime\CommonConfiguration\Neutral\Lib\Release\Microsoft.Xbox.Services.141.GDK.C.Thunks.dll"> | |||
<Filter>wingdk</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="wingdk\MicrosoftGame.config"> | |||
<Filter>wingdk</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="xboxseries\MicrosoftGame.config"> | |||
<Filter>xboxseries</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="xboxone\MicrosoftGame.config"> | |||
<Filter>xboxone</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\SplashScreenImage.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="PackageLayout.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Filter Include="logos"> | |||
<UniqueIdentifier>{5e858cf0-6fba-498d-b33d-11c8ecbb79c7}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="xboxseries"> | |||
<UniqueIdentifier>{5790a250-283e-4f51-8f28-6a977d3c7a6c}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="wingdk"> | |||
<UniqueIdentifier>{a4d235e4-4017-4193-af62-ecb2ac249be4}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="xboxone"> | |||
<UniqueIdentifier>{e704dcb9-c83c-4c94-a139-b0f3e3f428f2}</UniqueIdentifier> | |||
</Filter> | |||
</ItemGroup> | |||
</Project> |
@ -0,0 +1,34 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testgamecontroller.exe" | |||
TargetDeviceFamily="PC" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<DesktopRegistration> | |||
<DependencyList> | |||
<KnownDependency Name="VC14"/> | |||
</DependencyList> | |||
</DesktopRegistration> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testgamecontroller" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
Description="testgamecontroller" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testgamecontroller.exe" | |||
TargetDeviceFamily="XboxOne" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testgamecontroller" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
SplashScreenImage="SplashScreenImage.png" | |||
Description="testgamecontroller" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testgamecontroller.exe" | |||
TargetDeviceFamily="Scarlett" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testgamecontroller" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
SplashScreenImage="SplashScreenImage.png" | |||
Description="testgamecontroller" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,10 @@ | |||
<Package> | |||
<Chunk Id="1000" Marker="Launch"> | |||
<FileGroup DestinationPath="." SourcePath="." Include="testgdk.exe" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="MicrosoftGame.config" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.bmp" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.wav" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.png" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.dll" /> | |||
</Chunk> | |||
</Package> |
@ -0,0 +1,502 @@ | |||
/* | |||
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org> | |||
This software is provided 'as-is', without any express or implied | |||
warranty. In no event will the authors be held liable for any damages | |||
arising from the use of this software. | |||
Permission is granted to anyone to use this software for any purpose, | |||
including commercial applications, and to alter it and redistribute it | |||
freely. | |||
*/ | |||
/* testgdk: Basic tests of using task queue/xbl (with simple drawing) in GDK. | |||
* NOTE: As of June 2022 GDK, login will only work if MicrosoftGame.config is | |||
* configured properly. See README-gdk.md. | |||
*/ | |||
#include <stdlib.h> | |||
#include <stdio.h> | |||
#include <time.h> | |||
#include "SDL_test.h" | |||
#include "SDL_test_common.h" | |||
#include "../src/core/windows/SDL_windows.h" | |||
extern "C" { | |||
#include "../test/testutils.h" | |||
} | |||
#include <XGameRuntime.h> | |||
#define NUM_SPRITES 100 | |||
#define MAX_SPEED 1 | |||
static SDLTest_CommonState *state; | |||
static int num_sprites; | |||
static SDL_Texture **sprites; | |||
static SDL_bool cycle_color; | |||
static SDL_bool cycle_alpha; | |||
static int cycle_direction = 1; | |||
static int current_alpha = 0; | |||
static int current_color = 0; | |||
static int sprite_w, sprite_h; | |||
static SDL_BlendMode blendMode = SDL_BLENDMODE_BLEND; | |||
int done; | |||
static struct | |||
{ | |||
SDL_AudioSpec spec; | |||
Uint8 *sound; /* Pointer to wave data */ | |||
Uint32 soundlen; /* Length of wave data */ | |||
int soundpos; /* Current play position */ | |||
} wave; | |||
static SDL_AudioDeviceID device; | |||
static void | |||
close_audio() | |||
{ | |||
if (device != 0) { | |||
SDL_CloseAudioDevice(device); | |||
device = 0; | |||
} | |||
} | |||
/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */ | |||
static void | |||
quit(int rc) | |||
{ | |||
SDL_free(sprites); | |||
close_audio(); | |||
SDL_FreeWAV(wave.sound); | |||
SDLTest_CommonQuit(state); | |||
/* If rc is 0, just let main return normally rather than calling exit. | |||
* This allows testing of platforms where SDL_main is required and does meaningful cleanup. | |||
*/ | |||
if (rc != 0) { | |||
exit(rc); | |||
} | |||
} | |||
static void | |||
open_audio() | |||
{ | |||
/* Initialize fillerup() variables */ | |||
device = SDL_OpenAudioDevice(NULL, SDL_FALSE, &wave.spec, NULL, 0); | |||
if (!device) { | |||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't open audio: %s\n", SDL_GetError()); | |||
SDL_FreeWAV(wave.sound); | |||
quit(2); | |||
} | |||
/* Let the audio run */ | |||
SDL_PauseAudioDevice(device, SDL_FALSE); | |||
} | |||
static void | |||
reopen_audio() | |||
{ | |||
close_audio(); | |||
open_audio(); | |||
} | |||
void SDLCALL | |||
fillerup(void *unused, Uint8 *stream, int len) | |||
{ | |||
Uint8 *waveptr; | |||
int waveleft; | |||
/* Set up the pointers */ | |||
waveptr = wave.sound + wave.soundpos; | |||
waveleft = wave.soundlen - wave.soundpos; | |||
/* Go! */ | |||
while (waveleft <= len) { | |||
SDL_memcpy(stream, waveptr, waveleft); | |||
stream += waveleft; | |||
len -= waveleft; | |||
waveptr = wave.sound; | |||
waveleft = wave.soundlen; | |||
wave.soundpos = 0; | |||
} | |||
SDL_memcpy(stream, waveptr, len); | |||
wave.soundpos += len; | |||
} | |||
void | |||
UserLoggedIn(XUserHandle user) | |||
{ | |||
HRESULT hr; | |||
char gamertag[128]; | |||
hr = XUserGetGamertag(user, XUserGamertagComponent::UniqueModern, sizeof(gamertag), gamertag, NULL); | |||
if (SUCCEEDED(hr)) { | |||
SDL_Log("User logged in: %s", gamertag); | |||
} else { | |||
SDL_Log("[GDK] UserLoggedIn -- XUserGetGamertag failed: 0x%08x.", hr); | |||
} | |||
XUserCloseHandle(user); | |||
} | |||
void | |||
AddUserUICallback(XAsyncBlock *asyncBlock) | |||
{ | |||
HRESULT hr; | |||
XUserHandle user = NULL; | |||
hr = XUserAddResult(asyncBlock, &user); | |||
if (SUCCEEDED(hr)) { | |||
uint64_t userId; | |||
hr = XUserGetId(user, &userId); | |||
if (FAILED(hr)) { | |||
/* If unable to get the user ID, it means the account is banned, etc. */ | |||
SDL_Log("[GDK] AddUserSilentCallback -- XUserGetId failed: 0x%08x.", hr); | |||
XUserCloseHandle(user); | |||
/* Per the docs, likely should call XUserResolveIssueWithUiAsync here. */ | |||
} else { | |||
UserLoggedIn(user); | |||
} | |||
} else { | |||
SDL_Log("[GDK] AddUserUICallback -- XUserAddAsync failed: 0x%08x.", hr); | |||
} | |||
delete asyncBlock; | |||
} | |||
void | |||
AddUserUI() | |||
{ | |||
HRESULT hr; | |||
XAsyncBlock *asyncBlock = new XAsyncBlock; | |||
asyncBlock->context = NULL; | |||
asyncBlock->queue = NULL; /* A null queue will use the global process task queue */ | |||
asyncBlock->callback = &AddUserUICallback; | |||
hr = XUserAddAsync(XUserAddOptions::None, asyncBlock); | |||
if (FAILED(hr)) { | |||
delete asyncBlock; | |||
SDL_Log("[GDK] AddUserSilent -- failed: 0x%08x", hr); | |||
} | |||
} | |||
void | |||
AddUserSilentCallback(XAsyncBlock *asyncBlock) | |||
{ | |||
HRESULT hr; | |||
XUserHandle user = NULL; | |||
hr = XUserAddResult(asyncBlock, &user); | |||
if (SUCCEEDED(hr)) { | |||
uint64_t userId; | |||
hr = XUserGetId(user, &userId); | |||
if (FAILED(hr)) { | |||
/* If unable to get the user ID, it means the account is banned, etc. */ | |||
SDL_Log("[GDK] AddUserSilentCallback -- XUserGetId failed: 0x%08x. Trying with UI.", hr); | |||
XUserCloseHandle(user); | |||
AddUserUI(); | |||
} else { | |||
UserLoggedIn(user); | |||
} | |||
} else { | |||
SDL_Log("[GDK] AddUserSilentCallback -- XUserAddAsync failed: 0x%08x. Trying with UI.", hr); | |||
AddUserUI(); | |||
} | |||
delete asyncBlock; | |||
} | |||
void | |||
AddUserSilent() | |||
{ | |||
HRESULT hr; | |||
XAsyncBlock *asyncBlock = new XAsyncBlock; | |||
asyncBlock->context = NULL; | |||
asyncBlock->queue = NULL; /* A null queue will use the global process task queue */ | |||
asyncBlock->callback = &AddUserSilentCallback; | |||
hr = XUserAddAsync(XUserAddOptions::AddDefaultUserSilently, asyncBlock); | |||
if (FAILED(hr)) { | |||
delete asyncBlock; | |||
SDL_Log("[GDK] AddUserSilent -- failed: 0x%08x", hr); | |||
} | |||
} | |||
int | |||
LoadSprite(const char *file) | |||
{ | |||
int i; | |||
for (i = 0; i < state->num_windows; ++i) { | |||
/* This does the SDL_LoadBMP step repeatedly, but that's OK for test code. */ | |||
sprites[i] = LoadTexture(state->renderers[i], file, SDL_TRUE, &sprite_w, &sprite_h); | |||
if (!sprites[i]) { | |||
return (-1); | |||
} | |||
if (SDL_SetTextureBlendMode(sprites[i], blendMode) < 0) { | |||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't set blend mode: %s\n", SDL_GetError()); | |||
SDL_DestroyTexture(sprites[i]); | |||
return (-1); | |||
} | |||
} | |||
/* We're ready to roll. :) */ | |||
return (0); | |||
} | |||
void | |||
DrawSprites(SDL_Renderer * renderer, SDL_Texture * sprite) | |||
{ | |||
SDL_Rect viewport, temp; | |||
/* Query the sizes */ | |||
SDL_RenderGetViewport(renderer, &viewport); | |||
/* Cycle the color and alpha, if desired */ | |||
if (cycle_color) { | |||
current_color += cycle_direction; | |||
if (current_color < 0) { | |||
current_color = 0; | |||
cycle_direction = -cycle_direction; | |||
} | |||
if (current_color > 255) { | |||
current_color = 255; | |||
cycle_direction = -cycle_direction; | |||
} | |||
SDL_SetTextureColorMod(sprite, 255, (Uint8) current_color, | |||
(Uint8) current_color); | |||
} | |||
if (cycle_alpha) { | |||
current_alpha += cycle_direction; | |||
if (current_alpha < 0) { | |||
current_alpha = 0; | |||
cycle_direction = -cycle_direction; | |||
} | |||
if (current_alpha > 255) { | |||
current_alpha = 255; | |||
cycle_direction = -cycle_direction; | |||
} | |||
SDL_SetTextureAlphaMod(sprite, (Uint8) current_alpha); | |||
} | |||
/* Draw a gray background */ | |||
SDL_SetRenderDrawColor(renderer, 0xA0, 0xA0, 0xA0, 0xFF); | |||
SDL_RenderClear(renderer); | |||
/* Test points */ | |||
SDL_SetRenderDrawColor(renderer, 0xFF, 0x00, 0x00, 0xFF); | |||
SDL_RenderDrawPoint(renderer, 0, 0); | |||
SDL_RenderDrawPoint(renderer, viewport.w-1, 0); | |||
SDL_RenderDrawPoint(renderer, 0, viewport.h-1); | |||
SDL_RenderDrawPoint(renderer, viewport.w-1, viewport.h-1); | |||
/* Test horizontal and vertical lines */ | |||
SDL_SetRenderDrawColor(renderer, 0x00, 0xFF, 0x00, 0xFF); | |||
SDL_RenderDrawLine(renderer, 1, 0, viewport.w-2, 0); | |||
SDL_RenderDrawLine(renderer, 1, viewport.h-1, viewport.w-2, viewport.h-1); | |||
SDL_RenderDrawLine(renderer, 0, 1, 0, viewport.h-2); | |||
SDL_RenderDrawLine(renderer, viewport.w-1, 1, viewport.w-1, viewport.h-2); | |||
/* Test fill and copy */ | |||
SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0xFF); | |||
temp.x = 1; | |||
temp.y = 1; | |||
temp.w = sprite_w; | |||
temp.h = sprite_h; | |||
SDL_RenderFillRect(renderer, &temp); | |||
SDL_RenderCopy(renderer, sprite, NULL, &temp); | |||
temp.x = viewport.w-sprite_w-1; | |||
temp.y = 1; | |||
temp.w = sprite_w; | |||
temp.h = sprite_h; | |||
SDL_RenderFillRect(renderer, &temp); | |||
SDL_RenderCopy(renderer, sprite, NULL, &temp); | |||
temp.x = 1; | |||
temp.y = viewport.h-sprite_h-1; | |||
temp.w = sprite_w; | |||
temp.h = sprite_h; | |||
SDL_RenderFillRect(renderer, &temp); | |||
SDL_RenderCopy(renderer, sprite, NULL, &temp); | |||
temp.x = viewport.w-sprite_w-1; | |||
temp.y = viewport.h-sprite_h-1; | |||
temp.w = sprite_w; | |||
temp.h = sprite_h; | |||
SDL_RenderFillRect(renderer, &temp); | |||
SDL_RenderCopy(renderer, sprite, NULL, &temp); | |||
/* Test diagonal lines */ | |||
SDL_SetRenderDrawColor(renderer, 0x00, 0xFF, 0x00, 0xFF); | |||
SDL_RenderDrawLine(renderer, sprite_w, sprite_h, | |||
viewport.w-sprite_w-2, viewport.h-sprite_h-2); | |||
SDL_RenderDrawLine(renderer, viewport.w-sprite_w-2, sprite_h, | |||
sprite_w, viewport.h-sprite_h-2); | |||
/* Update the screen! */ | |||
SDL_RenderPresent(renderer); | |||
} | |||
void | |||
loop() | |||
{ | |||
int i; | |||
SDL_Event event; | |||
/* Check for events */ | |||
while (SDL_PollEvent(&event)) { | |||
if (event.type == SDL_KEYDOWN && !event.key.repeat) { | |||
SDL_Log("Initial SDL_KEYDOWN: %s", SDL_GetScancodeName(event.key.keysym.scancode)); | |||
} | |||
#if defined(__XBOXONE__) || defined(__XBOXSERIES__) | |||
/* On Xbox, ignore the keydown event because the features aren't supported */ | |||
if (event.type != SDL_KEYDOWN) { | |||
SDLTest_CommonEvent(state, &event, &done); | |||
} | |||
#else | |||
SDLTest_CommonEvent(state, &event, &done); | |||
#endif | |||
} | |||
for (i = 0; i < state->num_windows; ++i) { | |||
if (state->windows[i] == NULL) | |||
continue; | |||
DrawSprites(state->renderers[i], sprites[i]); | |||
} | |||
} | |||
int | |||
main(int argc, char *argv[]) | |||
{ | |||
int i; | |||
const char *icon = "icon.bmp"; | |||
char *soundname = NULL; | |||
/* Initialize parameters */ | |||
num_sprites = NUM_SPRITES; | |||
/* Initialize test framework */ | |||
state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO | SDL_INIT_AUDIO); | |||
if (!state) { | |||
return 1; | |||
} | |||
for (i = 1; i < argc;) { | |||
int consumed; | |||
consumed = SDLTest_CommonArg(state, i); | |||
if (consumed == 0) { | |||
consumed = -1; | |||
if (SDL_strcasecmp(argv[i], "--blend") == 0) { | |||
if (argv[i + 1]) { | |||
if (SDL_strcasecmp(argv[i + 1], "none") == 0) { | |||
blendMode = SDL_BLENDMODE_NONE; | |||
consumed = 2; | |||
} else if (SDL_strcasecmp(argv[i + 1], "blend") == 0) { | |||
blendMode = SDL_BLENDMODE_BLEND; | |||
consumed = 2; | |||
} else if (SDL_strcasecmp(argv[i + 1], "add") == 0) { | |||
blendMode = SDL_BLENDMODE_ADD; | |||
consumed = 2; | |||
} else if (SDL_strcasecmp(argv[i + 1], "mod") == 0) { | |||
blendMode = SDL_BLENDMODE_MOD; | |||
consumed = 2; | |||
} else if (SDL_strcasecmp(argv[i + 1], "sub") == 0) { | |||
blendMode = SDL_ComposeCustomBlendMode(SDL_BLENDFACTOR_SRC_ALPHA, SDL_BLENDFACTOR_ONE, SDL_BLENDOPERATION_SUBTRACT, SDL_BLENDFACTOR_ZERO, SDL_BLENDFACTOR_ONE, SDL_BLENDOPERATION_SUBTRACT); | |||
consumed = 2; | |||
} | |||
} | |||
} else if (SDL_strcasecmp(argv[i], "--cyclecolor") == 0) { | |||
cycle_color = SDL_TRUE; | |||
consumed = 1; | |||
} else if (SDL_strcasecmp(argv[i], "--cyclealpha") == 0) { | |||
cycle_alpha = SDL_TRUE; | |||
consumed = 1; | |||
} else if (SDL_isdigit(*argv[i])) { | |||
num_sprites = SDL_atoi(argv[i]); | |||
consumed = 1; | |||
} else if (argv[i][0] != '-') { | |||
icon = argv[i]; | |||
consumed = 1; | |||
} | |||
} | |||
if (consumed < 0) { | |||
static const char *options[] = { | |||
"[--blend none|blend|add|mod]", | |||
"[--cyclecolor]", | |||
"[--cyclealpha]", | |||
"[num_sprites]", | |||
"[icon.bmp]", | |||
NULL }; | |||
SDLTest_CommonLogUsage(state, argv[0], options); | |||
quit(1); | |||
} | |||
i += consumed; | |||
} | |||
if (!SDLTest_CommonInit(state)) { | |||
quit(2); | |||
} | |||
/* Create the windows, initialize the renderers, and load the textures */ | |||
sprites = | |||
(SDL_Texture **) SDL_malloc(state->num_windows * sizeof(*sprites)); | |||
if (!sprites) { | |||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Out of memory!\n"); | |||
quit(2); | |||
} | |||
for (i = 0; i < state->num_windows; ++i) { | |||
SDL_Renderer *renderer = state->renderers[i]; | |||
SDL_SetRenderDrawColor(renderer, 0xA0, 0xA0, 0xA0, 0xFF); | |||
SDL_RenderClear(renderer); | |||
} | |||
if (LoadSprite(icon) < 0) { | |||
quit(2); | |||
} | |||
soundname = GetResourceFilename(argc > 1 ? argv[1] : NULL, "sample.wav"); | |||
if (soundname == NULL) { | |||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "%s\n", SDL_GetError()); | |||
quit(1); | |||
} | |||
/* Load the wave file into memory */ | |||
if (SDL_LoadWAV(soundname, &wave.spec, &wave.sound, &wave.soundlen) == NULL) { | |||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't load %s: %s\n", soundname, SDL_GetError()); | |||
quit(1); | |||
} | |||
wave.spec.callback = fillerup; | |||
/* Show the list of available drivers */ | |||
SDL_Log("Available audio drivers:"); | |||
for (i = 0; i < SDL_GetNumAudioDrivers(); ++i) { | |||
SDL_Log("%i: %s", i, SDL_GetAudioDriver(i)); | |||
} | |||
SDL_Log("Using audio driver: %s\n", SDL_GetCurrentAudioDriver()); | |||
open_audio(); | |||
/* Main render loop */ | |||
done = 0; | |||
/* Try to add the default user silently */ | |||
AddUserSilent(); | |||
while (!done) { | |||
loop(); | |||
} | |||
quit(0); | |||
SDL_free(soundname); | |||
return 0; | |||
} | |||
/* vi: set ts=4 sw=4 expandtab: */ |
@ -0,0 +1,401 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="Build" ToolsVersion="4.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="Debug|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Debug|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Desktop.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
</ItemGroup> | |||
<PropertyGroup Label="Globals"> | |||
<ProjectGuid>{1C9A3F71-35A5-4C56-B292-F4375B3C3649}</ProjectGuid> | |||
<RootNamespace>testsprite2</RootNamespace> | |||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
<UseDebugLibraries>true</UseDebugLibraries> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
<UseDebugLibraries>true</UseDebugLibraries> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |||
<ImportGroup Label="ExtensionSettings"> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<PropertyGroup Label="UserMacros" /> | |||
<PropertyGroup> | |||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
</PropertyGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\..\SDL\SDL.vcxproj"> | |||
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
<ProjectReference Include="..\..\SDLmain\SDLmain.vcxproj"> | |||
<Project>{da956fd3-e142-46f2-9dd5-c78bebb56b7a}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
<ProjectReference Include="..\..\SDLtest\SDLtest.vcxproj"> | |||
<Project>{da956fd3-e143-46f2-9fe5-c77bebc56b1a}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\..\test\icon.bmp"> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\..\test\testutils.c" /> | |||
<ClCompile Include="src\testgdk.cpp" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="wingdk\MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="$(Console_GRDKExtLibRoot)Xbox.Services.API.C\DesignTime\CommonConfiguration\Neutral\Lib\Release\Microsoft.Xbox.Services.141.GDK.C.Thunks.dll"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\logos\Logo100x100.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo150x150.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo44x44.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo480x480.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="PackageLayout.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="xboxseries\MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\..\test\sample.wav"> | |||
<FileType>Document</FileType> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="xboxone\MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\logos\SplashScreenImage.png" /> | |||
</ItemGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |||
<ImportGroup Label="ExtensionTargets"> | |||
</ImportGroup> | |||
</Project> |
@ -0,0 +1,53 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\..\test\testutils.c" /> | |||
<ClCompile Include="src\testgdk.cpp" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\..\test\icon.bmp" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo44x44.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo100x100.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo150x150.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo480x480.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="$(Console_GRDKExtLibRoot)Xbox.Services.API.C\DesignTime\CommonConfiguration\Neutral\Lib\Release\Microsoft.Xbox.Services.141.GDK.C.Thunks.dll"> | |||
<Filter>wingdk</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="wingdk\MicrosoftGame.config"> | |||
<Filter>wingdk</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="xboxseries\MicrosoftGame.config"> | |||
<Filter>xboxseries</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\..\test\sample.wav" /> | |||
<CopyFileToFolders Include="xboxone\MicrosoftGame.config"> | |||
<Filter>xboxone</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\SplashScreenImage.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="PackageLayout.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Filter Include="logos"> | |||
<UniqueIdentifier>{c3c871f2-c7b7-4025-8ba4-037dde717fe1}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="wingdk"> | |||
<UniqueIdentifier>{1678a80d-0ee8-4f48-bf89-9462d82dd98a}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="xboxseries"> | |||
<UniqueIdentifier>{1b47b96b-507e-40ec-9c25-99b1a4d5b575}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="xboxone"> | |||
<UniqueIdentifier>{ac7aa2d5-f0f7-46eb-a548-5b6316f3b63b}</UniqueIdentifier> | |||
</Filter> | |||
</ItemGroup> | |||
</Project> |
@ -0,0 +1,34 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testgdk.exe" | |||
TargetDeviceFamily="PC" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<DesktopRegistration> | |||
<DependencyList> | |||
<KnownDependency Name="VC14"/> | |||
</DependencyList> | |||
</DesktopRegistration> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testgdk" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
Description="testgdk" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testgdk.exe" | |||
TargetDeviceFamily="XboxOne" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testgdk" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
SplashScreenImage="SplashScreenImage.png" | |||
Description="testgdk" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testgdk.exe" | |||
TargetDeviceFamily="Scarlett" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testgdk" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
SplashScreenImage="SplashScreenImage.png" | |||
Description="testgdk" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,9 @@ | |||
<Package> | |||
<Chunk Id="1000" Marker="Launch"> | |||
<FileGroup DestinationPath="." SourcePath="." Include="testsprite2.exe" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="MicrosoftGame.config" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.bmp" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.png" /> | |||
<FileGroup DestinationPath="." SourcePath="." Include="*.dll" /> | |||
</Chunk> | |||
</Package> |
@ -0,0 +1,395 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="Build" ToolsVersion="4.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="Debug|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Debug|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Debug</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Desktop.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Desktop.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.Scarlett.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.Scarlett.x64</Platform> | |||
</ProjectConfiguration> | |||
<ProjectConfiguration Include="Release|Gaming.Xbox.XboxOne.x64"> | |||
<Configuration>Release</Configuration> | |||
<Platform>Gaming.Xbox.XboxOne.x64</Platform> | |||
</ProjectConfiguration> | |||
</ItemGroup> | |||
<PropertyGroup Label="Globals"> | |||
<ProjectGuid>{40FB7794-D3C3-4CFE-BCF4-A80C96635682}</ProjectGuid> | |||
<RootNamespace>testsprite2</RootNamespace> | |||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
<UseDebugLibraries>true</UseDebugLibraries> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
<UseDebugLibraries>true</UseDebugLibraries> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="Configuration"> | |||
<ConfigurationType>Application</ConfigurationType> | |||
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset> | |||
</PropertyGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |||
<ImportGroup Label="ExtensionSettings"> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" Label="PropertySheets"> | |||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC70.props" /> | |||
</ImportGroup> | |||
<PropertyGroup Label="UserMacros" /> | |||
<PropertyGroup> | |||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(Platform)\$(Configuration)\</IntDir> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">AllRules.ruleset</CodeAnalysisRuleSet> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'" /> | |||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" /> | |||
</PropertyGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Release/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;../Microsoft.Xbox.Services.141.GDK.C.Thunks.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'"> | |||
<Midl> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<MkTypLibCompatible>true</MkTypLibCompatible> | |||
<SuppressStartupBanner>true</SuppressStartupBanner> | |||
<TypeLibraryName>.\Debug/testsprite2.tlb</TypeLibraryName> | |||
</Midl> | |||
<ClCompile> | |||
<Optimization>Disabled</Optimization> | |||
<AdditionalIncludeDirectories>$(SolutionDir)/../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories> | |||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |||
<WarningLevel>Level3</WarningLevel> | |||
<DebugInformationFormat>OldStyle</DebugInformationFormat> | |||
</ClCompile> | |||
<ResourceCompile> | |||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |||
<Culture>0x0409</Culture> | |||
</ResourceCompile> | |||
<Link> | |||
<GenerateDebugInformation>true</GenerateDebugInformation> | |||
<SubSystem>Windows</SubSystem> | |||
<AdditionalDependencies>xgameruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | |||
</Link> | |||
<PostBuildEvent> | |||
<Command> | |||
</Command> | |||
</PostBuildEvent> | |||
</ItemDefinitionGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\..\SDL\SDL.vcxproj"> | |||
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
<ProjectReference Include="..\..\SDLmain\SDLmain.vcxproj"> | |||
<Project>{da956fd3-e142-46f2-9dd5-c78bebb56b7a}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
<ProjectReference Include="..\..\SDLtest\SDLtest.vcxproj"> | |||
<Project>{da956fd3-e143-46f2-9fe5-c77bebc56b1a}</Project> | |||
<Private>false</Private> | |||
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies> | |||
<ReferenceOutputAssembly>true</ReferenceOutputAssembly> | |||
</ProjectReference> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\..\test\icon.bmp"> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">Copying %(Filename)%(Extension)</Message> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">copy "%(FullPath)" "$(ProjectDir)\" | |||
copy "%(FullPath)" "$(OutDir)\"</Command> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">$(ProjectDir)\%(Filename)%(Extension);%(Outputs)</Outputs> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\..\test\testsprite2.c" /> | |||
<ClCompile Include="..\..\..\test\testutils.c" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="wingdk/MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="$(Console_GRDKExtLibRoot)Xbox.Services.API.C\DesignTime\CommonConfiguration\Neutral\Lib\Release\Microsoft.Xbox.Services.141.GDK.C.Thunks.dll"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\logos\Logo100x100.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo150x150.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo44x44.png" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo480x480.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="PackageLayout.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="xboxseries\MicrosoftGame.config"> | |||
<FileType>Document</FileType> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="xboxone\MicrosoftGame.config"> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild> | |||
</CopyFileToFolders> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\logos\SplashScreenImage.png" /> | |||
</ItemGroup> | |||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |||
<ImportGroup Label="ExtensionTargets"> | |||
</ImportGroup> | |||
</Project> |
@ -0,0 +1,52 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<ItemGroup> | |||
<ClCompile Include="..\..\..\test\testsprite2.c" /> | |||
<ClCompile Include="..\..\..\test\testutils.c" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<CopyFileToFolders Include="..\..\..\test\icon.bmp" /> | |||
<CopyFileToFolders Include="..\..\logos\Logo44x44.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo100x100.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo150x150.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\Logo480x480.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="$(Console_GRDKExtLibRoot)Xbox.Services.API.C\DesignTime\CommonConfiguration\Neutral\Lib\Release\Microsoft.Xbox.Services.141.GDK.C.Thunks.dll"> | |||
<Filter>wingdk</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="xboxseries\MicrosoftGame.config"> | |||
<Filter>xboxseries</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="xboxone\MicrosoftGame.config"> | |||
<Filter>xboxone</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="wingdk/MicrosoftGame.config"> | |||
<Filter>wingdk</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="..\..\logos\SplashScreenImage.png"> | |||
<Filter>logos</Filter> | |||
</CopyFileToFolders> | |||
<CopyFileToFolders Include="PackageLayout.xml" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Filter Include="logos"> | |||
<UniqueIdentifier>{c3c871f2-c7b7-4025-8ba4-037dde717fe1}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="wingdk"> | |||
<UniqueIdentifier>{c862dfc3-7803-4359-a31e-9dcda37e641a}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="xboxseries"> | |||
<UniqueIdentifier>{1671e83d-25b3-4eb5-bed0-5c52c80f4e49}</UniqueIdentifier> | |||
</Filter> | |||
<Filter Include="xboxone"> | |||
<UniqueIdentifier>{9bf62acf-6661-43f9-bde3-0de9e1db4290}</UniqueIdentifier> | |||
</Filter> | |||
</ItemGroup> | |||
</Project> |
@ -0,0 +1,34 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testsprite2.exe" | |||
TargetDeviceFamily="PC" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<DesktopRegistration> | |||
<DependencyList> | |||
<KnownDependency Name="VC14"/> | |||
</DependencyList> | |||
</DesktopRegistration> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testsprite2" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
Description="testsprite2" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testsprite2.exe" | |||
TargetDeviceFamily="XboxOne" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testsprite2" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
SplashScreenImage="SplashScreenImage.png" | |||
Description="testsprite2" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Game configVersion="1"> | |||
<!-- Set these to the correct identifiers from Partner Center --> | |||
<Identity Name="SDL" | |||
Version="1.0.0.0" | |||
Publisher="CN=Publisher"/> | |||
<ExecutableList> | |||
<Executable Name="testsprite2.exe" | |||
TargetDeviceFamily="Scarlett" | |||
Id="Game" /> | |||
</ExecutableList> | |||
<!-- Set these to the correct values from Partner Center --> | |||
<MSAAppId>PleaseChangeMe</MSAAppId> | |||
<TitleId>FFFFFFFF</TitleId> | |||
<ShellVisuals DefaultDisplayName="testsprite2" | |||
PublisherDisplayName="SDL" | |||
Square480x480Logo="Logo480x480.png" | |||
Square150x150Logo="Logo150x150.png" | |||
Square44x44Logo="Logo44x44.png" | |||
Description="testsprite2" | |||
SplashScreenImage="SplashScreenImage.png" | |||
ForegroundText="light" | |||
BackgroundColor="#000000" | |||
StoreLogo="Logo100x100.png"/> | |||
</Game> |
@ -0,0 +1,14 @@ | |||
// | |||
// config.xcconfig | |||
// SDL tests | |||
// | |||
// Configuration settings file format documentation can be found at: | |||
// https://help.apple.com/xcode/#/dev745c5c974 | |||
// Include any optional config for this build | |||
#include? "build.xcconfig" | |||
CONFIG_FRAMEWORK_LDFLAGS[sdk=macos*] = $(inherited) -framework SDL2 -framework AudioToolbox -framework Carbon -framework Cocoa -framework CoreAudio -framework CoreHaptics -framework CoreVideo -framework ForceFeedback -framework GameController -framework IOKit -framework Metal | |||
CONFIG_FRAMEWORK_LDFLAGS[sdk=iphone*] = $(inherited) -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework CoreMotion -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit | |||
CONFIG_FRAMEWORK_LDFLAGS[sdk=appletv*] = $(inherited) -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit |
@ -1,422 +0,0 @@ | |||
// !$*UTF8*$! | |||
{ | |||
archiveVersion = 1; | |||
classes = { | |||
}; | |||
objectVersion = 46; | |||
objects = { | |||
/* Begin PBXBuildFile section */ | |||
AA1EE462176059AB0029C7A5 /* SDL_test_common.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE454176059AB0029C7A5 /* SDL_test_common.c */; }; | |||
AA1EE463176059AB0029C7A5 /* SDL_test_compare.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE455176059AB0029C7A5 /* SDL_test_compare.c */; }; | |||
AA1EE464176059AB0029C7A5 /* SDL_test_crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE456176059AB0029C7A5 /* SDL_test_crc32.c */; }; | |||
AA1EE465176059AB0029C7A5 /* SDL_test_font.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE457176059AB0029C7A5 /* SDL_test_font.c */; }; | |||
AA1EE466176059AB0029C7A5 /* SDL_test_fuzzer.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE458176059AB0029C7A5 /* SDL_test_fuzzer.c */; }; | |||
AA1EE467176059AB0029C7A5 /* SDL_test_harness.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE459176059AB0029C7A5 /* SDL_test_harness.c */; }; | |||
AA1EE468176059AB0029C7A5 /* SDL_test_imageBlit.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45A176059AB0029C7A5 /* SDL_test_imageBlit.c */; }; | |||
AA1EE469176059AB0029C7A5 /* SDL_test_imageBlitBlend.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45B176059AB0029C7A5 /* SDL_test_imageBlitBlend.c */; }; | |||
AA1EE46A176059AB0029C7A5 /* SDL_test_imageFace.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45C176059AB0029C7A5 /* SDL_test_imageFace.c */; }; | |||
AA1EE46B176059AB0029C7A5 /* SDL_test_imagePrimitives.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45D176059AB0029C7A5 /* SDL_test_imagePrimitives.c */; }; | |||
AA1EE46C176059AB0029C7A5 /* SDL_test_imagePrimitivesBlend.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45E176059AB0029C7A5 /* SDL_test_imagePrimitivesBlend.c */; }; | |||
AA1EE46D176059AB0029C7A5 /* SDL_test_log.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45F176059AB0029C7A5 /* SDL_test_log.c */; }; | |||
AA1EE46E176059AB0029C7A5 /* SDL_test_md5.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE460176059AB0029C7A5 /* SDL_test_md5.c */; }; | |||
AA1EE46F176059AB0029C7A5 /* SDL_test_random.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE461176059AB0029C7A5 /* SDL_test_random.c */; }; | |||
AAF030011F9009B100B9A9FB /* SDL_test_memory.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF02FFF1F9009B100B9A9FB /* SDL_test_memory.c */; }; | |||
AAF030021F9009B100B9A9FB /* SDL_test_assert.c in Sources */ = {isa = PBXBuildFile; fileRef = AAF030001F9009B100B9A9FB /* SDL_test_assert.c */; }; | |||
FA3D99011BC4E5BC002C96C8 /* SDL_test_common.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE454176059AB0029C7A5 /* SDL_test_common.c */; }; | |||
FA3D99021BC4E5BC002C96C8 /* SDL_test_compare.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE455176059AB0029C7A5 /* SDL_test_compare.c */; }; | |||
FA3D99031BC4E5BC002C96C8 /* SDL_test_crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE456176059AB0029C7A5 /* SDL_test_crc32.c */; }; | |||
FA3D99041BC4E5BC002C96C8 /* SDL_test_font.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE457176059AB0029C7A5 /* SDL_test_font.c */; }; | |||
FA3D99051BC4E5BC002C96C8 /* SDL_test_fuzzer.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE458176059AB0029C7A5 /* SDL_test_fuzzer.c */; }; | |||
FA3D99061BC4E5BC002C96C8 /* SDL_test_harness.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE459176059AB0029C7A5 /* SDL_test_harness.c */; }; | |||
FA3D99071BC4E5BC002C96C8 /* SDL_test_imageBlit.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45A176059AB0029C7A5 /* SDL_test_imageBlit.c */; }; | |||
FA3D99081BC4E5BC002C96C8 /* SDL_test_imageBlitBlend.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45B176059AB0029C7A5 /* SDL_test_imageBlitBlend.c */; }; | |||
FA3D99091BC4E5BC002C96C8 /* SDL_test_imageFace.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45C176059AB0029C7A5 /* SDL_test_imageFace.c */; }; | |||
FA3D990A1BC4E5BC002C96C8 /* SDL_test_imagePrimitives.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45D176059AB0029C7A5 /* SDL_test_imagePrimitives.c */; }; | |||
FA3D990B1BC4E5BC002C96C8 /* SDL_test_imagePrimitivesBlend.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45E176059AB0029C7A5 /* SDL_test_imagePrimitivesBlend.c */; }; | |||
FA3D990C1BC4E5BC002C96C8 /* SDL_test_log.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE45F176059AB0029C7A5 /* SDL_test_log.c */; }; | |||
FA3D990D1BC4E5BC002C96C8 /* SDL_test_md5.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE460176059AB0029C7A5 /* SDL_test_md5.c */; }; | |||
FA3D990E1BC4E5BC002C96C8 /* SDL_test_random.c in Sources */ = {isa = PBXBuildFile; fileRef = AA1EE461176059AB0029C7A5 /* SDL_test_random.c */; }; | |||
/* End PBXBuildFile section */ | |||
/* Begin PBXCopyFilesBuildPhase section */ | |||
FA3D98F61BC4E5A2002C96C8 /* CopyFiles */ = { | |||
isa = PBXCopyFilesBuildPhase; | |||
buildActionMask = 2147483647; | |||
dstPath = "include/$(PRODUCT_NAME)"; | |||
dstSubfolderSpec = 16; | |||
files = ( | |||
); | |||
runOnlyForDeploymentPostprocessing = 0; | |||
}; | |||
/* End PBXCopyFilesBuildPhase section */ | |||
/* Begin PBXFileReference section */ | |||
AA1EE4461760589B0029C7A5 /* libSDL2test.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2test.a; sourceTree = BUILT_PRODUCTS_DIR; }; | |||
AA1EE454176059AB0029C7A5 /* SDL_test_common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_common.c; sourceTree = "<group>"; }; | |||
AA1EE455176059AB0029C7A5 /* SDL_test_compare.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_compare.c; sourceTree = "<group>"; }; | |||
AA1EE456176059AB0029C7A5 /* SDL_test_crc32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_crc32.c; sourceTree = "<group>"; }; | |||
AA1EE457176059AB0029C7A5 /* SDL_test_font.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_font.c; sourceTree = "<group>"; }; | |||
AA1EE458176059AB0029C7A5 /* SDL_test_fuzzer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_fuzzer.c; sourceTree = "<group>"; }; | |||
AA1EE459176059AB0029C7A5 /* SDL_test_harness.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_harness.c; sourceTree = "<group>"; }; | |||
AA1EE45A176059AB0029C7A5 /* SDL_test_imageBlit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_imageBlit.c; sourceTree = "<group>"; }; | |||
AA1EE45B176059AB0029C7A5 /* SDL_test_imageBlitBlend.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_imageBlitBlend.c; sourceTree = "<group>"; }; | |||
AA1EE45C176059AB0029C7A5 /* SDL_test_imageFace.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_imageFace.c; sourceTree = "<group>"; }; | |||
AA1EE45D176059AB0029C7A5 /* SDL_test_imagePrimitives.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_imagePrimitives.c; sourceTree = "<group>"; }; | |||
AA1EE45E176059AB0029C7A5 /* SDL_test_imagePrimitivesBlend.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_imagePrimitivesBlend.c; sourceTree = "<group>"; }; | |||
AA1EE45F176059AB0029C7A5 /* SDL_test_log.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_log.c; sourceTree = "<group>"; }; | |||
AA1EE460176059AB0029C7A5 /* SDL_test_md5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_md5.c; sourceTree = "<group>"; }; | |||
AA1EE461176059AB0029C7A5 /* SDL_test_random.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_random.c; sourceTree = "<group>"; }; | |||
AAF02FFF1F9009B100B9A9FB /* SDL_test_memory.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_memory.c; sourceTree = "<group>"; }; | |||
AAF030001F9009B100B9A9FB /* SDL_test_assert.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_test_assert.c; sourceTree = "<group>"; }; | |||
FA3D98F81BC4E5A2002C96C8 /* libSDL2test-TV.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libSDL2test-TV.a"; sourceTree = BUILT_PRODUCTS_DIR; }; | |||
/* End PBXFileReference section */ | |||
/* Begin PBXFrameworksBuildPhase section */ | |||
AA1EE4431760589B0029C7A5 /* Frameworks */ = { | |||
isa = PBXFrameworksBuildPhase; | |||
buildActionMask = 2147483647; | |||
files = ( | |||
); | |||
runOnlyForDeploymentPostprocessing = 0; | |||
}; | |||
FA3D98F51BC4E5A2002C96C8 /* Frameworks */ = { | |||
isa = PBXFrameworksBuildPhase; | |||
buildActionMask = 2147483647; | |||
files = ( | |||
); | |||
runOnlyForDeploymentPostprocessing = 0; | |||
}; | |||
/* End PBXFrameworksBuildPhase section */ | |||
/* Begin PBXGroup section */ | |||
AA1EE43D1760589B0029C7A5 = { | |||
isa = PBXGroup; | |||
children = ( | |||
AA1EE453176059770029C7A5 /* Library Source */, | |||
AA1EE4471760589B0029C7A5 /* Products */, | |||
); | |||
sourceTree = "<group>"; | |||
}; | |||
AA1EE4471760589B0029C7A5 /* Products */ = { | |||
isa = PBXGroup; | |||
children = ( | |||
AA1EE4461760589B0029C7A5 /* libSDL2test.a */, | |||
FA3D98F81BC4E5A2002C96C8 /* libSDL2test-TV.a */, | |||
); | |||
name = Products; | |||
sourceTree = "<group>"; | |||
}; | |||
AA1EE453176059770029C7A5 /* Library Source */ = { | |||
isa = PBXGroup; | |||
children = ( | |||
AAF030001F9009B100B9A9FB /* SDL_test_assert.c */, | |||
AA1EE454176059AB0029C7A5 /* SDL_test_common.c */, | |||
AA1EE455176059AB0029C7A5 /* SDL_test_compare.c */, | |||
AA1EE456176059AB0029C7A5 /* SDL_test_crc32.c */, | |||
AA1EE457176059AB0029C7A5 /* SDL_test_font.c */, | |||
AA1EE458176059AB0029C7A5 /* SDL_test_fuzzer.c */, | |||
AA1EE459176059AB0029C7A5 /* SDL_test_harness.c */, | |||
AA1EE45A176059AB0029C7A5 /* SDL_test_imageBlit.c */, | |||
AA1EE45B176059AB0029C7A5 /* SDL_test_imageBlitBlend.c */, | |||
AA1EE45C176059AB0029C7A5 /* SDL_test_imageFace.c */, | |||
AA1EE45D176059AB0029C7A5 /* SDL_test_imagePrimitives.c */, | |||
AA1EE45E176059AB0029C7A5 /* SDL_test_imagePrimitivesBlend.c */, | |||
AA1EE45F176059AB0029C7A5 /* SDL_test_log.c */, | |||
AA1EE460176059AB0029C7A5 /* SDL_test_md5.c */, | |||
AAF02FFF1F9009B100B9A9FB /* SDL_test_memory.c */, | |||
AA1EE461176059AB0029C7A5 /* SDL_test_random.c */, | |||
); | |||
name = "Library Source"; | |||
path = ../../src/test; | |||
sourceTree = "<group>"; | |||
}; | |||
/* End PBXGroup section */ | |||
/* Begin PBXHeadersBuildPhase section */ | |||
AA1EE4441760589B0029C7A5 /* Headers */ = { | |||
isa = PBXHeadersBuildPhase; | |||
buildActionMask = 2147483647; | |||
files = ( | |||
); | |||
runOnlyForDeploymentPostprocessing = 0; | |||
}; | |||
/* End PBXHeadersBuildPhase section */ | |||
/* Begin PBXNativeTarget section */ | |||
AA1EE4451760589B0029C7A5 /* SDL2test */ = { | |||
isa = PBXNativeTarget; | |||
buildConfigurationList = AA1EE44A1760589B0029C7A5 /* Build configuration list for PBXNativeTarget "SDL2test" */; | |||
buildPhases = ( | |||
AA1EE4421760589B0029C7A5 /* Sources */, | |||
AA1EE4431760589B0029C7A5 /* Frameworks */, | |||
AA1EE4441760589B0029C7A5 /* Headers */, | |||
); | |||
buildRules = ( | |||
); | |||
dependencies = ( | |||
); | |||
name = SDL2test; | |||
productName = SDL2test; | |||
productReference = AA1EE4461760589B0029C7A5 /* libSDL2test.a */; | |||
productType = "com.apple.product-type.library.static"; | |||
}; | |||
FA3D98F71BC4E5A2002C96C8 /* SDL2test-TV */ = { | |||
isa = PBXNativeTarget; | |||
buildConfigurationList = FA3D99001BC4E5A3002C96C8 /* Build configuration list for PBXNativeTarget "SDL2test-TV" */; | |||
buildPhases = ( | |||
FA3D98F41BC4E5A2002C96C8 /* Sources */, | |||
FA3D98F51BC4E5A2002C96C8 /* Frameworks */, | |||
FA3D98F61BC4E5A2002C96C8 /* CopyFiles */, | |||
); | |||
buildRules = ( | |||
); | |||
dependencies = ( | |||
); | |||
name = "SDL2test-TV"; | |||
productName = "SDL2test-TV"; | |||
productReference = FA3D98F81BC4E5A2002C96C8 /* libSDL2test-TV.a */; | |||
productType = "com.apple.product-type.library.static"; | |||
}; | |||
/* End PBXNativeTarget section */ | |||
/* Begin PBXProject section */ | |||
AA1EE43E1760589B0029C7A5 /* Project object */ = { | |||
isa = PBXProject; | |||
attributes = { | |||
LastUpgradeCheck = 0460; | |||
ORGANIZATIONNAME = "Sam Lantinga"; | |||
TargetAttributes = { | |||
FA3D98F71BC4E5A2002C96C8 = { | |||
CreatedOnToolsVersion = 7.1; | |||
}; | |||
}; | |||
}; | |||
buildConfigurationList = AA1EE4411760589B0029C7A5 /* Build configuration list for PBXProject "SDL2test" */; | |||
compatibilityVersion = "Xcode 3.2"; | |||
developmentRegion = English; | |||
hasScannedForEncodings = 0; | |||
knownRegions = ( | |||
en, | |||
); | |||
mainGroup = AA1EE43D1760589B0029C7A5; | |||
productRefGroup = AA1EE4471760589B0029C7A5 /* Products */; | |||
projectDirPath = ""; | |||
projectRoot = ""; | |||
targets = ( | |||
AA1EE4451760589B0029C7A5 /* SDL2test */, | |||
FA3D98F71BC4E5A2002C96C8 /* SDL2test-TV */, | |||
); | |||
}; | |||
/* End PBXProject section */ | |||
/* Begin PBXSourcesBuildPhase section */ | |||
AA1EE4421760589B0029C7A5 /* Sources */ = { | |||
isa = PBXSourcesBuildPhase; | |||
buildActionMask = 2147483647; | |||
files = ( | |||
AA1EE462176059AB0029C7A5 /* SDL_test_common.c in Sources */, | |||
AA1EE463176059AB0029C7A5 /* SDL_test_compare.c in Sources */, | |||
AA1EE464176059AB0029C7A5 /* SDL_test_crc32.c in Sources */, | |||
AA1EE465176059AB0029C7A5 /* SDL_test_font.c in Sources */, | |||
AA1EE466176059AB0029C7A5 /* SDL_test_fuzzer.c in Sources */, | |||
AAF030021F9009B100B9A9FB /* SDL_test_assert.c in Sources */, | |||
AA1EE467176059AB0029C7A5 /* SDL_test_harness.c in Sources */, | |||
AA1EE468176059AB0029C7A5 /* SDL_test_imageBlit.c in Sources */, | |||
AA1EE469176059AB0029C7A5 /* SDL_test_imageBlitBlend.c in Sources */, | |||
AA1EE46A176059AB0029C7A5 /* SDL_test_imageFace.c in Sources */, | |||
AA1EE46B176059AB0029C7A5 /* SDL_test_imagePrimitives.c in Sources */, | |||
AA1EE46C176059AB0029C7A5 /* SDL_test_imagePrimitivesBlend.c in Sources */, | |||
AAF030011F9009B100B9A9FB /* SDL_test_memory.c in Sources */, | |||
AA1EE46D176059AB0029C7A5 /* SDL_test_log.c in Sources */, | |||
AA1EE46E176059AB0029C7A5 /* SDL_test_md5.c in Sources */, | |||
AA1EE46F176059AB0029C7A5 /* SDL_test_random.c in Sources */, | |||
); | |||
runOnlyForDeploymentPostprocessing = 0; | |||
}; | |||
FA3D98F41BC4E5A2002C96C8 /* Sources */ = { | |||
isa = PBXSourcesBuildPhase; | |||
buildActionMask = 2147483647; | |||
files = ( | |||
FA3D99011BC4E5BC002C96C8 /* SDL_test_common.c in Sources */, | |||
FA3D99021BC4E5BC002C96C8 /* SDL_test_compare.c in Sources */, | |||
FA3D99031BC4E5BC002C96C8 /* SDL_test_crc32.c in Sources */, | |||
FA3D99041BC4E5BC002C96C8 /* SDL_test_font.c in Sources */, | |||
FA3D99051BC4E5BC002C96C8 /* SDL_test_fuzzer.c in Sources */, | |||
FA3D99061BC4E5BC002C96C8 /* SDL_test_harness.c in Sources */, | |||
FA3D99071BC4E5BC002C96C8 /* SDL_test_imageBlit.c in Sources */, | |||
FA3D99081BC4E5BC002C96C8 /* SDL_test_imageBlitBlend.c in Sources */, | |||
FA3D99091BC4E5BC002C96C8 /* SDL_test_imageFace.c in Sources */, | |||
FA3D990A1BC4E5BC002C96C8 /* SDL_test_imagePrimitives.c in Sources */, | |||
FA3D990B1BC4E5BC002C96C8 /* SDL_test_imagePrimitivesBlend.c in Sources */, | |||
FA3D990C1BC4E5BC002C96C8 /* SDL_test_log.c in Sources */, | |||
FA3D990D1BC4E5BC002C96C8 /* SDL_test_md5.c in Sources */, | |||
FA3D990E1BC4E5BC002C96C8 /* SDL_test_random.c in Sources */, | |||
); | |||
runOnlyForDeploymentPostprocessing = 0; | |||
}; | |||
/* End PBXSourcesBuildPhase section */ | |||
/* Begin XCBuildConfiguration section */ | |||
AA1EE4481760589B0029C7A5 /* Debug */ = { | |||
isa = XCBuildConfiguration; | |||
buildSettings = { | |||
ALWAYS_SEARCH_USER_PATHS = NO; | |||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | |||
CLANG_CXX_LIBRARY = "libc++"; | |||
CLANG_WARN_CONSTANT_CONVERSION = YES; | |||
CLANG_WARN_EMPTY_BODY = YES; | |||
CLANG_WARN_ENUM_CONVERSION = YES; | |||
CLANG_WARN_INT_CONVERSION = YES; | |||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | |||
COPY_PHASE_STRIP = NO; | |||
GCC_C_LANGUAGE_STANDARD = gnu99; | |||
GCC_DYNAMIC_NO_PIC = NO; | |||
GCC_ENABLE_OBJC_EXCEPTIONS = YES; | |||
GCC_OPTIMIZATION_LEVEL = 0; | |||
GCC_PREPROCESSOR_DEFINITIONS = ( | |||
"DEBUG=1", | |||
"$(inherited)", | |||
); | |||
GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | |||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | |||
GCC_WARN_UNINITIALIZED_AUTOS = YES; | |||
GCC_WARN_UNUSED_VARIABLE = YES; | |||
HEADER_SEARCH_PATHS = ../../include; | |||
MACOSX_DEPLOYMENT_TARGET = 10.8; | |||
ONLY_ACTIVE_ARCH = YES; | |||
SDKROOT = iphoneos; | |||
}; | |||
name = Debug; | |||
}; | |||
AA1EE4491760589B0029C7A5 /* Release */ = { | |||
isa = XCBuildConfiguration; | |||
buildSettings = { | |||
ALWAYS_SEARCH_USER_PATHS = NO; | |||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | |||
CLANG_CXX_LIBRARY = "libc++"; | |||
CLANG_WARN_CONSTANT_CONVERSION = YES; | |||
CLANG_WARN_EMPTY_BODY = YES; | |||
CLANG_WARN_ENUM_CONVERSION = YES; | |||
CLANG_WARN_INT_CONVERSION = YES; | |||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | |||
COPY_PHASE_STRIP = YES; | |||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | |||
GCC_C_LANGUAGE_STANDARD = gnu99; | |||
GCC_ENABLE_OBJC_EXCEPTIONS = YES; | |||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | |||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | |||
GCC_WARN_UNINITIALIZED_AUTOS = YES; | |||
GCC_WARN_UNUSED_VARIABLE = YES; | |||
HEADER_SEARCH_PATHS = ../../include; | |||
MACOSX_DEPLOYMENT_TARGET = 10.8; | |||
SDKROOT = iphoneos; | |||
}; | |||
name = Release; | |||
}; | |||
AA1EE44B1760589B0029C7A5 /* Debug */ = { | |||
isa = XCBuildConfiguration; | |||
buildSettings = { | |||
EXECUTABLE_PREFIX = lib; | |||
IPHONEOS_DEPLOYMENT_TARGET = 8.0; | |||
PRODUCT_NAME = "$(TARGET_NAME)"; | |||
}; | |||
name = Debug; | |||
}; | |||
AA1EE44C1760589B0029C7A5 /* Release */ = { | |||
isa = XCBuildConfiguration; | |||
buildSettings = { | |||
EXECUTABLE_PREFIX = lib; | |||
IPHONEOS_DEPLOYMENT_TARGET = 8.0; | |||
PRODUCT_NAME = "$(TARGET_NAME)"; | |||
}; | |||
name = Release; | |||
}; | |||
FA3D98FE1BC4E5A3002C96C8 /* Debug */ = { | |||
isa = XCBuildConfiguration; | |||
buildSettings = { | |||
CLANG_ENABLE_MODULES = YES; | |||
CLANG_ENABLE_OBJC_ARC = YES; | |||
CLANG_WARN_BOOL_CONVERSION = YES; | |||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | |||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | |||
CLANG_WARN_UNREACHABLE_CODE = YES; | |||
DEBUG_INFORMATION_FORMAT = dwarf; | |||
ENABLE_STRICT_OBJC_MSGSEND = YES; | |||
ENABLE_TESTABILITY = YES; | |||
GCC_NO_COMMON_BLOCKS = YES; | |||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | |||
GCC_WARN_UNDECLARED_SELECTOR = YES; | |||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |||
GCC_WARN_UNUSED_FUNCTION = YES; | |||
MTL_ENABLE_DEBUG_INFO = YES; | |||
OTHER_LDFLAGS = "-ObjC"; | |||
PRODUCT_NAME = "$(TARGET_NAME)"; | |||
SDKROOT = appletvos; | |||
SKIP_INSTALL = YES; | |||
TVOS_DEPLOYMENT_TARGET = 9.0; | |||
}; | |||
name = Debug; | |||
}; | |||
FA3D98FF1BC4E5A3002C96C8 /* Release */ = { | |||
isa = XCBuildConfiguration; | |||
buildSettings = { | |||
CLANG_ENABLE_MODULES = YES; | |||
CLANG_ENABLE_OBJC_ARC = YES; | |||
CLANG_WARN_BOOL_CONVERSION = YES; | |||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | |||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | |||
CLANG_WARN_UNREACHABLE_CODE = YES; | |||
COPY_PHASE_STRIP = NO; | |||
ENABLE_NS_ASSERTIONS = NO; | |||
ENABLE_STRICT_OBJC_MSGSEND = YES; | |||
GCC_NO_COMMON_BLOCKS = YES; | |||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | |||
GCC_WARN_UNDECLARED_SELECTOR = YES; | |||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |||
GCC_WARN_UNUSED_FUNCTION = YES; | |||
MTL_ENABLE_DEBUG_INFO = NO; | |||
OTHER_LDFLAGS = "-ObjC"; | |||
PRODUCT_NAME = "$(TARGET_NAME)"; | |||
SDKROOT = appletvos; | |||
SKIP_INSTALL = YES; | |||
TVOS_DEPLOYMENT_TARGET = 9.0; | |||
VALIDATE_PRODUCT = YES; | |||
}; | |||
name = Release; | |||
}; | |||
/* End XCBuildConfiguration section */ | |||
/* Begin XCConfigurationList section */ | |||
AA1EE4411760589B0029C7A5 /* Build configuration list for PBXProject "SDL2test" */ = { | |||
isa = XCConfigurationList; | |||
buildConfigurations = ( | |||
AA1EE4481760589B0029C7A5 /* Debug */, | |||
AA1EE4491760589B0029C7A5 /* Release */, | |||
); | |||
defaultConfigurationIsVisible = 0; | |||
defaultConfigurationName = Release; | |||
}; | |||
AA1EE44A1760589B0029C7A5 /* Build configuration list for PBXNativeTarget "SDL2test" */ = { | |||
isa = XCConfigurationList; | |||
buildConfigurations = ( | |||
AA1EE44B1760589B0029C7A5 /* Debug */, | |||
AA1EE44C1760589B0029C7A5 /* Release */, | |||
); | |||
defaultConfigurationIsVisible = 0; | |||
defaultConfigurationName = Release; | |||
}; | |||
FA3D99001BC4E5A3002C96C8 /* Build configuration list for PBXNativeTarget "SDL2test-TV" */ = { | |||
isa = XCConfigurationList; | |||
buildConfigurations = ( | |||
FA3D98FE1BC4E5A3002C96C8 /* Debug */, | |||
FA3D98FF1BC4E5A3002C96C8 /* Release */, | |||
); | |||
defaultConfigurationIsVisible = 0; | |||
defaultConfigurationName = Release; | |||
}; | |||
/* End XCConfigurationList section */ | |||
}; | |||
rootObject = AA1EE43E1760589B0029C7A5 /* Project object */; | |||
} |
@ -1,34 +0,0 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |||
<plist version="1.0"> | |||
<dict> | |||
<key>CFBundleDevelopmentRegion</key> | |||
<string>en</string> | |||
<key>CFBundleDisplayName</key> | |||
<string>${PRODUCT_NAME}</string> | |||
<key>CFBundleExecutable</key> | |||
<string>${EXECUTABLE_NAME}</string> | |||
<key>CFBundleIconFile</key> | |||
<string></string> | |||
<key>CFBundleIdentifier</key> | |||
<string>com.yourcompany.${PRODUCT_NAME}</string> | |||
<key>CFBundleInfoDictionaryVersion</key> | |||
<string>6.0</string> | |||
<key>CFBundleName</key> | |||
<string>${PRODUCT_NAME}</string> | |||
<key>CFBundlePackageType</key> | |||
<string>APPL</string> | |||
<key>CFBundleShortVersionString</key> | |||
<string>1.0</string> | |||
<key>CFBundleSignature</key> | |||
<string>????</string> | |||
<key>CFBundleVersion</key> | |||
<string>1.0</string> | |||
<key>UIApplicationSupportsIndirectInputEvents</key> | |||
<true/> | |||
<key>NSBluetoothAlwaysUsageDescription</key> | |||
<string>Steam Link would like to use Bluetooth controllers for input.</string> | |||
<key>NSBluetoothPeripheralUsageDescription</key> | |||
<string>Steam Link would like to use Bluetooth controllers for input.</string> | |||
</dict> | |||
</plist> |
@ -1,11 +0,0 @@ | |||
TestiPhoneOS.xcodeproj contains targets to compile many of the SDL test programs for iPhone OS. Most of these test programs work fine, with the following exceptions: | |||
testthread: | |||
SIGTERM kills the process immediately without executing the 'kill' function. The posix standard says this shouldn't happen. Apple seems intent on having iPhone apps exit promptly when the user requests it, so maybe that's why(?) | |||
testlock: | |||
Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT. | |||
testsprite2: | |||
SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR. | |||
@ -0,0 +1,67 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<Scheme | |||
LastUpgradeVersion = "1240" | |||
version = "1.3"> | |||
<BuildAction | |||
parallelizeBuildables = "YES" | |||
buildImplicitDependencies = "YES"> | |||
<BuildActionEntries> | |||
<BuildActionEntry | |||
buildForTesting = "YES" | |||
buildForRunning = "YES" | |||
buildForProfiling = "YES" | |||
buildForArchiving = "YES" | |||
buildForAnalyzing = "YES"> | |||
<BuildableReference | |||
BuildableIdentifier = "primary" | |||
BlueprintIdentifier = "A7D88A1423E2437C00DCD162" | |||
BuildableName = "SDL2.framework" | |||
BlueprintName = "Framework-iOS" | |||
ReferencedContainer = "container:SDL.xcodeproj"> | |||
</BuildableReference> | |||
</BuildActionEntry> | |||
</BuildActionEntries> | |||
</BuildAction> | |||
<TestAction | |||
buildConfiguration = "Debug" | |||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | |||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | |||
shouldUseLaunchSchemeArgsEnv = "YES"> | |||
<Testables> | |||
</Testables> | |||
</TestAction> | |||
<LaunchAction | |||
buildConfiguration = "Debug" | |||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | |||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | |||
launchStyle = "0" | |||
useCustomWorkingDirectory = "NO" | |||
ignoresPersistentStateOnLaunch = "NO" | |||
debugDocumentVersioning = "YES" | |||
debugServiceExtension = "internal" | |||
allowLocationSimulation = "YES"> | |||
</LaunchAction> | |||
<ProfileAction | |||
buildConfiguration = "Release" | |||
shouldUseLaunchSchemeArgsEnv = "YES" | |||
savedToolIdentifier = "" | |||
useCustomWorkingDirectory = "NO" | |||
debugDocumentVersioning = "YES"> | |||
<MacroExpansion> | |||
<BuildableReference | |||
BuildableIdentifier = "primary" | |||
BlueprintIdentifier = "A7D88A1423E2437C00DCD162" | |||
BuildableName = "SDL2.framework" | |||
BlueprintName = "Framework-iOS" | |||
ReferencedContainer = "container:SDL.xcodeproj"> | |||
</BuildableReference> | |||
</MacroExpansion> | |||
</ProfileAction> | |||
<AnalyzeAction | |||
buildConfiguration = "Debug"> | |||
</AnalyzeAction> | |||
<ArchiveAction | |||
buildConfiguration = "Release" | |||
revealArchiveInOrganizer = "YES"> | |||
</ArchiveAction> | |||
</Scheme> |
@ -0,0 +1,67 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<Scheme | |||
LastUpgradeVersion = "1240" | |||
version = "1.3"> | |||
<BuildAction | |||
parallelizeBuildables = "YES" | |||
buildImplicitDependencies = "YES"> | |||
<BuildActionEntries> | |||
<BuildActionEntry | |||
buildForTesting = "YES" | |||
buildForRunning = "YES" | |||
buildForProfiling = "YES" | |||
buildForArchiving = "YES" | |||
buildForAnalyzing = "YES"> | |||
<BuildableReference | |||
BuildableIdentifier = "primary" | |||
BlueprintIdentifier = "E2D187CE28A5673500D2B4F1" | |||
BuildableName = "SDL2.framework" | |||
BlueprintName = "xcFramework-iOS" | |||
ReferencedContainer = "container:SDL.xcodeproj"> | |||
</BuildableReference> | |||
</BuildActionEntry> | |||
</BuildActionEntries> | |||
</BuildAction> | |||
<TestAction | |||
buildConfiguration = "Debug" | |||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | |||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | |||
shouldUseLaunchSchemeArgsEnv = "YES"> | |||
<Testables> | |||
</Testables> | |||
</TestAction> | |||
<LaunchAction | |||
buildConfiguration = "Debug" | |||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | |||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | |||
launchStyle = "0" | |||
useCustomWorkingDirectory = "NO" | |||
ignoresPersistentStateOnLaunch = "NO" | |||
debugDocumentVersioning = "YES" | |||
debugServiceExtension = "internal" | |||
allowLocationSimulation = "YES"> | |||
</LaunchAction> | |||
<ProfileAction | |||
buildConfiguration = "Release" | |||
shouldUseLaunchSchemeArgsEnv = "YES" | |||
savedToolIdentifier = "" | |||
useCustomWorkingDirectory = "NO" | |||
debugDocumentVersioning = "YES"> | |||
<MacroExpansion> | |||
<BuildableReference | |||
BuildableIdentifier = "primary" | |||
BlueprintIdentifier = "E2D187CE28A5673500D2B4F1" | |||
BuildableName = "SDL2.framework" | |||
BlueprintName = "xcFramework-iOS" | |||
ReferencedContainer = "container:SDL.xcodeproj"> | |||
</BuildableReference> | |||
</MacroExpansion> | |||
</ProfileAction> | |||
<AnalyzeAction | |||
buildConfiguration = "Debug"> | |||
</AnalyzeAction> | |||
<ArchiveAction | |||
buildConfiguration = "Release" | |||
revealArchiveInOrganizer = "YES"> | |||
</ArchiveAction> | |||
</Scheme> |
@ -0,0 +1,14 @@ | |||
// | |||
// config.xcconfig | |||
// SDL tests | |||
// | |||
// Configuration settings file format documentation can be found at: | |||
// https://help.apple.com/xcode/#/dev745c5c974 | |||
// Include any optional config for this build | |||
#include? "build.xcconfig" | |||
CONFIG_FRAMEWORK_LDFLAGS[sdk=macos*] = $(inherited) -framework SDL2 -framework AudioToolbox -framework Carbon -framework Cocoa -framework CoreAudio -framework CoreHaptics -framework CoreVideo -framework ForceFeedback -framework GameController -framework IOKit -framework Metal | |||
CONFIG_FRAMEWORK_LDFLAGS[sdk=iphone*] = $(inherited) -framework SDL2 -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework CoreMotion -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit | |||
CONFIG_FRAMEWORK_LDFLAGS[sdk=appletv*] = $(inherited) -framework SDL2 -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit |
@ -0,0 +1,173 @@ | |||
# ============================================================================== | |||
# https://www.gnu.org/software/autoconf-archive/ax_compute_relative_paths.html | |||
# ============================================================================== | |||
# | |||
# SYNOPSIS | |||
# | |||
# AX_COMPUTE_RELATIVE_PATHS(PATH_LIST) | |||
# | |||
# DESCRIPTION | |||
# | |||
# PATH_LIST is a space-separated list of colon-separated triplets of the | |||
# form 'FROM:TO:RESULT'. This function iterates over these triplets and | |||
# set $RESULT to the relative path from $FROM to $TO. Note that $FROM and | |||
# $TO needs to be absolute filenames for this macro to success. | |||
# | |||
# For instance, | |||
# | |||
# first=/usr/local/bin | |||
# second=/usr/local/share | |||
# AX_COMPUTE_RELATIVE_PATHS([first:second:fs second:first:sf]) | |||
# # $fs is set to ../share | |||
# # $sf is set to ../bin | |||
# | |||
# $FROM and $TO are both eval'ed recursively and normalized, this means | |||
# that you can call this macro with autoconf's dirnames like `prefix' or | |||
# `datadir'. For example: | |||
# | |||
# AX_COMPUTE_RELATIVE_PATHS([bindir:datadir:bin_to_data]) | |||
# | |||
# AX_COMPUTE_RELATIVE_PATHS should also works with DOS filenames. | |||
# | |||
# You may want to use this macro in order to make your package | |||
# relocatable. Instead of hardcoding $datadir into your programs just | |||
# encode $bin_to_data and try to determine $bindir at run-time. | |||
# | |||
# This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL. | |||
# | |||
# LICENSE | |||
# | |||
# Copyright (c) 2008 Alexandre Duret-Lutz <adl@gnu.org> | |||
# | |||
# This program is free software; you can redistribute it and/or modify it | |||
# under the terms of the GNU General Public License as published by the | |||
# Free Software Foundation; either version 2 of the License, or (at your | |||
# option) any later version. | |||
# | |||
# This program is distributed in the hope that it will be useful, but | |||
# WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | |||
# Public License for more details. | |||
# | |||
# You should have received a copy of the GNU General Public License along | |||
# with this program. If not, see <https://www.gnu.org/licenses/>. | |||
# | |||
# As a special exception, the respective Autoconf Macro's copyright owner | |||
# gives unlimited permission to copy, distribute and modify the configure | |||
# scripts that are the output of Autoconf when processing the Macro. You | |||
# need not follow the terms of the GNU General Public License when using | |||
# or distributing such scripts, even though portions of the text of the | |||
# Macro appear in them. The GNU General Public License (GPL) does govern | |||
# all other use of the material that constitutes the Autoconf Macro. | |||
# | |||
# This special exception to the GPL applies to versions of the Autoconf | |||
# Macro released by the Autoconf Archive. When you make and distribute a | |||
# modified version of the Autoconf Macro, you may extend this special | |||
# exception to the GPL to apply to your modified version as well. | |||
#serial 12 | |||
AU_ALIAS([ADL_COMPUTE_RELATIVE_PATHS], [AX_COMPUTE_RELATIVE_PATHS]) | |||
AC_DEFUN([AX_COMPUTE_RELATIVE_PATHS], | |||
[for _lcl_i in $1; do | |||
_lcl_from=\[$]`echo "[$]_lcl_i" | sed 's,:.*$,,'` | |||
_lcl_to=\[$]`echo "[$]_lcl_i" | sed 's,^[[^:]]*:,,' | sed 's,:[[^:]]*$,,'` | |||
_lcl_result_var=`echo "[$]_lcl_i" | sed 's,^.*:,,'` | |||
AX_RECURSIVE_EVAL([[$]_lcl_from], [_lcl_from]) | |||
AX_RECURSIVE_EVAL([[$]_lcl_to], [_lcl_to]) | |||
_lcl_notation="$_lcl_from$_lcl_to" | |||
AX_NORMALIZE_PATH([_lcl_from],['/']) | |||
AX_NORMALIZE_PATH([_lcl_to],['/']) | |||
AX_COMPUTE_RELATIVE_PATH([_lcl_from], [_lcl_to], [_lcl_result_tmp]) | |||
AX_NORMALIZE_PATH([_lcl_result_tmp],["[$]_lcl_notation"]) | |||
eval $_lcl_result_var='[$]_lcl_result_tmp' | |||
done]) | |||
## Note: | |||
## ***** | |||
## The following helper macros are too fragile to be used out | |||
## of AX_COMPUTE_RELATIVE_PATHS (mainly because they assume that | |||
## paths are normalized), that's why I'm keeping them in the same file. | |||
## Still, some of them maybe worth to reuse. | |||
dnl AX_COMPUTE_RELATIVE_PATH(FROM, TO, RESULT) | |||
dnl =========================================== | |||
dnl Compute the relative path to go from $FROM to $TO and set the value | |||
dnl of $RESULT to that value. This function work on raw filenames | |||
dnl (for instead it will considerate /usr//local and /usr/local as | |||
dnl two distinct paths), you should really use AX_COMPUTE_RELATIVE_PATHS | |||
dnl instead to have the paths sanitized automatically. | |||
dnl | |||
dnl For instance: | |||
dnl first_dir=/somewhere/on/my/disk/bin | |||
dnl second_dir=/somewhere/on/another/disk/share | |||
dnl AX_COMPUTE_RELATIVE_PATH(first_dir, second_dir, first_to_second) | |||
dnl will set $first_to_second to '../../../another/disk/share'. | |||
AC_DEFUN([AX_COMPUTE_RELATIVE_PATH], | |||
[AX_COMPUTE_COMMON_PATH([$1], [$2], [_lcl_common_prefix]) | |||
AX_COMPUTE_BACK_PATH([$1], [_lcl_common_prefix], [_lcl_first_rel]) | |||
AX_COMPUTE_SUFFIX_PATH([$2], [_lcl_common_prefix], [_lcl_second_suffix]) | |||
$3="[$]_lcl_first_rel[$]_lcl_second_suffix"]) | |||
dnl AX_COMPUTE_COMMON_PATH(LEFT, RIGHT, RESULT) | |||
dnl ============================================ | |||
dnl Compute the common path to $LEFT and $RIGHT and set the result to $RESULT. | |||
dnl | |||
dnl For instance: | |||
dnl first_path=/somewhere/on/my/disk/bin | |||
dnl second_path=/somewhere/on/another/disk/share | |||
dnl AX_COMPUTE_COMMON_PATH(first_path, second_path, common_path) | |||
dnl will set $common_path to '/somewhere/on'. | |||
AC_DEFUN([AX_COMPUTE_COMMON_PATH], | |||
[$3='' | |||
_lcl_second_prefix_match='' | |||
while test "[$]_lcl_second_prefix_match" != 0; do | |||
_lcl_first_prefix=`expr "x[$]$1" : "x\([$]$3/*[[^/]]*\)"` | |||
_lcl_second_prefix_match=`expr "x[$]$2" : "x[$]_lcl_first_prefix"` | |||
if test "[$]_lcl_second_prefix_match" != 0; then | |||
if test "[$]_lcl_first_prefix" != "[$]$3"; then | |||
$3="[$]_lcl_first_prefix" | |||
else | |||
_lcl_second_prefix_match=0 | |||
fi | |||
fi | |||
done]) | |||
dnl AX_COMPUTE_SUFFIX_PATH(PATH, SUBPATH, RESULT) | |||
dnl ============================================== | |||
dnl Subtract $SUBPATH from $PATH, and set the resulting suffix | |||
dnl (or the empty string if $SUBPATH is not a subpath of $PATH) | |||
dnl to $RESULT. | |||
dnl | |||
dnl For instance: | |||
dnl first_path=/somewhere/on/my/disk/bin | |||
dnl second_path=/somewhere/on | |||
dnl AX_COMPUTE_SUFFIX_PATH(first_path, second_path, common_path) | |||
dnl will set $common_path to '/my/disk/bin'. | |||
AC_DEFUN([AX_COMPUTE_SUFFIX_PATH], | |||
[$3=`expr "x[$]$1" : "x[$]$2/*\(.*\)"`]) | |||
dnl AX_COMPUTE_BACK_PATH(PATH, SUBPATH, RESULT) | |||
dnl ============================================ | |||
dnl Compute the relative path to go from $PATH to $SUBPATH, knowing that | |||
dnl $SUBPATH is a subpath of $PATH (any other words, only repeated '../' | |||
dnl should be needed to move from $PATH to $SUBPATH) and set the value | |||
dnl of $RESULT to that value. If $SUBPATH is not a subpath of PATH, | |||
dnl set $RESULT to the empty string. | |||
dnl | |||
dnl For instance: | |||
dnl first_path=/somewhere/on/my/disk/bin | |||
dnl second_path=/somewhere/on | |||
dnl AX_COMPUTE_BACK_PATH(first_path, second_path, back_path) | |||
dnl will set $back_path to '../../../'. | |||
AC_DEFUN([AX_COMPUTE_BACK_PATH], | |||
[AX_COMPUTE_SUFFIX_PATH([$1], [$2], [_lcl_first_suffix]) | |||
$3='' | |||
_lcl_tmp='xxx' | |||
while test "[$]_lcl_tmp" != ''; do | |||
_lcl_tmp=`expr "x[$]_lcl_first_suffix" : "x[[^/]]*/*\(.*\)"` | |||
if test "[$]_lcl_first_suffix" != ''; then | |||
_lcl_first_suffix="[$]_lcl_tmp" | |||
$3="../[$]$3" | |||
fi | |||
done]) |
@ -0,0 +1,115 @@ | |||
# =========================================================================== | |||
# https://www.gnu.org/software/autoconf-archive/ax_normalize_path.html | |||
# =========================================================================== | |||
# | |||
# SYNOPSIS | |||
# | |||
# AX_NORMALIZE_PATH(VARNAME, [REFERENCE_STRING]) | |||
# | |||
# DESCRIPTION | |||
# | |||
# Perform some cleanups on the value of $VARNAME (interpreted as a path): | |||
# | |||
# - empty paths are changed to '.' | |||
# - trailing slashes are removed | |||
# - repeated slashes are squeezed except a leading doubled slash '//' | |||
# (which might indicate a networked disk on some OS). | |||
# | |||
# REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if | |||
# REFERENCE_STRING contains some backslashes, all slashes and backslashes | |||
# are turned into backslashes, otherwise they are all turned into slashes. | |||
# | |||
# This makes processing of DOS filenames quite easier, because you can | |||
# turn a filename to the Unix notation, make your processing, and turn it | |||
# back to original notation. | |||
# | |||
# filename='A:\FOO\\BAR\' | |||
# old_filename="$filename" | |||
# # Switch to the unix notation | |||
# AX_NORMALIZE_PATH([filename], ["/"]) | |||
# # now we have $filename = 'A:/FOO/BAR' and we can process it as if | |||
# # it was a Unix path. For instance let's say that you want | |||
# # to append '/subpath': | |||
# filename="$filename/subpath" | |||
# # finally switch back to the original notation | |||
# AX_NORMALIZE_PATH([filename], ["$old_filename"]) | |||
# # now $filename equals to 'A:\FOO\BAR\subpath' | |||
# | |||
# One good reason to make all path processing with the unix convention is | |||
# that backslashes have a special meaning in many cases. For instance | |||
# | |||
# expr 'A:\FOO' : 'A:\Foo' | |||
# | |||
# will return 0 because the second argument is a regex in which | |||
# backslashes have to be backslashed. In other words, to have the two | |||
# strings to match you should write this instead: | |||
# | |||
# expr 'A:\Foo' : 'A:\\Foo' | |||
# | |||
# Such behavior makes DOS filenames extremely unpleasant to work with. So | |||
# temporary turn your paths to the Unix notation, and revert them to the | |||
# original notation after the processing. See the macro | |||
# AX_COMPUTE_RELATIVE_PATHS for a concrete example of this. | |||
# | |||
# REFERENCE_STRING defaults to $VARIABLE, this means that slashes will be | |||
# converted to backslashes if $VARIABLE already contains some backslashes | |||
# (see $thirddir below). | |||
# | |||
# firstdir='/usr/local//share' | |||
# seconddir='C:\Program Files\\' | |||
# thirddir='C:\home/usr/' | |||
# AX_NORMALIZE_PATH([firstdir]) | |||
# AX_NORMALIZE_PATH([seconddir]) | |||
# AX_NORMALIZE_PATH([thirddir]) | |||
# # $firstdir = '/usr/local/share' | |||
# # $seconddir = 'C:\Program Files' | |||
# # $thirddir = 'C:\home\usr' | |||
# | |||
# LICENSE | |||
# | |||
# Copyright (c) 2008 Alexandre Duret-Lutz <adl@gnu.org> | |||
# | |||
# This program is free software; you can redistribute it and/or modify it | |||
# under the terms of the GNU General Public License as published by the | |||
# Free Software Foundation; either version 2 of the License, or (at your | |||
# option) any later version. | |||
# | |||
# This program is distributed in the hope that it will be useful, but | |||
# WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | |||
# Public License for more details. | |||
# | |||
# You should have received a copy of the GNU General Public License along | |||
# with this program. If not, see <https://www.gnu.org/licenses/>. | |||
# | |||
# As a special exception, the respective Autoconf Macro's copyright owner | |||
# gives unlimited permission to copy, distribute and modify the configure | |||
# scripts that are the output of Autoconf when processing the Macro. You | |||
# need not follow the terms of the GNU General Public License when using | |||
# or distributing such scripts, even though portions of the text of the | |||
# Macro appear in them. The GNU General Public License (GPL) does govern | |||
# all other use of the material that constitutes the Autoconf Macro. | |||
# | |||
# This special exception to the GPL applies to versions of the Autoconf | |||
# Macro released by the Autoconf Archive. When you make and distribute a | |||
# modified version of the Autoconf Macro, you may extend this special | |||
# exception to the GPL to apply to your modified version as well. | |||
#serial 8 | |||
AU_ALIAS([ADL_NORMALIZE_PATH], [AX_NORMALIZE_PATH]) | |||
AC_DEFUN([AX_NORMALIZE_PATH], | |||
[case ":[$]$1:" in | |||
# change empty paths to '.' | |||
::) $1='.' ;; | |||
# strip trailing slashes | |||
:*[[\\/]]:) $1=`echo "[$]$1" | sed 's,[[\\/]]*[$],,'` ;; | |||
:*:) ;; | |||
esac | |||
# squeeze repeated slashes | |||
case ifelse($2,,"[$]$1",$2) in | |||
# if the path contains any backslashes, turn slashes into backslashes | |||
*\\*) $1=`echo "[$]$1" | sed 's,\(.\)[[\\/]][[\\/]]*,\1\\\\,g'` ;; | |||
# if the path contains slashes, also turn backslashes into slashes | |||
*) $1=`echo "[$]$1" | sed 's,\(.\)[[\\/]][[\\/]]*,\1/,g'` ;; | |||
esac]) |
@ -0,0 +1,56 @@ | |||
# =========================================================================== | |||
# https://www.gnu.org/software/autoconf-archive/ax_recursive_eval.html | |||
# =========================================================================== | |||
# | |||
# SYNOPSIS | |||
# | |||
# AX_RECURSIVE_EVAL(VALUE, RESULT) | |||
# | |||
# DESCRIPTION | |||
# | |||
# Interpolate the VALUE in loop until it doesn't change, and set the | |||
# result to $RESULT. WARNING: It's easy to get an infinite loop with some | |||
# unsane input. | |||
# | |||
# LICENSE | |||
# | |||
# Copyright (c) 2008 Alexandre Duret-Lutz <adl@gnu.org> | |||
# | |||
# This program is free software; you can redistribute it and/or modify it | |||
# under the terms of the GNU General Public License as published by the | |||
# Free Software Foundation; either version 2 of the License, or (at your | |||
# option) any later version. | |||
# | |||
# This program is distributed in the hope that it will be useful, but | |||
# WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | |||
# Public License for more details. | |||
# | |||
# You should have received a copy of the GNU General Public License along | |||
# with this program. If not, see <https://www.gnu.org/licenses/>. | |||
# | |||
# As a special exception, the respective Autoconf Macro's copyright owner | |||
# gives unlimited permission to copy, distribute and modify the configure | |||
# scripts that are the output of Autoconf when processing the Macro. You | |||
# need not follow the terms of the GNU General Public License when using | |||
# or distributing such scripts, even though portions of the text of the | |||
# Macro appear in them. The GNU General Public License (GPL) does govern | |||
# all other use of the material that constitutes the Autoconf Macro. | |||
# | |||
# This special exception to the GPL applies to versions of the Autoconf | |||
# Macro released by the Autoconf Archive. When you make and distribute a | |||
# modified version of the Autoconf Macro, you may extend this special | |||
# exception to the GPL to apply to your modified version as well. | |||
#serial 1 | |||
AC_DEFUN([AX_RECURSIVE_EVAL], | |||
[_lcl_receval="$1" | |||
$2=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix" | |||
test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" | |||
_lcl_receval_old='' | |||
while test "[$]_lcl_receval_old" != "[$]_lcl_receval"; do | |||
_lcl_receval_old="[$]_lcl_receval" | |||
eval _lcl_receval="\"[$]_lcl_receval\"" | |||
done | |||
echo "[$]_lcl_receval")`]) |
@ -0,0 +1 @@ | |||
../android-project/app/src/main/AndroidManifest.xml |
@ -0,0 +1,17 @@ | |||
# This file is used to override default values used by the Ant build system. | |||
# | |||
# This file must be checked into Version Control Systems, as it is | |||
# integral to the build system of your project. | |||
# This file is only used by the Ant script. | |||
# You can use this to override default values such as | |||
# 'source.dir' for the location of your java source folder and | |||
# 'out.dir' for the location of your output folder. | |||
# You can also use it define how the release builds are signed by declaring | |||
# the following properties: | |||
# 'key.store' for the location of your keystore and | |||
# 'key.alias' for the name of the key to use. | |||
# The password will be asked during the build when you use the 'release' target. | |||
@ -0,0 +1,17 @@ | |||
# This file is used to override default values used by the Ant build system. | |||
# | |||
# This file must be checked in Version Control Systems, as it is | |||
# integral to the build system of your project. | |||
# This file is only used by the Ant script. | |||
# You can use this to override default values such as | |||
# 'source.dir' for the location of your java source folder and | |||
# 'out.dir' for the location of your output folder. | |||
# You can also use it define how the release builds are signed by declaring | |||
# the following properties: | |||
# 'key.store' for the location of your keystore and | |||
# 'key.alias' for the name of the key to use. | |||
# The password will be asked during the build when you use the 'release' target. | |||
@ -0,0 +1,93 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!-- This should be changed to the name of your project --> | |||
<project name="SDLActivity" default="help"> | |||
<!-- The local.properties file is created and updated by the 'android' tool. | |||
It contains the path to the SDK. It should *NOT* be checked into | |||
Version Control Systems. --> | |||
<property file="local.properties" /> | |||
<!-- The ant.properties file can be created by you. It is only edited by the | |||
'android' tool to add properties to it. | |||
This is the place to change some Ant specific build properties. | |||
Here are some properties you may want to change/update: | |||
source.dir | |||
The name of the source directory. Default is 'src'. | |||
out.dir | |||
The name of the output directory. Default is 'bin'. | |||
For other overridable properties, look at the beginning of the rules | |||
files in the SDK, at tools/ant/build.xml | |||
Properties related to the SDK location or the project target should | |||
be updated using the 'android' tool with the 'update' action. | |||
This file is an integral part of the build system for your | |||
application and should be checked into Version Control Systems. | |||
--> | |||
<property file="ant.properties" /> | |||
<!-- if sdk.dir was not set from one of the property file, then | |||
get it from the ANDROID_HOME env var. | |||
This must be done before we load project.properties since | |||
the proguard config can use sdk.dir --> | |||
<property environment="env" /> | |||
<condition property="sdk.dir" value="${env.ANDROID_HOME}"> | |||
<isset property="env.ANDROID_HOME" /> | |||
</condition> | |||
<!-- The project.properties file is created and updated by the 'android' | |||
tool, as well as ADT. | |||
This contains project specific properties such as project target, and library | |||
dependencies. Lower level build properties are stored in ant.properties | |||
(or in .classpath for Eclipse projects). | |||
This file is an integral part of the build system for your | |||
application and should be checked into Version Control Systems. --> | |||
<loadproperties srcFile="project.properties" /> | |||
<!-- quick check on sdk.dir --> | |||
<fail | |||
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable." | |||
unless="sdk.dir" | |||
/> | |||
<!-- | |||
Import per project custom build rules if present at the root of the project. | |||
This is the place to put custom intermediary targets such as: | |||
-pre-build | |||
-pre-compile | |||
-post-compile (This is typically used for code obfuscation. | |||
Compiled code location: ${out.classes.absolute.dir} | |||
If this is not done in place, override ${out.dex.input.absolute.dir}) | |||
-post-package | |||
-post-build | |||
-pre-clean | |||
--> | |||
<import file="custom_rules.xml" optional="true" /> | |||
<!-- Import the actual build file. | |||
To customize existing targets, there are two options: | |||
- Customize only one target: | |||
- copy/paste the target into this file, *before* the | |||
<import> task. | |||
- customize it to your needs. | |||
- Customize the whole content of build.xml | |||
- copy/paste the content of the rules files (minus the top node) | |||
into this file, replacing the <import> task. | |||
- customize to your needs. | |||
*********************** | |||
****** IMPORTANT ****** | |||
*********************** | |||
In all cases you must update the value of version-tag below to read 'custom' instead of an integer, | |||
in order to avoid having your file be overridden by tools such as "android update project" | |||
--> | |||
<!-- version-tag: 1 --> | |||
<import file="${sdk.dir}/tools/ant/build.xml" /> | |||
</project> |
@ -0,0 +1,11 @@ | |||
# This file is automatically generated by Android Tools. | |||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | |||
# | |||
# This file must be checked in Version Control Systems. | |||
# | |||
# To customize properties used by the Ant build system use, | |||
# "build.properties", and override values to adapt the script to your | |||
# project structure. | |||
# Project target. | |||
target=android-16 |