144
Cmake me! (infosec.pub)
submitted 9 months ago by 0x4E4F@infosec.pub to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] ace@lemmy.ananace.dev 52 points 9 months ago

People love to complain about CMake, often with valid complaints as well. But it - to this day - remains the only build system where I'll actually trust a project when they say they are cross-platform.

Being the Windows maintainer for OpenMW, it used to be absolute hell back a decade and half ago when an indirect dependency changed - and used something like SCons or Premake while claiming to be "cross-platform", used to be that I had to write my own build solutions for Windows since it was all hardcoded against Linux paths and libraries.

CMake might not be the coolest, most hip, build system, but it delivers on actually letting you build your software regardless of platform. So it remains my go-to for whenever I need to actually build something that's supposed to be used.
For personal things I still often hack together a couple of Makefiles though, it's just a lot faster to do.

[-] uis@lemmy.world 10 points 9 months ago

CMake and meson aren't build systems, they are generators. If you want to use Ninja, just add -G Ninja.

[-] AMDIsOurLord@lemmy.ml 8 points 9 months ago

Cross platform

(*As long as your platform isn't shite)

this post was submitted on 02 Dec 2023
144 points (100.0% liked)

linuxmemes

20754 readers
1415 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS