求助dalao为啥v..求助dalao为啥vscode设置了CMAKE_TOOLCHAIN_FILE,还用不了vcpkg,使用第三方库显示找不到头文件顶
0 So, when I include the toolchain file sometimes it is a hit and sometimes it is a miss. I'm able to build a target and all but the problem is that I'm not able to launch the target in vscode or clion. The error verbose reads unable to find the target....
cmake_minimum_required(VERSION 2.8) project(PrintCLanguageCompilersForVSCode) enable_language(C CXX) message(STATUS "vscode-cmake-tools kit configuration: CMAKE_C_COMPILER=${CMAKE_C_COMPILER}") message(STATUS "vscode-cmake-tools kit configuration: CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}") T...