.vscode
settings.json
{ "cmake.generator": "MinGW Makefiles" }
cmake-kits.json
[ { "name": "GCC for x86_64-w64-mingw32 12.2.0", "compilers": { "C": "D:\\green\\mingw64\\bin\\gcc.exe", "CXX": "D:\\green\\mingw64\\bin\\g++.exe" } } ] CMakeLists.txt cmake_minimum_required(VERSION 2.8.12)project(hello)
set(MUJS "E:/open_source/mujs")
include_directories(${MUJS})
# set(CMAKE_VERBOSE_MAKEFILE ON)
add_executable(${PROJECT_NAME} ... ) 标签:bin,set,cmake,vscode,json,mingw From: https://www.cnblogs.com/kehuadong/p/16965085.html