This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/pchheader.md
2021-03-12 22:10:24 +01:00

817 B

Specifies the #include form of the precompiled header file name.

pchheader ("name.h")

See Precompiled Headers for more information.

Parameters

name.h is the name of the precompiled header, as it is specified in the #include statements of the project source code. If your source code includes the header like this:

#include "myproject.h"

...specify the header in your script like this, even if the file itself is located on a different path relative to the project (and presumably found at compile time via the include file search paths):

pchheader "myproject.h"

Applies To

Project configurations.

Availability

Premake 4.0 and up.

See Also