diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb20748 --- /dev/null +++ b/.gitignore @@ -0,0 +1,58 @@ +# These are some examples of commonly ignored file patterns. +# You should customize this list as applicable to your project. +# Learn more about .gitignore: +# https://www.atlassian.com/git/tutorials/saving-changes/gitignore + +# Node artifact files +node_modules/ +dist/ +/build +build/ +release/ +/release + +# Compiled Java class files +*.class + +# Compiled Python bytecode +*.py[cod] + +# Log files +*.log + +# Package files +*.jar + +# Maven +target/ +dist/ + +# JetBrains IDE +.idea/ + +# Unit test reports +TEST*.xml + +# Generated by MacOS +.DS_Store + +# Generated by Windows +Thumbs.db + +# Applications +*.app +*.war + +# Large media files +*.mp4 +*.tiff +*.avi +*.flv +*.mov +*.wmv + +#屏蔽zvo测试数据 +*.zvo +*.torrent +*.m3u8 + diff --git a/.gitmodules b/.gitmodules index 9fb9059..a0a57f3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "vcpkg"] path = vcpkg - url = https://githubfast.com/microsoft/vcpkg.git + url = https://github.com/microsoft/vcpkg.git diff --git a/CMakeLists.txt b/CMakeLists.txt index fc57dcf..292c2d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.19) SET(VCPKG_ROOT ${PROJECT_SOURCE_DIR}/vcpkg) -SET(VCPKG_TARGET_TRIPLET "x64-mingw-static") +SET(VCPKG_TARGET_TRIPLET "x86-mingw-dynamic") SET(CMAKE_C_COMPILER "x86_64-w64-mingw32-gcc.exe") SET(CMAKE_CXX_COMPILER "x86_64-w64-mingw32-g++.exe") #项目版本 @@ -80,3 +80,4 @@ target_link_libraries( ) + diff --git a/CMakePresets.json b/CMakePresets.json index 91284a7..85cfad8 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -23,8 +23,8 @@ "CMAKE_MAKE_PROGRAM": "ninja.exe", "CMAKE_C_COMPILER": "x86_64-w64-mingw32-gcc.exe", "CMAKE_CXX_COMPILER": "x86_64-w64-mingw32-g++.exe", - "VCPKG_TARGET_TRIPLET":"x64-mingw-static", - "VCPKG_HOST_TRIPLET":"x64-mingw-static", + "VCPKG_TARGET_TRIPLET":"x86-mingw-dynamic", + "VCPKG_HOST_TRIPLET":"x86-mingw-dynamic", "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake" } }