diff options
Diffstat (limited to 'doc/qbs.qdoc')
-rw-r--r-- | doc/qbs.qdoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/qbs.qdoc b/doc/qbs.qdoc index 3db14b6ee..80b4764cc 100644 --- a/doc/qbs.qdoc +++ b/doc/qbs.qdoc @@ -325,9 +325,15 @@ The \a name is the name of the product. In this case it is also the name of the produced executable (on Windows, the ".exe" extension is added by default). + In the property \a files, we specify the source files for our product. Unlike QML, the right-hand side can be either a string or a string list. A single string is converted to a stringlist containing just one element. + So we could have also written + + \code + files: [ "main.cpp" ] + \endcode \a Depends adds the dependency to the module \l{Module cpp}{cpp}. This is necessary to let \QBS know that we have a C++ project and want to compile main.cpp with a C++ compiler. For more information |