-
Notifications
You must be signed in to change notification settings - Fork 21
pchsource
starkos edited this page Aug 21, 2013
·
3 revisions
The pchsource function specifies the C/C++ source code file which controls the compilation of the header.
#!lua
pchsource ("sourcefile.cpp")
See Using Precompiled Headers for more information.
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.)
Project configurations.
Premake 4.0 and up.