From 404889a19cda95ef7c36b7a73430993a66b9dfa9 Mon Sep 17 00:00:00 2001 From: luocai Date: Thu, 14 Nov 2024 15:08:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=9E=84=E5=BB=BA=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=BC=96=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 1 - resources/build.ps1 | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae175c5..60cb468 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,6 @@ if(WIN32) else() set(MBEDTLS_ROOT ${Libraries_ROOT}/mbedtls-3.6.2_msvc2022_64bit_debug) endif() - add_compile_options(/showIncludes-) else() execute_process( COMMAND sh -c "echo $HOME" diff --git a/resources/build.ps1 b/resources/build.ps1 index efddf61..e0e9a67 100644 --- a/resources/build.ps1 +++ b/resources/build.ps1 @@ -38,6 +38,9 @@ function Build() { -DQt6CoreTools_DIR="$qtHome\lib\cmake\Qt6CoreTools" ` -DQt6QmlTools_DIR="$qtHome\lib\cmake\Qt6QmlTools" ` -DLibraries_ROOT="$librariesPath" + + $content = Get-Content -Path "build\CMakeFiles\rules.ninja" -Encoding Default + Set-Content -Path "build\CMakeFiles\rules.ninja" -Value $content -Encoding UTF8 } cmake.exe --build $buildPath --target all