diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2013-12-03 00:16:24 +0400 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-02-28 17:21:57 +0100 |
commit | c99d3367f832ff463bebb3bbdeffb1089224b4b5 (patch) | |
tree | 17f75ab62e356a1dc6b322a7d96c57d3123371ed /doc | |
parent | c6ca262d5e83b48a6126357d0cc4f8a811808636 (diff) |
QBS: Add a new linkerScripts property for the CppModule
Linkers of the majority Embedded projects (like the "bare metal" without
an OS) require of the script files which contain directives for placement
a binary code of FW to the desired address space of the target MCU.
When using a QBS project it can be implemented by adding to the
"cpp.linkerFlags" property, e.g. :
cpp.linkerFlags: [ "-T", "<path/to/script/file>" ]
But this solution has a shortcomings related to need to specify a full
paths to the scripts files and so on.
Therefore was introduced a new "cpp.linkerScripts" property which requires
specifying of the list of used scripts files with the relative paths
concerning of the *.qbs project file, e.g. :
cpp.linkerScripts: [ "<scriptfile1>", "<scriptfile2>" ]
Note: This property is implemented only for the GCC compiler module.
Change-Id: I9f30a054e615a1cef8ca022352706eb3448bc7cd
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/modules/cpp-module.qdoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/reference/modules/cpp-module.qdoc b/doc/reference/modules/cpp-module.qdoc index dc21eec49..77625a278 100644 --- a/doc/reference/modules/cpp-module.qdoc +++ b/doc/reference/modules/cpp-module.qdoc @@ -317,6 +317,15 @@ Additional flags for the linker. + \section2 linkerScripts + + \table + \row \li \b{Type:} \li \c{pathList} + \row \li \b{Default:} \li \c{undefined} + \endtable + + List of linker script files. + \section2 compilerName \table |