Compiling C/C++ Projects Using xmake
I was accustomed to using CMake and vcpkg on Windows to compile C/C++ programs. However, vcpkg has a drawback: each time it is updated, it requires downloading the source code from GitHub to compile the library files. For large libraries like Qt, the compilation alone can take an entire day, which is impractical, not to mention connection issues caused by DNS problems.
First, let’s outline the requirements. The main requirements for a C/C++ package manager are as follows: