摘要:
get_filename_component(<var> <FileName> <mode> [BASE_DIR <dir>] var : outputValue FileName: inputValue mode DIRECTORY = Directory without file name NA 阅读全文
摘要:
https://stackoverflow.com/questions/31966135/cmake-source-group-not-working-correctly-with-hierarchical-project-setup https://stackoverflow.com/questi 阅读全文
摘要:
https://stackoverflow.com/questions/24460486/cmake-build-type-is-not-being-used-in-cmakelists-txt There are two types of generators: single-configurat 阅读全文
摘要:
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 阅读全文
摘要:
# 1. powershell 用安装包安装,它会配置些环境变量 # 2. include 多文件 ```ps1 $ownSscriptRoot = 'abs:\path\to\PowerShell\' $workPS = $ownSscriptRoot + "work.ps1" ``` # 3. 阅读全文
摘要:
https://github.com/ThePoShWolf/Utilities/blob/master/Misc/Set-PathVariable.ps1 <# .SYNOPSIS Modify the PATH environment variable. .DESCRIPTION Set-Pat 阅读全文
摘要:
m$ -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" nmake /nologo -f Makefile ninja -DCMAKE_BUILD_TYPE=Debug -G "Ninja" cmake --build . 阅读全文
摘要:
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 阅读全文
摘要:
mac { "version": "0.2.0", "configurations": [ { "name": "(lldb) Launch", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/bin/tes 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
2.1 命令行工具 https://github.com/sharkdp/fd https://github.com/junegunn/fzf https://github.com/BurntSushi/ripgrep https://github.com/tree-sitter/tree-sitt 阅读全文
摘要:
目标 用做C++编译器 尽量不要扩展其它功能 python 是避免不了,所以才安装的。 1.1 下载安装 https://mirror.tuna.tsinghua.edu.cn/msys2/distrib/msys2-x86_64-latest.exe 安装路径: C:\gnu\msys64 1.2 阅读全文
摘要:
.gitignore 中的文件不复制 ```bash --filter=':- .gitignore' ``` 会删除 ```bash --delete ``` windows下的c盘路径 ```bash /cygdrive/c/Users/ ``` 在linux上 将 windows 上的`nam 阅读全文
摘要:
alt key 阅读全文
摘要:
" 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 阅读全文
摘要:
https://github.com/vadimcn/codelldb mac local dap = require("dap") local cmd = os.getenv('HOME') .. '/tool/debug/codelldb/adapter/codelldb' dap.adapte 阅读全文
摘要:
配置文件 :CocConfig ~/.config/nvim/coc-settings.json coc-settings.json { "languageserver": { "ccls": { "command": "ccls", "filetypes": ["c", "cpp","hpp"," 阅读全文
摘要:
sudo /Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron 阅读全文