摘要: 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 阅读(203) 评论(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) 编辑