News for hackers. Stuff that matters.
Re:A Tutorial on Portable Makefiles by vvanders on Sunday August 20, 2017 @05:32PM (#15060352)
Use Rust.

Kinda sorta kidding, not-kidding. Usually I'd wrangle CMake into submission since I tend have diverse targets(Win32, Android, Linux, OSX, etc) however Rust(and moreso Cargo) makes this a pleasure to do.

Even native dependencies are straightforward unless there's some sort of build-fu going on(like luajit). You can just pull in the GCC crate, it'll shell out to clang/gcc/msvc and since you're using it in a build.rs you can configure it however you want since it's just another Rust program.

There are no comments on this comment yet.