CppLibrary
C++ library. More...
| Since: | Qbs 3.2 |
| Inherits: | |
| Inherited By: |
- List of all members, including inherited members
- CppLibrary is part of List of All Items.
Properties
- headersDirectoryName : string
- privateHeaders : stringList
- privateHeadersDirectory : string
- publicHeaders : stringList
- publicHeadersDirectory : string
Detailed Description
A CppLibrary is an Library that has a dependency on the cpp module.
It also provides additional properties to ease the installation of public and private headers.
Property Documentation
[since Qbs 3.2] headersDirectoryName : string |
The name of the directory where headers are installed.
Default: Product.targetName
This property was introduced in Qbs 3.2.
[since Qbs 3.2] privateHeaders : stringList |
The list of the private headers.
Files are autoatically tagged with the "hpp" tag and are installed to privateHeadersDirectory if library installation is requested.
On Apple platforms, if isBundle is true, files are also tagged as "bundle.input.public_hpp" and are copied into the PrivateHeaders directory within the bundle.
Default: []
This property was introduced in Qbs 3.2.
[since Qbs 3.2] privateHeadersDirectory : string |
The directory where to install private headers.
Default: installpaths.headers + "/" + headersDirectoryName + "/private"
This property was introduced in Qbs 3.2.
[since Qbs 3.2] publicHeaders : stringList |
The list of the public headers.
Files are autoatically tagged with the "hpp" tag and are installed to publicHeadersDirectory if library installation is requested.
On Apple platforms, if isBundle is true, files are also tagged as "bundle.input.public_hpp" and are copied into the Headers directory within the bundle.
Default: []
This property was introduced in Qbs 3.2.
[since Qbs 3.2] publicHeadersDirectory : string |
The directory where to install public headers.
Default: installpaths.headers + "/" + headersDirectoryName
This property was introduced in Qbs 3.2.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.