precompile_target

Specifies the file name for a precompiled header file.

Syntax

#pragma precompile_target filename

Parameters

filename

Filename can be a simple filename or an absolute pathname. If filename is a simple filename, the compiler saves the file in the same folder as the source file. If filename is a path name, the compiler saves the file in the specified folder.

Targets
All platforms.
Remarks

This pragma specifies the filename for a precompiled header file. If you do not specify the filename, the compiler gives the precompiled header file the same base name as its source file minus any extension and prepended with the “#” character. For example, this_file becomes #this_file.

This pragma does not correspond to any panel setting.