C++高性能并行编程与优化 - 课件 - 11 现代 CMake 进阶指南CMAKE_COMMAND: 指向 cmake 可执行程序的全路径。 • CMAKE_CTEST_COMMAND: 指向 ctest 可执行程序的全路径。 • CMAKE_EDIT_COMMAND: cmake-gui 或 ccmake 的全路径。 • CMAKE_EXECUTABLE_SUFFIX: 该平台上可执行程序的后缀。 • CMAKE_SIZEOF_VOID_P: void 指针的大小。 • CMAKE_SKIP_RPATH: 参数太硬核了,有没有图形化的缓存编辑器? • 在 Linux 中,可以运行 ccmake -B build 来启 动基于终端的可视化缓存编辑菜单。 • 在 Windows 则可以 cmake-gui -B build 来启动 图形界面编辑各个缓存选项。 • 当然,直接用编辑器打开 build/CMakeCache.txt 修改后保存也是可以的。 • CMakeCache.txt 用文本存储数据,就是可供用 --build build --target configure 来启动 ccmake 修改缓存了。 • 这在 Linux 上相当于 ccmake -B build , Windows 则是 cmake-gui -B build 。0 码力 | 166 页 | 6.54 MB | 1 年前3
Harbor Deep Dive - Open source trusted cloud native registrylabels to image and chart Harbor Architecture API Routing API Routing Core Service (API/Auth/GUI) Image Registry Trusted Content Vulnerability Scanning Job Service Admin Service Harbor Key/Value Storage Persistence components Local or Remote Storage (block, file, object) Users (GUI/API) Container Schedulers/Runtimes Consumers LDAP/Active Directory Supporting services Harbor0 码力 | 15 页 | 8.40 MB | 1 年前3
Performance Lets dive into Performance issuesthe main thread. This design has both pro’s and cons • Pros: Easy access to anything dealing with GUI • Bad: Jank when doing lengthy work • Potential Solutions: Worker thread Nested Layouts • Primarily0 码力 | 15 页 | 1.71 MB | 1 年前3
whats new in visual studioLinux targeting Target any Linux distro, including WSL (Windows subsystem for Linux) and WSLg (Linux GUI on Windows 11) C++ IntelliSense can parse remote Linux headers in GCC mode Build remotely via MSBuild0 码力 | 42 页 | 19.02 MB | 6 月前3
C++高性能并行编程与优化 - 课件 - 05 C++11 开始的多线程编程对于高性能并行计算,更好的是多线程。 为什么需要多线程:无阻塞多任务 • 我们的程序常常需要同时处理多个任务。 • 例如:后台在执行一个很耗时的任务,比 如下载一个文件,同时还要和用户交互。 • 这在 GUI 应用程序中很常见,比如浏览 器在后台下载文件的同时,用户仍然可以 用鼠标操作其 UI 界面。 没有多线程:程序未响应 • 没有多线程的话,就必须等文件下载完了 才能继续和用户交互。 •0 码力 | 79 页 | 14.11 MB | 1 年前3
共 5 条
- 1













