15 ms·
The way it works is that if you ship an executable, then you can do whatever you want as long as it ends up building it. If you ship a library, then you need t
by palata 4y ago
The way it works is that if you ship an executable, then you can do whatever you want as long as it ends up building it.
If you ship a library, then you need to provide a way to install it somewhere, and ideally a way to find it (e.g. pkg-config, at least on Linux).
If you need to use CMake because your dependencies use CMake, you are doing something wrong. I typically build dependencies with all sorts of build systems, I just don't mind. I just need them to be installed somewhere such that CMake can find them.