chronos
所属分类:C/C++基础
开发工具:Makefile
文件大小:0KB
下载次数:0
上传日期:2023-12-23 21:15:46
上 传 者:
sh-1993
说明: 玩c++17 std::chrono库和时间算法
(Playing with the c++17 std::chrono library and time arithmetic)
文件列表:
.vscode/
CMakeFiles/
build/
src/
CMakeLists.txt
CMakePresets.json
chronos.code-workspace
# Remember
When you do a Brew Upgrade, you may change versions of cmake, and/or the MaxOSX sdk
```
cmake ../Cellar/cmake/3.24.2/bin/cmake
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
```
It'll cause make to fail saying it can't find the old version of cmake.
You'll thus want to run this command:
```zsh
cmake --build . --target clean
```
This will romance cmake into tidying up all your CMakeCache.txt and Makefile version identifiers.
You want to set up the lldb-mi. See https://code.visualstudio.com/docs/cpp/lldb-mi
```zsh
ls -lt ~/.vscode/extensions/ms-vscode.cpptools-1.12.4-darwin-x64/debugAdapters/lldb-mi/bin/lldb-mi
cp ~/.vscode/extensions/ms-vscode.cpptools-1.12.4-darwin-x64/debugAdapters/lldb-mi/bin/lldb-mi \
/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework
```
Edit launch.json to add
```json
"miDebuggerPath": "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/lldb-mi"
```
近期下载者:
相关文件:
收藏者: