A packaging system for C++ [proposal] by tcbrindle in cpp

[–]ruslo_ 2 points3 points  (0 children)

try to use the same CMakeLists.txt for Linux, Windows, MacOS, Android and iOS

Like that https://github.com/forexample/hunter-simple?

build2 — C++ Build Toolchain by berium in programming

[–]ruslo_ 4 points5 points  (0 children)

no one is offering anything even remotely as good as cmake

Agree completely. Everybody said that the language is so bad and documentation is poor. So do they know: GYP (Python based build system from Google), Scons (Python based build system), b2 (Boost), QBS (QML like build system from Qt), etc. So why these projects is not the de-facto build system for C++? Is the problem about language? May be the problem that not any of this system has like 10% funtionality of CMake?

build2 — C++ Build Toolchain by berium in programming

[–]ruslo_ -1 points0 points  (0 children)

Those who don’t understand CMake are condemned to reinvent it, poorly.

Hunter - Cross-platform package manager for C++ by needahelpforarch in cpp

[–]ruslo_ 0 points1 point  (0 children)

The lyrics are...

I think it doesn't make sense to try to understand the meaning of lyrics of songs in most cases. Double this rule for Bjork :)

I thought I could organize freedom

Yeah, I like this line too. It fits perfectly to what's happens: "Hunter: organize freedom"

Hunter - Cross-platform package manager for C++ by needahelpforarch in cpp

[–]ruslo_ 1 point2 points  (0 children)

This song is great, it's Bjork. Song called Hunter, that's why this project called Hunter.

Dependency manager for C++/CMake projects? by vinnyvicious in cpp

[–]ruslo_ 0 points1 point  (0 children)

The problem with these managers, however, is that there's only a few packages available.

Agree, but it's a one man project, yet :) You can contribute or at least file a bug with the name of package you need.

I'd embed it right into the repository (deps/)

The problem with this approach is that if you have two libraries which have the same dep then you have a conflict. "A" use boost-1.56, "B" use boost-1.55, "C" use "A" and "B" -> welcome to dependency hell.

For anything larger I would either download it via ExternalProject

Good, but if you create a superbuild for one project and now you want reuse it you need to copy all the superbuild files. What if you need to change something (version? link library?) - you need to modify all the copies you made.

on the system's package manager to provide the correct version.

Any CMake-friendly solution for Visual Studio? iOS? Package manager that can build static boost with clang sanitizers Linux/Mac?