Precompiled header |
Top Previous Next |
User interface > Translation options > Target options > Precompiled header
Some compilers allow header files to be precompiled into a precompiled header, which then hasn't to be recompiled in future compilations. The point up to which the code is precompiled is marked by a specific file or a pragma. At the target options you can chose a marker, which Delphi2Cpp II then will insert into the generated code.
There are three options:
1. <vcl.h>
normally used with C++Builder. Delphi2Cpp II also appends the line:
#pragma hdrstop
if this option is chosen.
2. "stdafx.h"
normally used with Visual C++.
3. No marker for a precompiled header at all
for other compilers like gcc.
If the options "Use pch.inc" is activated, no include directives are written into the C++ output, with exception of the header of the actual source file. The user can include the pch.inc file into the file for the precompiled headers or into the stdafx.h instead.
|
This page belongs to the DelphiXE2Cpp11 Documentation |
DelphiXE2Cpp11 home Content |