上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页
摘要: https://stackoverflow.com/questions/31966135/cmake-source-group-not-working-correctly-with-hierarchical-project-setup https://stackoverflow.com/questi 阅读全文
posted @ 2023-04-03 17:32 fndefbwefsowpvqfx 阅读(23) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/24460486/cmake-build-type-is-not-being-used-in-cmakelists-txt There are two types of generators: single-configurat 阅读全文
posted @ 2023-04-03 15:40 fndefbwefsowpvqfx 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1. generate project cmake .. -G Xcode error: error: No CMAKE_C_COMPILER could be found. solu: If you have installed Xcode or Command Line Tools for Xc 阅读全文
posted @ 2023-04-03 15:23 fndefbwefsowpvqfx 阅读(12) 评论(0) 推荐(0) 编辑
摘要: # 1. powershell 用安装包安装,它会配置些环境变量 # 2. include 多文件 ```ps1 $ownSscriptRoot = 'abs:\path\to\PowerShell\' $workPS = $ownSscriptRoot + "work.ps1" ``` # 3. 阅读全文
posted @ 2023-04-03 13:59 fndefbwefsowpvqfx 阅读(34) 评论(0) 推荐(0) 编辑
摘要: https://github.com/ThePoShWolf/Utilities/blob/master/Misc/Set-PathVariable.ps1 <# .SYNOPSIS Modify the PATH environment variable. .DESCRIPTION Set-Pat 阅读全文
posted @ 2023-04-03 13:18 fndefbwefsowpvqfx 阅读(18) 评论(0) 推荐(0) 编辑
摘要: m$ -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" nmake /nologo -f Makefile ninja -DCMAKE_BUILD_TYPE=Debug -G "Ninja" cmake --build . 阅读全文
posted @ 2023-04-03 12:54 fndefbwefsowpvqfx 阅读(17) 评论(0) 推荐(0) 编辑
摘要: function(replaceAllSubs) set(replaced ) set(tail ) math(EXPR tail "${ARGC}-1") foreach( i RANGE 1 ${tail}) set(cur ) list(GET ARGV ${i} cur) string(RE 阅读全文
posted @ 2023-04-03 12:42 fndefbwefsowpvqfx 阅读(11) 评论(0) 推荐(0) 编辑
摘要: mac { "version": "0.2.0", "configurations": [ { "name": "(lldb) Launch", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/bin/tes 阅读全文
posted @ 2023-04-03 12:26 fndefbwefsowpvqfx 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2023-04-02 12:49 fndefbwefsowpvqfx 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 4.1 init.vim 将 init.vim 放置到下面 :echo stdpath('config') ~\AppData\Local\nvim 4.2 plug https://github.com/junegunn/vim-plug 将 plug.vim 放置到下面 ~\AppData\Lo 阅读全文
posted @ 2023-04-02 12:47 fndefbwefsowpvqfx 阅读(715) 评论(0) 推荐(0) 编辑
摘要: 3.1 ccls https://github.com/MaskRay/ccls/wiki/Build 在msys中: pacman -S --noconfirm mingw-w64-x86_64-clang mingw-w64-x86_64-clang-tools-extra mingw64/mi 阅读全文
posted @ 2023-04-02 12:45 fndefbwefsowpvqfx 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 2.1 命令行工具 https://github.com/sharkdp/fd https://github.com/junegunn/fzf https://github.com/BurntSushi/ripgrep https://github.com/tree-sitter/tree-sitt 阅读全文
posted @ 2023-04-02 12:44 fndefbwefsowpvqfx 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 目标 用做C++编译器 尽量不要扩展其它功能 python 是避免不了,所以才安装的。 1.1 下载安装 https://mirror.tuna.tsinghua.edu.cn/msys2/distrib/msys2-x86_64-latest.exe 安装路径: C:\gnu\msys64 1.2 阅读全文
posted @ 2023-04-02 12:41 fndefbwefsowpvqfx 阅读(145) 评论(0) 推荐(0) 编辑
摘要: .gitignore 中的文件不复制 ```bash --filter=':- .gitignore' ``` 会删除 ```bash --delete ``` windows下的c盘路径 ```bash /cygdrive/c/Users/ ``` 在linux上 将 windows 上的`nam 阅读全文
posted @ 2023-03-31 19:12 fndefbwefsowpvqfx 阅读(15) 评论(0) 推荐(0) 编辑
摘要: alt key 阅读全文
posted @ 2023-03-31 19:06 fndefbwefsowpvqfx 阅读(10) 评论(0) 推荐(0) 编辑
摘要: " echo $MYVIMRC " source $MYVIMRC set enc=utf-8 set fencs=utf-8,gbk,big5,cp936,gb18030,gb2312,utf-16 set fenc=utf-8 set shortmess=atI "禁止bell set bell 阅读全文
posted @ 2023-03-31 19:00 fndefbwefsowpvqfx 阅读(247) 评论(0) 推荐(0) 编辑
摘要: https://github.com/vadimcn/codelldb mac local dap = require("dap") local cmd = os.getenv('HOME') .. '/tool/debug/codelldb/adapter/codelldb' dap.adapte 阅读全文
posted @ 2023-03-31 18:58 fndefbwefsowpvqfx 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 配置文件 :CocConfig ~/.config/nvim/coc-settings.json coc-settings.json { "languageserver": { "ccls": { "command": "ccls", "filetypes": ["c", "cpp","hpp"," 阅读全文
posted @ 2023-03-31 18:56 fndefbwefsowpvqfx 阅读(51) 评论(0) 推荐(0) 编辑
摘要: sudo /Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron 阅读全文
posted @ 2023-03-31 18:51 fndefbwefsowpvqfx 阅读(5) 评论(0) 推荐(0) 编辑
摘要: editor https://github.com/neovim/neovim https://github.com/rockerBOO/awesome-neovim/blob/main/README.md https://github.com/nvim-treesitter/nvim-treesi 阅读全文
posted @ 2023-03-30 22:37 fndefbwefsowpvqfx 阅读(162) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页