[QBS] Framework creation
Алексей Сидоров
gorthauer87 at ya.ru
Sun Sep 9 16:35:33 CEST 2012
Hi all,
Need a commn way to create frameworks whethever Unix libraries with pkgconfig
files or MacosX Frameworks.
I think it requires a module that I knew would be the right way to install the
public headers,
private headers, resource files, and which can add a version string and
description of framework.
Suggest syntax:
Framework {
name: "foo"
headersDir: "Foo"
versionString: "1.0.0"
descriptionString: "Foo library"
//some additional info
authors: ["Aleksey Sidorov"]
files: [...]
Group {
fileTags: "public_headers"
files: [...]
}
Group {
fileTags: "private_headers"
files: [...]
}
Group {
fileTags: "resources"
files: [...]
}
}
Or:
Framework {
name: "foo"
headersDir: "Foo"
versionString: "1.0.0"
descriptionString: "Foo library"
//some additional info
authors: ["Aleksey Sidorov"]
files: [...]
Group {
qbs.installDir: destinationHeaders
files: [...]
}
Group {
qbs.installDir: destinationHeadersPrivate
files: [...]
}
Group {
qbs.installDir: destinationResources
files: [...]
}
}
More information about the Qbs
mailing list