mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 05

PS C:\Users\dev\Desktop\cpp> cd .\build\
PS C:\Users\dev\Desktop\cpp\build> cmake .. -DCMAKE_BUILD_TYPE=Debug
-- Building for: Ninja
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/gnu/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/gnu/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 12.2.0
-- Configuring done (1.3s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/dev/Desktop/cpp/build
PS C:\Users\dev\Desktop\cpp\build> cmake --build .
[2/2] Linking CXX executable C:\Users\dev\Desktop\cpp\bin\hello.exe

打开cpp项目

找到cpp文件

debug target

debugging

register

local

goto def

posted @   fndefbwefsowpvqfx  阅读(49)  评论(0编辑  收藏  举报
(评论功能已被禁用)
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示