首页 > 其他分享 >mingw + cmake + vscode

mingw + cmake + vscode

时间:2022-12-08 05:11:04浏览次数:48  
标签:bin set cmake vscode json mingw

.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

相关文章