From 72e3a803d402924952f83794cbadf43c1b482aac Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 20 Mar 2019 15:14:40 +0100 Subject: [PATCH] Doc: Describe forwarding command line flags to Clang code model ...for generic projects. Change-Id: Icf0a159dffba7870a584174a013dafcf3c0c67ee Reviewed-by: Marco Bubke --- .../creator-only/creator-projects-generic.qdoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/src/projects/creator-only/creator-projects-generic.qdoc b/doc/src/projects/creator-only/creator-projects-generic.qdoc index 15567d67a19..2a387de1a71 100644 --- a/doc/src/projects/creator-only/creator-projects-generic.qdoc +++ b/doc/src/projects/creator-only/creator-projects-generic.qdoc @@ -71,6 +71,10 @@ \li .creator + \li \l{Forwarding Flags to Clang Code Model}{.cflags} + + \li \l{Forwarding Flags to Clang Code Model}{.cxxflags} + \endlist \endlist @@ -126,6 +130,14 @@ #define NAME value \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 If you want to run your application on an embedded Linux device, you first need to