Skip to content

pchsource

starkos edited this page Apr 10, 2021 · 7 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Specifies the C/C++ source code file which controls the compilation of the header.

pchsource ("sourcefile.cpp")

See Precompiled Headers for more information.

Parameters

sourcefile.cpp is the name of the source code which triggers the compilation of the header. This file must contain the header file's #include statement as the first line of code; this is usually the only statement in the file.

(Can anyone find a good link to this in the MSDN docs? They just rearranged the site and I'm not finding anything useful right now.)

Applies To

Project configurations.

Availability

Premake 4.0 and up.

See Also

Clone this wiki locally