From ea264998efd050278799539995d5f79e0d8a8c23 Mon Sep 17 00:00:00 2001 From: zinface Date: Mon, 13 Mar 2023 19:09:20 +0800 Subject: [PATCH] =?UTF-8?q?repo:=20=E7=94=A8=E4=BA=8E=20Windows=20?= =?UTF-8?q?=E4=B8=AD=E4=BD=BF=E7=94=A8=20Visual=20Studio=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=20CMake=20=E8=AE=BE=E7=BD=AE=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmake/visualstudio/CMakeSettings.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cmake/visualstudio/CMakeSettings.json diff --git a/cmake/visualstudio/CMakeSettings.json b/cmake/visualstudio/CMakeSettings.json new file mode 100644 index 0000000..74a3181 --- /dev/null +++ b/cmake/visualstudio/CMakeSettings.json @@ -0,0 +1,26 @@ +{ + "configurations": [ + { + "name": "x64-Debug", + "generator": "Ninja", + "configurationType": "Debug", + "inheritEnvironments": [ "msvc_x64_x64" ], + "buildRoot": "${projectDir}\\out\\build\\Debug\\${name}", + "installRoot": "${projectDir}\\out\\install\\Debug\\${name}", + "cmakeCommandArgs": "-DCMAKE_PREFIX_PATH=C:\\Qt\\Qt5.14.2\\5.14.2\\msvc2017_64 -DUSE_WINDOWS_UNIVERSAL=ON -DWINDOWS_DEPLOY_QT=ON -DWINDOWS_DEPLOY_QT5=ON", + "buildCommandArgs": "", + "ctestCommandArgs": "" + }, + { + "name": "x64-Release", + "generator": "Ninja", + "configurationType": "Release", + "inheritEnvironments": [ "msvc_x64_x64" ], + "buildRoot": "${projectDir}\\out\\build\\Release\\${name}", + "installRoot": "${projectDir}\\out\\install\\Release\\${name}", + "cmakeCommandArgs": "-DCMAKE_PREFIX_PATH=C:\\Qt\\Qt5.14.2\\5.14.2\\msvc2017_64 -DUSE_WINDOWS_UNIVERSAL=ON -DWINDOWS_DEPLOY_QT=ON -DWINDOWS_DEPLOY_QT5=ON", + "buildCommandArgs": "", + "ctestCommandArgs": "" + } + ] +} \ No newline at end of file