I have a C/C++ project that was written to be configured with CMake
. I'm trying to learn Qbs
by converting it to use Qbs
. It happen there are .h.in
files that in CMake
are configured using the configure_file()
function. For example in CMake
a file named bson-version.h.in
is converted to bson-version.h
using the below code.
configure_file (
"${SOURCE_DIR}/src/bson/bson-version.h.in"
"${PROJECT_BINARY_DIR}/src/bson/bson-version.h"
)
How can this be achieved in Qbs? I'm on Windows 10 x64.