PRECOMPILED_TARGET (Compact 2013)

3/26/2014

This macro definition specifies an optional, nonstandard target file name for the precompiled target file.

By default, the names of the precompiled object (.obj) and header (.pch) files are determined from the value of the PRECOMPILED_INCLUDE macro.

For example, if you enter the following code example in your documentation, the .obj file is named Precomp.obj and the .pch file is named Precomp.pch. By default, both of these files are created in the $(_OBJDIR) folder.

PRECOMPILED_INCLUDE=precomp.h

To override these target file names, you can set PRECOMPILED_OBJ and PRECOMPILED_PCH. To override the file name and location of the .pch file, use PRECOMPILED_TARGET.

See Also

Concepts

Sources File
PRECOMPILED_OBJ
PRECOMPILED_PCH
PRECOMPILED_INCLUDE