@githubtrending · Post #15358 · 2025/12/23 13:00
#cmake CMake-based MinGW-w64 Cross Toolchain https://github.com/shinchiro/mpv-winbuild-cmake
Hashtags
Flare Stack Blog ——基于 Cloudflare Workers 的现代化全栈博客 CMS ## 核心功能 • 文章管理 — 富文本编辑器,支持代码高亮、图片上传、草稿/发布流程 • 标签系统 — 灵活的文章分类 • 评论系统 — 支持嵌套回复、邮件通知、审核机制 • 友情链接 — 用户申请、管理员审核、邮件通知 • 全文搜索 — 基于 Orama 的高性能搜索 • 媒体库 — R2 对象存储,图片管理与优化 • 用户认证 — GitHub OAuth 登录,权限控制 • 数据统计 — Umami 集成,访问分析与热门文章 • AI 辅助 — Cloudflare Workers AI 集成 • 主题系统 — 可扩展的主题模板,支持完整替换所有页面和布局 • 导入导出 — 支持Markdown导入导出,保留图片以及Frontmatter Flare Stack Blog 的所有面向用户的页面与布局均通过 主题契约(Theme Contract) 与业务逻辑解耦。你可以在不修改任何路由或数据逻辑的前提下,完整替换博客的视觉表现层。 项目地址:https://github.com/du2333/flare-stack-blog #Platform#Cloudflare 频道:@FindBlog 群组:@FindBlog_Group
Hashtags
搜索 #cmake
@githubtrending · Post #15358 · 2025/12/23 13:00
#cmake CMake-based MinGW-w64 Cross Toolchain https://github.com/shinchiro/mpv-winbuild-cmake
Hashtags
@githubtrending · Post #14656 · 2025/05/01 14:00
#cmake The SO-101 robotic arm improves upon the SO-100 with easier assembly, better motors, and redesigned wiring, working seamlessly with the open-source LeRobot library for AI development. You can build it yourself using 3D-printed parts and off-the-shelf components or buy pre-assembled kits, offering an affordable way to experiment with AI-driven robotics through hands-on learning and community collaboration. https://github.com/TheRobotStudio/SO-ARM100
Hashtags
@KbsEcho · Post #689 · 2026/01/02 13:05
enable_language(ASM-ATT) 您猜这行 CMake 的意思是什么? 根据文档, 这似乎显式要求了支持 AT&T 语法的汇编器。 但实际上它只是去尝试寻找 GNU as 而已 (不支持 llvm-mc, clang 等)。 如果环境里没有 GNU as, 您可能被坑到😁 #CMake
Hashtags
每次搞 #cmake 都能积累一些新槽点。今天先吐槽一个最基本的:跑命令。(以后再发别的,免得一下把包袱抖完了……) 众所周知cmake有configure,build,install三个phase,那么在这三个phase里怎么执行命令呢? configure: execute_process(COMMAND foo) build: add_custom_command 或 add_custom_target 看着还行,那 install 应该也很简单吧!不然: install: install(CODE "execute_command(COMMAND foo)") 更糟糕的是,这还只是cmake不一致性的冰山一角,别的留待以后再吐槽。 当然,哪怕就这一点到这里槽点还没结束。假设你要glob复制一些build出来的文件,应该怎么做? 首先,把glob放在顶层的最简单的做法是错的,因为它是在configure phase运行的。 file(GLOB ARTIFACTS "*.txt") install(CODE "${CMAKE_COMMAND} -E ${ARTIFACTS} \"${DIR}\"") 那么正确做法确实就是把glob塞到这个CODE字符串里面,于是呢,转义又有得玩了…
Hashtags
在一个小项目上第一次试用 #meson 就得到一个大大的惊喜!感觉比 #cmake 好用很多! 以这个「静态链接 submodule 里的 librime」为例: - 你可以直接 import cmake target! - 你可以像 cmake ExternalProject 一样设定 configure options,但同时能拿到完整的 target 信息! - 同时,subproject 会被整合到当前项目构建里(类似 cmake add_subdirectory),所以如果 subproject 里有修改,不需要做任何事,正常构建就可以正确rebuild。而且不会污染外部的变量、 option 和 target 命名空间。 - 在查询 dependency lib 时,可以设定一个 static 参数,用来控制是否优先选择静态库,它的值由 一个全局的参数 --prefer-static 控制,于是你可以一键把所有依赖都静态链接掉 - 静态库中一些对象文件可能会有 constructor 需要 -Wl,--whole-archive,这里只需要 as_link_whole() 创建一个新的 dependency 对象就可以了 - 最后,它可以正确处理所有静态库的依赖(因为可以取出完整的 target 信息),而不需要手动传递被依赖的库。如果用 cmake ExternalProject 构建静态库再链接,就会丢失掉所有相关信息,要手动补全。 虽然图上的这点代码做的事很简单,就是构造一个静态的 librime 再链接到可执行文件里,但在 cmake 里不管怎么做都很麻烦。 ---- 而且还充满了各种贴心的小设计: > Another thing to note is that include_directories adds both the source directory and corresponding build directory to include path, so you don't have to care.
@githubtrending · Post #15247 · 2025/10/25 12:30
#cmake#audio#ios#linux#macos#plugins#sdk#vst3#win32 VST 3 is an improved version of the VST audio plug-in interface. It offers several benefits, including better performance by only processing audio when needed, dynamic input/output configurations, and precise automation. Users can also enjoy a more organized interface and support for advanced audio features like 3D sound. These improvements make it easier for developers to create plugins and for users to work with them in digital audio workstations (DAWs), enhancing overall audio production efficiency. https://github.com/steinbergmedia/vst3sdk
@githubtrending · Post #15567 · 2026/03/17 11:30
#cplusplus#apple_silicon#bsd#c_plus_plus#cmake#floss#game#gplv2#json#linux#lua#macos_app#python#strategy#windows Widelands is a free, open-source real-time strategy game like Settlers II, where you lead a small clan to build roads, gather resources like wood and gold, manage four unique tribes, trade, or fight in single-player campaigns and multiplayer. Download it easily for Windows, Mac, or Linux, or compile from source with simple scripts and tools like CMake on various systems. This lets you enjoy deep, replayable empire-building fun at no cost, anytime with friends or AI. https://github.com/widelands/widelands
@githubtrending · Post #15431 · 2026/01/23 13:30
#cplusplus#3d_engine#arm64#cmake#cplusplus#cpp17#d3d11#directx#directx11#engine#game#game_engine#gamedev#mod#opengl#opensource#sdl#sdl2#stalker#x64#xray_engine OpenXRay is a free, improved version of the X-Ray Engine for S.T.A.L.K.E.R. games like Call of Pripyat and Clear Sky. It adds 64-bit support, higher FPS, bug fixes, modding tools, and runs on Linux, macOS, and more. This benefits you with smoother, more stable gameplay, better performance on modern or non-Windows PCs, and easy access to new mods without changing the classic feel. https://github.com/OpenXRay/xray-16