forked from qt-creator/qt-creator
Doc: Describe using precompiled headers in generic projects
Users can add the pch tag after a file path in .files. Task-number: QTCREATORBUG-26610 Change-Id: I55cc6ef86c6371658845d233614bebad2a20e35d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -113,6 +113,16 @@
|
||||
git ls-files "*.cpp" "*.h" > MyProject.files
|
||||
\endcode
|
||||
|
||||
\section2 Precompiled Headers
|
||||
|
||||
To use precompiled headers in a generic project, add the \c pch tag after
|
||||
a file path in the \c .files file, separated by the pipe character (|).
|
||||
For example:
|
||||
|
||||
\badcode
|
||||
src/pch.h|pch
|
||||
\endcode
|
||||
|
||||
\section1 Specifying Include Paths and Framework Paths
|
||||
|
||||
The include paths are specified in the \tt{.includes} file, one include
|
||||
|
Reference in New Issue
Block a user