summaryrefslogtreecommitdiff
path: root/share/qbs/modules/cpp/CppModule.qbs
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2021-03-28 18:21:15 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2021-03-30 13:58:27 +0000
commit119ae17573193dc81969e954f2dde47172437fa9 (patch)
treed067c8474dcbd56a6abdc98c17e6d74859a8b927 /share/qbs/modules/cpp/CppModule.qbs
parent6dce3eae9f96a34c9bdf5e5df2dfbc0e2c4c6209 (diff)
downloadqbs-119ae17573193dc81969e954f2dde47172437fa9.tar.gz
Share cpp::objectSuffix property
It makes sense to add the cpp.objectSuffix property to the base CppModule due the following reasons: 1. It is possible that the user wants to change the extension for the generated object files, which makes working with Qbs more flexible. 2. It will be easier to write an autotests that check the generation of the object files for a bare metal platforms, where object files can have various extensions such as ".rel", ".r90", ".r43", and so forth. Change-Id: Ib73836d5e614a6924d312d061f02437c3b318785 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/CppModule.qbs')
-rw-r--r--share/qbs/modules/cpp/CppModule.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/CppModule.qbs b/share/qbs/modules/cpp/CppModule.qbs
index ca89bbd63..61c9c3f65 100644
--- a/share/qbs/modules/cpp/CppModule.qbs
+++ b/share/qbs/modules/cpp/CppModule.qbs
@@ -186,6 +186,7 @@ Module {
property string debugInfoBundleSuffix: ""
property string variantSuffix: ""
property string dynamicLibraryImportSuffix: ".lib"
+ property string objectSuffix: ".o"
property bool createSymlinks: true
property stringList dynamicLibraries // list of names, will be linked with -lname
property stringList staticLibraries // list of static library files