Earlier quoted context omitted.
Does this work across linux, mac and windows cross platform projects?
vcpkg the tool is cross platform. Of course not all libraries in vcpkg are cross platform, but most are.
A different approach to building C++ projects
71–74 of 74 posts
Re: A different approach to building C++ projects
#72This is sort of unrelated, but that reminds me that one of my biggest issues with learning C++ was how I was expected to deal with libraries (particularly on Linux, where conventions will even differ between distros) and building the project. Most guides or what have you sort of teach you how to compile a file or two, but you quickly run into issues that are difficult to solve for a complete beginner without a direct…
I agree, it’s so horrible. Passing flags to a compiler for some Byzantine rule just to change lord knows what, but it all works now. What on earth.
Re: A different approach to building C++ projects
#73Earlier quoted context omitted.
Same here and I am dreading starting back up again. Are there any Gradle /npm like package managers that might simplify this? Looking for something that is still alive in 2023
Conan works pretty well. There is also vcpkg, but I haven't used it. But are current and maintained.
Re: A different approach to building C++ projects
#74Earlier quoted context omitted.
> whatever it is, you need to _learn_ it. The problem in my experience is you invest time learning build system A, then a year later build system B comes out, and not only do you need to relearn a bunch of stuff again, often build system B does some of the stuff of system A but not all of it, plus it does new stuff that you've never encountered before. Then this cycle repeats, endlessly, and every new team you join h…
Who says you have to learn tool B just because it was released? Just ignore it and keep using A.
Just like in the last 2-3 years, every single new team I've joined is using kubernetes from day 1. Cargo culting is a huge force.