In cmake you can use ExternalProject_Add to extract and build third party libraries. A simple example for building curl looks like:
CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR>
I'd like to do something similar with qbs but this is my "learn qbs" project. How would I do something like this?