aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/modules/cpp-module.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/modules/cpp-module.qdoc')
-rw-r--r--doc/reference/modules/cpp-module.qdoc58
1 files changed, 57 insertions, 1 deletions
diff --git a/doc/reference/modules/cpp-module.qdoc b/doc/reference/modules/cpp-module.qdoc
index 9925c1a57..1628bc80e 100644
--- a/doc/reference/modules/cpp-module.qdoc
+++ b/doc/reference/modules/cpp-module.qdoc
@@ -618,6 +618,38 @@
*/
/*!
+ \qmlproperty string cpp::objectSuffix
+
+ A string to append to the generated object files.
+
+ \defaultvalue \l{qbs::toolchain}{toolchain}-dependent, typical values are \c ".o" or \c ".obj"
+*/
+
+/*!
+ \qmlproperty string cpp::linkerMapSuffix
+
+ A string to append to the generated linker memory map files.
+
+ \defaultvalue \l{qbs::toolchain}{toolchain}-dependent, typical value is \c ".map"
+*/
+
+/*!
+ \qmlproperty string cpp::compilerListingSuffix
+
+ A string to append to the generated compiler listing files.
+
+ \defaultvalue \l{qbs::toolchain}{toolchain}-dependent, typical value is \c ".lst"
+*/
+
+/*!
+ \qmlproperty string cpp::assemblerListingSuffix
+
+ A string to append to the generated assembler listing files.
+
+ \defaultvalue \l{qbs::toolchain}{toolchain}-dependent, typical value is \c ".lst"
+*/
+
+/*!
\qmlproperty pathList cpp::prefixHeaders
\since Qbs 1.0.1
@@ -1367,11 +1399,24 @@
Set this property to force the use of a specific linker. A non-empty value
will result in the \c {-fuse-ld} option being emitted when linking with \c gcc,
- \c clang or \c clang-cl.
+ \c clang or \c clang-cl. Other toolchains do not support this property.
The possible values for \c clang and \c gcc are \c "bfd", \c "gold" and \c "lld",
the possible values for \c clang-cl are \c "link" and \c "lld".
+ The following example demonstrates how to change the linker for different toolchains:
+
+ \code
+ Properties {
+ condition: qbs.toolchain.contains("gcc")
+ cpp.linkerVariant: "gold"
+ }
+ Properties {
+ condition: qbs.toolchain.contains("clang-cl")
+ cpp.linkerVariant: "lld"
+ }
+ \endcode
+
\nodefaultvalue
*/
@@ -1869,3 +1914,14 @@
\defaultvalue \c{true}
*/
+
+/*!
+ \qmlproperty string cpp::windowsSdkVersion
+ \since Qbs 1.19
+
+ Which Windows SDK version should be used with MSVC toolchain. By default,
+ the latest SDK is used.
+
+ \windowsproperty
+ \nodefaultvalue
+*/