【添加】Windows平台配置及CMake调整

This commit is contained in:
wdp
2025-01-18 19:46:56 +08:00
parent 86f98db430
commit 8de1dfb3aa
4 changed files with 53 additions and 17 deletions

19
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,19 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/3rd/**",
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "C:\\MinGW\\bin\\gcc.exe",
"intelliSenseMode": "windows-gcc-x86"
}
],
"version": 4
}

10
.vscode/tasks.json vendored
View File

@@ -11,7 +11,9 @@
"-build_type",
"Release",
"-build_and_run",
"false"
"false",
"-platform",
"win"
],
"group": {
"kind": "build",
@@ -28,11 +30,13 @@
"command": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"args": [
"-File",
"${workspaceFolder}\\build.ps1",
"${workspaceFolder}\\build-win-app.ps1",
"-build_type",
"Debug",
"-build_and_run",
"true"
"true",
"-platform",
"win"
],
"group": {
"kind": "build",