@githubtrending · Post #15358 · 23.12.2025 г., 13:00
#cmake CMake-based MinGW-w64 Cross Toolchain https://github.com/shinchiro/mpv-winbuild-cmake
Hashtags
TGINSIGHT SIMILAR POSTS
Изходен канал @clockstackwheels · Post #1043 · 1.12
Пару недель назад достроил атомку в #Satisfactory. Иронично: занимаюсь атомными станциями в реальной жизни по работе, и теперь вот в игре тоже. Понравилось решение разработчиков сделать ядерные отходы неуничтожимыми. Любой ресурс в игре легко удаляется специальной кнопкой, и только атомные энергоблоки производят отходы, которые можно либо переработать очень сложным образом, либо складывать бесконечно куда-то в угол карты. А если хочешь более мощную станцию, то и переработать нельзя, только складывать. Недавно, кстати, состоялся релиз. До этого игра была в «раннем доступе», то есть формально считалась предварительной версией в активной стадии разработки. В релизе же изящно решили сразу две значительные проблемы. Во-первых, теперь можно дорогим и конечным способом точечно масштабировать энергетику и производство в отдельных местах. Это очень нужно ближе к концу игры для тонкой настройки. Во-вторых, и это самое крутое: можно построить специальный телепорт для ресурсов себе в рюкзак. Носить с собой в рюкзаке сколько угодно ресурсов нельзя, и поэтому для действительно масштабного строительства приходилось постоянно бегать на склад, это очень утомляло. Теперь исключительно целях строительства можно забирать ресурсы с некоторой задержкой прямо из места их производства на фабриках, которые ты построил по всей карте. Но конечно для автоматической передачи в цепочках производства так читерить нельзя, и это правильно. Только организация логистики. Игра очень хорошо учит выстраивать процессы и дает понимание ничтожности отдельного элемента, если весь процесс включает тысячи таких элементов. В общем, мастхэв, 350 часов наиграно, и до конца ещё далеко. #games
Hashtags
Търсене: #cmake
@githubtrending · Post #15358 · 23.12.2025 г., 13:00
#cmake CMake-based MinGW-w64 Cross Toolchain https://github.com/shinchiro/mpv-winbuild-cmake
Hashtags
@githubtrending · Post #14656 · 01.05.2025 г., 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 · 02.01.2026 г., 13:05
enable_language(ASM-ATT) 您猜这行 CMake 的意思是什么? 根据文档, 这似乎显式要求了支持 AT&T 语法的汇编器。 但实际上它只是去尝试寻找 GNU as 而已 (不支持 llvm-mc, clang 等)。 如果环境里没有 GNU as, 您可能被坑到😁 #CMake
Hashtags
@uchuukoukaishi · Post #677 · 10.11.2024 г., 04:43
每次搞 #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
@uchuukoukaishi · Post #702 · 31.12.2024 г., 16:22
在一个小项目上第一次试用 #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 · 25.10.2025 г., 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 · 17.03.2026 г., 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 · 23.01.2026 г., 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