VS2017 CMake配置
Posted vczf
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了VS2017 CMake配置相关的知识,希望对你有一定的参考价值。
"configurations": [ { "name": "x86-Release", "generator": "Ninja", "configurationType": "Release", "inheritEnvironments": [ "msvc_x86" ], "buildRoot": "${projectDir}\vs-cmake-build\build\${name}", "installRoot": "${projectDir}\vs-cmake-build\install\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "-v", "ctestCommandArgs": "" }, { "name": "x86-Debug", "generator": "Ninja", "configurationType": "Debug", "inheritEnvironments": [ "msvc_x86" ], "buildRoot": "${projectDir}\vs-cmake-build\build\${name}", "installRoot": "${projectDir}\vs-cmake-build\install\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "-v", "ctestCommandArgs": "" }, { "name": "x64-Debug", "generator": "Ninja", "configurationType": "Debug", "inheritEnvironments": [ "msvc_x64_x64" ], "buildRoot": "${projectDir}\vs-cmake-build\build\${name}", "installRoot": "${projectDir}\vs-cmake-build\install\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "-v", "ctestCommandArgs": "" }, { "name": "x64-Release", "generator": "Ninja", "configurationType": "Release", "inheritEnvironments": [ "msvc_x64_x64" ], "buildRoot": "${projectDir}\vs-cmake-build\build\${name}", "installRoot": "${projectDir}\vs-cmake-build\install\${name}", "cmakeCommandArgs": "", "buildCommandArgs": "-v", "ctestCommandArgs": "" } ]
以上是关于VS2017 CMake配置的主要内容,如果未能解决你的问题,请参考以下文章