build fix

This commit is contained in:
2025-02-07 16:21:42 +08:00
parent ef0a1f5d91
commit bc3c5a8f9d
387 changed files with 5651 additions and 27 deletions

22
.ci/android.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash -ex
export NDK_CCACHE=$(which ccache)
[ "$GITHUB_REPOSITORY" = "citra-emu/citra-canary" ] &&
BUILD_FLAVOR=canary ||
BUILD_FLAVOR=nightly
if [ ! -z "${ANDROID_KEYSTORE_B64}" ]; then
export ANDROID_KEYSTORE_FILE="${GITHUB_WORKSPACE}/ks.jks"
base64 --decode <<< "${ANDROID_KEYSTORE_B64}" > "${ANDROID_KEYSTORE_FILE}"
fi
cd src/android
chmod +x ./gradlew
./gradlew assemble${BUILD_FLAVOR}Release
./gradlew bundle${BUILD_FLAVOR}Release
ccache -s -v
if [ ! -z "${ANDROID_KEYSTORE_B64}" ]; then
rm "${ANDROID_KEYSTORE_FILE}"
fi

37
.ci/clang-format.sh Executable file
View File

@ -0,0 +1,37 @@
#!/bin/bash -ex
if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \
dist/*.svg dist/*.xml; then
echo Trailing whitespace found, aborting
exit 1
fi
# Default clang-format points to default 3.5 version one
CLANG_FORMAT=clang-format-15
$CLANG_FORMAT --version
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
# Get list of every file modified in this pull request
files_to_lint="$(git diff --name-only --diff-filter=ACMRTUXB $COMMIT_RANGE | grep '^src/[^.]*[.]\(cpp\|h\)$' || true)"
else
# Check everything for branch pushes
files_to_lint="$(find src/ -name '*.cpp' -or -name '*.h')"
fi
# Turn off tracing for this because it's too verbose
set +x
for f in $files_to_lint; do
d=$(diff -u "$f" <($CLANG_FORMAT "$f") || true)
if ! [ -z "$d" ]; then
echo "!!! $f not compliant to coding style, here is the fix:"
echo "$d"
fail=1
fi
done
set -x
if [ "$fail" = 1 ]; then
exit 1
fi

15
.ci/ios.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash -ex
mkdir build && cd build
cmake .. -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SYSTEM_NAME=iOS \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DENABLE_QT_TRANSLATION=ON \
-DCITRA_ENABLE_COMPATIBILITY_REPORTING=ON \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
ninja
ccache -s -v

34
.ci/linux.sh Executable file
View File

@ -0,0 +1,34 @@
#!/bin/bash -ex
if [ "$TARGET" = "appimage" ]; then
# Compile the AppImage we distribute with Clang.
export EXTRA_CMAKE_FLAGS=(-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_LINKER=/etc/bin/ld.lld)
# Bundle required QT wayland libraries
export EXTRA_QT_PLUGINS="waylandcompositor"
export EXTRA_PLATFORM_PLUGINS="libqwayland-egl.so;libqwayland-generic.so"
else
# For the linux-fresh verification target, verify compilation without PCH as well.
export EXTRA_CMAKE_FLAGS=(-DCITRA_USE_PRECOMPILED_HEADERS=OFF)
fi
mkdir build && cd build
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
"${EXTRA_CMAKE_FLAGS[@]}" \
-DENABLE_QT_TRANSLATION=ON \
-DCITRA_ENABLE_COMPATIBILITY_REPORTING=ON \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
-DUSE_DISCORD_PRESENCE=ON
ninja
if [ "$TARGET" = "appimage" ]; then
ninja bundle
# TODO: Our AppImage environment currently uses an older ccache version without the verbose flag.
ccache -s
else
ccache -s -v
fi
ctest -VV -C Release

43
.ci/macos-universal.sh Executable file
View File

@ -0,0 +1,43 @@
#!/bin/bash -ex
ARTIFACTS_LIST=($ARTIFACTS)
BUNDLE_DIR=build/bundle
mkdir build
# Set up the base artifact to combine into.
BASE_ARTIFACT=${ARTIFACTS_LIST[0]}
BASE_ARTIFACT_ARCH="${BASE_ARTIFACT##*-}"
mv $BASE_ARTIFACT $BUNDLE_DIR
# Executable binary paths that need to be combined.
BIN_PATHS=(citra citra-room citra-qt.app/Contents/MacOS/citra-qt)
# Dylib paths that need to be combined.
IFS=$'\n'
DYLIB_PATHS=($(cd $BUNDLE_DIR && find . -name '*.dylib'))
unset IFS
# Combine all of the executable binaries and dylibs.
for OTHER_ARTIFACT in "${ARTIFACTS_LIST[@]:1}"; do
OTHER_ARTIFACT_ARCH="${OTHER_ARTIFACT##*-}"
for BIN_PATH in "${BIN_PATHS[@]}"; do
lipo -create -output $BUNDLE_DIR/$BIN_PATH $BUNDLE_DIR/$BIN_PATH $OTHER_ARTIFACT/$BIN_PATH
done
for DYLIB_PATH in "${DYLIB_PATHS[@]}"; do
# Only merge if the libraries do not have conflicting arches, otherwise it will fail.
DYLIB_INFO=`file $BUNDLE_DIR/$DYLIB_PATH`
OTHER_DYLIB_INFO=`file $OTHER_ARTIFACT/$DYLIB_PATH`
if ! [[ "$DYLIB_INFO" =~ "$OTHER_ARTIFACT_ARCH" ]] && ! [[ "$OTHER_DYLIB_INFO" =~ "$BASE_ARTIFACT_ARCH" ]]; then
lipo -create -output $BUNDLE_DIR/$DYLIB_PATH $BUNDLE_DIR/$DYLIB_PATH $OTHER_ARTIFACT/$DYLIB_PATH
fi
done
done
# Re-sign executables and bundles after combining.
APP_PATHS=(citra citra-room citra-qt.app)
for APP_PATH in "${APP_PATHS[@]}"; do
codesign --deep -fs - $BUNDLE_DIR/$APP_PATH
done

21
.ci/macos.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash -ex
mkdir build && cd build
cmake .. -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_ARCHITECTURES="$TARGET" \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DENABLE_QT_TRANSLATION=ON \
-DCITRA_ENABLE_COMPATIBILITY_REPORTING=ON \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
-DUSE_DISCORD_PRESENCE=ON
ninja
ninja bundle
ccache -s -v
CURRENT_ARCH=`arch`
if [ "$TARGET" = "$CURRENT_ARCH" ]; then
ctest -VV -C Release
fi

80
.ci/pack.sh Executable file
View File

@ -0,0 +1,80 @@
#!/bin/bash -ex
# Determine the full revision name.
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
GITREV="`git show -s --format='%h'`"
REV_NAME="citra-$OS-$TARGET-$GITDATE-$GITREV"
# Determine the name of the release being built.
if [[ "$GITHUB_REF_NAME" =~ ^canary- ]] || [[ "$GITHUB_REF_NAME" =~ ^nightly- ]]; then
RELEASE_NAME=$(echo $GITHUB_REF_NAME | cut -d- -f1)
else
RELEASE_NAME=head
fi
# Archive and upload the artifacts.
mkdir artifacts
function pack_artifacts() {
ARTIFACTS_PATH="$1"
# Set up root directory for archive.
mkdir "$REV_NAME"
if [ -f "$ARTIFACTS_PATH" ]; then
mv "$ARTIFACTS_PATH" "$REV_NAME"
# Use file extension to differentiate archives.
FILENAME=$(basename "$ARTIFACT")
EXTENSION="${FILENAME##*.}"
ARCHIVE_NAME="$REV_NAME.$EXTENSION"
else
mv "$ARTIFACTS_PATH"/* "$REV_NAME"
ARCHIVE_NAME="$REV_NAME"
fi
# Create .zip/.tar.gz
if [ "$OS" = "windows" ]; then
ARCHIVE_FULL_NAME="$ARCHIVE_NAME.zip"
powershell Compress-Archive "$REV_NAME" "$ARCHIVE_FULL_NAME"
elif [ "$OS" = "android" ]; then
ARCHIVE_FULL_NAME="$ARCHIVE_NAME.zip"
zip -r "$ARCHIVE_FULL_NAME" "$REV_NAME"
else
ARCHIVE_FULL_NAME="$ARCHIVE_NAME.tar.gz"
tar czvf "$ARCHIVE_FULL_NAME" "$REV_NAME"
fi
mv "$ARCHIVE_FULL_NAME" artifacts/
if [ -z "$SKIP_7Z" ]; then
# Create .7z
ARCHIVE_FULL_NAME="$ARCHIVE_NAME.7z"
mv "$REV_NAME" "$RELEASE_NAME"
7z a "$ARCHIVE_FULL_NAME" "$RELEASE_NAME"
mv "$ARCHIVE_FULL_NAME" artifacts/
# Clean up created release artifacts directory.
rm -rf "$RELEASE_NAME"
else
# Clean up created rev artifacts directory.
rm -rf "$REV_NAME"
fi
}
if [ -n "$UNPACKED" ]; then
# Copy the artifacts to be uploaded unpacked.
for ARTIFACT in build/bundle/*; do
FILENAME=$(basename "$ARTIFACT")
EXTENSION="${FILENAME##*.}"
mv "$ARTIFACT" "artifacts/$REV_NAME.$EXTENSION"
done
elif [ -n "$PACK_INDIVIDUALLY" ]; then
# Pack and upload the artifacts one-by-one.
for ARTIFACT in build/bundle/*; do
pack_artifacts "$ARTIFACT"
done
else
# Pack all of the artifacts into a single archive.
pack_artifacts build/bundle
fi

20
.ci/source.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash -ex
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
GITREV="`git show -s --format='%h'`"
REV_NAME="citra-unified-source-${GITDATE}-${GITREV}"
COMPAT_LIST='dist/compatibility_list/compatibility_list.json'
mkdir artifacts
pip3 install git-archive-all
touch "${COMPAT_LIST}"
git describe --abbrev=0 --always HEAD > GIT-COMMIT
git describe --tags HEAD > GIT-TAG || echo 'unknown' > GIT-TAG
git archive-all --include "${COMPAT_LIST}" --include GIT-COMMIT --include GIT-TAG --force-submodules artifacts/"${REV_NAME}.tar"
cd artifacts/
xz -T0 -9 "${REV_NAME}.tar"
sha256sum "${REV_NAME}.tar.xz" > "${REV_NAME}.tar.xz.sha256sum"
cd ..

14
.ci/transifex.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash -ex
echo -e "\e[1m\e[33mBuild tools information:\e[0m"
cmake --version
gcc -v
tx --version
mkdir build && cd build
cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_SDL2=OFF
make translation
cd ..
cd dist/languages
tx push -s

17
.ci/windows.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh -ex
mkdir build && cd build
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DENABLE_QT_TRANSLATION=ON \
-DCITRA_ENABLE_COMPATIBILITY_REPORTING=ON \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
-DUSE_DISCORD_PRESENCE=ON
ninja
ninja bundle
ccache -s -v
ctest -VV -C Release || echo "::error ::Test error occurred on Windows build"

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
dist/languages/* linguist-vendored
dist/qt_themes/* linguist-vendored
externals/* linguist-vendored
*.h linguist-language=cpp

62
.gitignore vendored
View File

@ -1,14 +1,50 @@
# ---> CMake # Build directory
CMakeLists.txt.user [Bb]uild*/
CMakeCache.txt doc-build/
CMakeFiles build-*/
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
build
# Generated source files
src/common/scm_rev.cpp
.travis.descriptor.json
# Project/editor files
*.swp
*.kdev4
.idea/
.vs/
.vscode/
.cache/
.kdev4/
cmake-build-debug/
cmake-build-release/
CMakeLists.txt.user*
# *nix related
# Common convention for backup or temporary files
*~
# Visual Studio CMake settings
CMakeSettings.json
# OSX global filetypes
# Created by Finder or Spotlight in directories for various OS functionality (indexing, etc)
.DS_Store
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes
# Windows global filetypes
Thumbs.db
# Python files
*.pyc
# Flatpak generated files
.flatpak-builder/
repo/
# GitHub Actions generated files
.ccache/
node_modules/
VULKAN_SDK/

93
.gitmodules vendored Normal file
View File

@ -0,0 +1,93 @@
[submodule "boost"]
path = externals/boost
url = https://github.com/PabloMK7/ext-boost.git
[submodule "nihstro"]
path = externals/nihstro
url = https://github.com/neobrain/nihstro.git
[submodule "soundtouch"]
path = externals/soundtouch
url = https://codeberg.org/soundtouch/soundtouch.git
[submodule "catch2"]
path = externals/catch2
url = https://github.com/catchorg/Catch2
[submodule "dynarmic"]
path = externals/dynarmic
url = https://github.com/PabloMK7/dynarmic.git
[submodule "xbyak"]
path = externals/xbyak
url = https://github.com/herumi/xbyak.git
[submodule "fmt"]
path = externals/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "enet"]
path = externals/enet
url = https://github.com/lsalzman/enet.git
[submodule "inih"]
path = externals/inih/inih
url = https://github.com/benhoyt/inih.git
[submodule "libressl"]
path = externals/libressl
url = https://github.com/PabloMK7/ext-libressl-portable.git
[submodule "libusb"]
path = externals/libusb/libusb
url = https://github.com/libusb/libusb.git
[submodule "cubeb"]
path = externals/cubeb
url = https://github.com/mozilla/cubeb
[submodule "discord-rpc"]
path = externals/discord-rpc
url = https://github.com/PabloMK7/discord-rpc.git
[submodule "cpp-jwt"]
path = externals/cpp-jwt
url = https://github.com/arun11299/cpp-jwt.git
[submodule "teakra"]
path = externals/teakra
url = https://github.com/wwylele/teakra.git
[submodule "lodepng"]
path = externals/lodepng/lodepng
url = https://github.com/lvandeve/lodepng.git
[submodule "zstd"]
path = externals/zstd
url = https://github.com/facebook/zstd.git
[submodule "libyuv"]
path = externals/libyuv
url = https://github.com/lemenkov/libyuv.git
[submodule "sdl2"]
path = externals/sdl2/SDL
url = https://github.com/libsdl-org/SDL
[submodule "cryptopp-cmake"]
path = externals/cryptopp-cmake
url = https://github.com/abdes/cryptopp-cmake.git
[submodule "cryptopp"]
path = externals/cryptopp
url = https://github.com/weidai11/cryptopp.git
[submodule "dds-ktx"]
path = externals/dds-ktx
url = https://github.com/septag/dds-ktx
[submodule "openal-soft"]
path = externals/openal-soft
url = https://github.com/kcat/openal-soft
[submodule "glslang"]
path = externals/glslang
url = https://github.com/KhronosGroup/glslang
[submodule "vma"]
path = externals/vma
url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
[submodule "vulkan-headers"]
path = externals/vulkan-headers
url = https://github.com/KhronosGroup/Vulkan-Headers
[submodule "sirit"]
path = externals/sirit
url = https://github.com/PabloMK7/sirit
[submodule "faad2"]
path = externals/faad2/faad2
url = https://github.com/knik0/faad2
[submodule "library-headers"]
path = externals/library-headers
url = https://github.com/PabloMK7/ext-library-headers.git
[submodule "libadrenotools"]
path = externals/libadrenotools
url = https://github.com/bylaws/libadrenotools
[submodule "oaknut"]
path = externals/oaknut
url = https://github.com/merryhime/oaknut.git

View File

@ -0,0 +1,93 @@
[submodule "boost"]
path = externals/boost
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "nihstro"]
path = externals/nihstro
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "soundtouch"]
path = externals/soundtouch
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "catch2"]
path = externals/catch2
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "dynarmic"]
path = externals/dynarmic
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "xbyak"]
path = externals/xbyak
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "fmt"]
path = externals/fmt
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "enet"]
path = externals/enet
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "inih"]
path = externals/inih/inih
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "libressl"]
path = externals/libressl
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "libusb"]
path = externals/libusb/libusb
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cubeb"]
path = externals/cubeb
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "discord-rpc"]
path = externals/discord-rpc
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cpp-jwt"]
path = externals/cpp-jwt
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "teakra"]
path = externals/teakra
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "lodepng"]
path = externals/lodepng/lodepng
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "zstd"]
path = externals/zstd
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "libyuv"]
path = externals/libyuv
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "sdl2"]
path = externals/sdl2/SDL
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cryptopp-cmake"]
path = externals/cryptopp-cmake
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cryptopp"]
path = externals/cryptopp
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "dds-ktx"]
path = externals/dds-ktx
url = https://github.com/septag/dds-ktx
[submodule "openal-soft"]
path = externals/openal-soft
url = https://github.com/kcat/openal-soft
[submodule "glslang"]
path = externals/glslang
url = https://github.com/KhronosGroup/glslang
[submodule "vma"]
path = externals/vma
url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
[submodule "vulkan-headers"]
path = externals/vulkan-headers
url = https://github.com/KhronosGroup/Vulkan-Headers
[submodule "sirit"]
path = externals/sirit
url = https://github.com/PabloMK7/sirit
[submodule "faad2"]
path = externals/faad2/faad2
url = https://github.com/knik0/faad2
[submodule "library-headers"]
path = externals/library-headers
url = https://github.com/PabloMK7/ext-library-headers.git
[submodule "libadrenotools"]
path = externals/libadrenotools
url = https://github.com/bylaws/libadrenotools
[submodule "oaknut"]
path = externals/oaknut
url = https://github.com/merryhime/oaknut.git

View File

@ -0,0 +1,93 @@
[submodule "boost"]
path = externals/boost
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "nihstro"]
path = externals/nihstro
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "soundtouch"]
path = externals/soundtouch
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "catch2"]
path = externals/catch2
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "dynarmic"]
path = externals/dynarmic
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "xbyak"]
path = externals/xbyak
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "fmt"]
path = externals/fmt
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "enet"]
path = externals/enet
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "inih"]
path = externals/inih/inih
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "libressl"]
path = externals/libressl
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "libusb"]
path = externals/libusb/libusb
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cubeb"]
path = externals/cubeb
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "discord-rpc"]
path = externals/discord-rpc
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cpp-jwt"]
path = externals/cpp-jwt
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "teakra"]
path = externals/teakra
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "lodepng"]
path = externals/lodepng/lodepng
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "zstd"]
path = externals/zstd
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "libyuv"]
path = externals/libyuv
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "sdl2"]
path = externals/sdl2/SDL
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cryptopp-cmake"]
path = externals/cryptopp-cmake
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "cryptopp"]
path = externals/cryptopp
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "dds-ktx"]
path = externals/dds-ktx
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "openal-soft"]
path = externals/openal-soft
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "glslang"]
path = externals/glslang
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "vma"]
path = externals/vma
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "vulkan-headers"]
path = externals/vulkan-headers
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "sirit"]
path = externals/sirit
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "faad2"]
path = externals/faad2/faad2
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "library-headers"]
path = externals/library-headers
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "libadrenotools"]
path = externals/libadrenotools
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS
[submodule "oaknut"]
path = externals/oaknut
url = http://rocky.hifuu.ink:3000/gh0s7/Lucina3DS

View File

@ -136,21 +136,21 @@ endif()
# Sanity check : Check that all submodules are present # Sanity check : Check that all submodules are present
# ======================================================================= # =======================================================================
function(check_submodules_present) #function(check_submodules_present)
file(READ "${PROJECT_SOURCE_DIR}/.gitmodules" gitmodules) # file(READ "${PROJECT_SOURCE_DIR}/.gitmodules" gitmodules)
string(REGEX MATCHALL "path *= *[^ \t\r\n]*" gitmodules ${gitmodules}) # string(REGEX MATCHALL "path *= *[^ \t\r\n]*" gitmodules ${gitmodules})
foreach(module ${gitmodules}) # foreach(module ${gitmodules})
string(REGEX REPLACE "path *= *" "" module ${module}) # string(REGEX REPLACE "path *= *" "" module ${module})
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/${module}/.git") # if (NOT EXISTS "${PROJECT_SOURCE_DIR}/${module}/.git")
message(SEND_ERROR "Git submodule ${module} not found." # message(SEND_ERROR "Git submodule ${module} not found."
"Please run: git submodule update --init --recursive") # "Please run: git submodule update --init --recursive")
endif() # endif()
endforeach() # endforeach()
endfunction() #endfunction()
if (EXISTS "${PROJECT_SOURCE_DIR}/.git/objects") #if (EXISTS "${PROJECT_SOURCE_DIR}/.git/objects")
# only check submodules when source is obtained via Git # only check submodules when source is obtained via Git
check_submodules_present() # check_submodules_present()
endif() #endif()
configure_file(${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.qrc configure_file(${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.qrc
${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc

0
externals/catch2/CMake/llvm-cov-wrapper vendored Normal file → Executable file
View File

0
externals/catch2/fuzzing/build_fuzzers.sh vendored Normal file → Executable file
View File

0
externals/catch2/tests/TestScripts/testBazelSharding.py vendored Normal file → Executable file
View File

0
externals/catch2/tests/TestScripts/testPartialTestCaseEvent.py vendored Normal file → Executable file
View File

0
externals/catch2/tests/TestScripts/testRandomOrder.py vendored Normal file → Executable file
View File

0
externals/catch2/tests/TestScripts/testSharding.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/approvalTests.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/approve.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/buildAndTest.sh vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/checkConvenienceHeaders.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/checkDuplicateFilenames.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/checkLicense.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/developBuild.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/fixWhitespace.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/generateAmalgamatedFiles.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/majorRelease.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/minorRelease.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/patchRelease.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/updateDocumentSnippets.py vendored Normal file → Executable file
View File

0
externals/catch2/tools/scripts/updateDocumentToC.py vendored Normal file → Executable file
View File

View File

@ -0,0 +1,22 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/Users/amuralid/dev_test/cpp-jwt/examples/simple_ex1.cc" "/Users/amuralid/dev_test/cpp-jwt/examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "Clang")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"include"
"/usr/local/Cellar/openssl/1.0.2j/include"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/simple_ex1.dir/simple_ex1.cc.o"
"simple_ex1.pdb"
"simple_ex1"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/simple_ex1.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2

0
externals/cpp-jwt/include/jwt/test/test_base64 vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_hmac vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_jwt_decode vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_jwt_header vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_jwt_object vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_jwt_payload vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_jwt_signature vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_rsa vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_stack_alloc vendored Normal file → Executable file
View File

0
externals/cpp-jwt/include/jwt/test/test_sv vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/change-version.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/configure.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptdll-windows.cmd vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-android-mk.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-android.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-autotools.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-coverage.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-ios.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-pem.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-symbols.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest-tidy.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/cryptest.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/governor.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/install-ndk.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/make-benchmarks.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/reset-fork.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/setenv-android.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/setenv-embedded.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/setenv-ios.sh vendored Normal file → Executable file
View File

0
externals/cryptopp/TestScripts/setenv-macos.sh vendored Normal file → Executable file
View File

0
externals/cubeb/cmake/sanitizers-cmake/cmake/asan-wrapper vendored Normal file → Executable file
View File

0
externals/cubeb/googletest/googlemock/test/gmock_leak_test.py vendored Normal file → Executable file
View File

0
externals/cubeb/googletest/googlemock/test/gmock_output_test.py vendored Normal file → Executable file
View File

0
externals/cubeb/googletest/googlemock/test/gmock_test_utils.py vendored Normal file → Executable file
View File

View File

View File

0
externals/cubeb/googletest/googletest/test/googletest-color-test.py vendored Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
externals/cubeb/googletest/googletest/test/gtest_help_test.py vendored Normal file → Executable file
View File

View File

0
externals/cubeb/googletest/googletest/test/gtest_test_utils.py vendored Normal file → Executable file
View File

0
externals/cubeb/googletest/googletest/test/gtest_testbridge_test.py vendored Normal file → Executable file
View File

View File

View File

0
externals/cubeb/googletest/googletest/test/gtest_xml_test_utils.py vendored Normal file → Executable file
View File

0
externals/cubeb/scan-build-install.sh vendored Normal file → Executable file
View File

0
externals/discord-rpc/build.py vendored Normal file → Executable file
View File

0
externals/dynarmic/externals/catch/CMake/llvm-cov-wrapper vendored Normal file → Executable file
View File

0
externals/dynarmic/externals/catch/fuzzing/build_fuzzers.sh vendored Normal file → Executable file
View File

View File

View File

View File

Some files were not shown because too many files have changed in this diff Show More