Skip to content

forceincludes

starkos edited this page Apr 10, 2021 · 3 revisions

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


Applies one or more "forced include" files to the project; these includes behave as it they had been injected into the first line of each source file in the project.

forceincludes  { "files" }

Parameters

files specifies a list of files to be force included. Paths should be specified relative to the currently running script file.

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Examples

forceincludes { "stdafx.h" }
Clone this wiki locally