TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Xmake and C/C++ Package Management

39 pointsby danny0zabout 3 years ago

6 comments

smackeyackyabout 3 years ago
I know I&#x27;m getting old but the naming of the project really irks me. If it has an &quot;x&quot; in front of it, I expect it needs X Windows and tosses up some kind of gui.<p>Also, being old, I don&#x27;t know why anybody would want to introduce Node style dependency hell into any C++ project when &quot;configure&quot; exists. <a href="https:&#x2F;&#x2F;thoughtbot.com&#x2F;blog&#x2F;the-magic-behind-configure-make-make-install" rel="nofollow">https:&#x2F;&#x2F;thoughtbot.com&#x2F;blog&#x2F;the-magic-behind-configure-make-...</a>
评论 #30741173 未加载
MaxBarracloughabout 3 years ago
&gt; there are already many powerful C&#x2F;C++ package managers, the most well-known and most used are: vcpkg, conan, conda, etc. Although they are very powerful, they have a common problem: The build system doesn&#x27;t have built-in support for them.<p>CMake supports pkg-config, for what that&#x27;s worth.
评论 #30737413 未加载
评论 #30738081 未加载
评论 #30740964 未加载
mc4ndr3about 3 years ago
cmake does provide support for conan and other C&#x2F;C++ ecosystem tools via plugins. It works okay.<p>I&#x27;m not sure adding a layer of Lua helps the situation.<p>cmake isn&#x27;t perfect, but the best we have for now. The C++ community has unfortunately been loathe to select a language-wide build tool cum package manager. It&#x27;s like the early days of Go with all the warring Go dependency systems.
评论 #30735124 未加载
yakubinabout 3 years ago
Has anyone here used xmake in anger? How did it fare?
评论 #30735433 未加载
评论 #30735063 未加载
synergy20about 3 years ago
used it briefly, seems great to me.<p>it needs some big sponsorship to be mainstream, a very promising project, best wishes.
评论 #30738378 未加载
moltkeabout 3 years ago
I still don&#x27;t understand what&#x27;s wrong with writing eg spec files and letting yum&#x2F;rpm manage the packages. That&#x27;s what we do where I work.
评论 #30737419 未加载