Doc: Describe forwarding command line flags to Clang code model

...for generic projects.

Change-Id: Icf0a159dffba7870a584174a013dafcf3c0c67ee
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Leena Miettinen
2019-03-20 15:14:40 +01:00
parent 613e15dba6
commit 72e3a803d4

View File

@@ -71,6 +71,10 @@
\li .creator \li .creator
\li \l{Forwarding Flags to Clang Code Model}{.cflags}
\li \l{Forwarding Flags to Clang Code Model}{.cxxflags}
\endlist \endlist
\endlist \endlist
@@ -126,6 +130,14 @@
#define NAME value #define NAME value
\endcode \endcode
\section1 Forwarding Flags to Clang Code Model
The \c {.cxxflags} and \c {.cflags} files contain command line flags for the
Clang code model, one flag per line.
For example, specify the \c {-std=c++11} to set the language version
for parsing as C++11.
\section1 Providing Deployment Information \section1 Providing Deployment Information
If you want to run your application on an embedded Linux device, you first need to If you want to run your application on an embedded Linux device, you first need to