1 2 3 4 5 6 7 8 9 10
import qbs.base 1.0 Product { type: "staticlibrary" name: "lol" files: [ "lib.cpp" ] cpp.defines: ['CRUCIAL_DEFINE'] Depends { name: 'cpp' } }