You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides a way to reference projects that were created manually, or outside of Premake.
externalproject ("project")
The externalproject() function behaves the same as project(), taking a name argument that is used as the project's file name.
Parameters
project is name of the project. If no explicit filename is provided (using filename) the appropriate file extension will be added for the current action: ".vcproj" for Visual Studio 2008, ".vcxproj" for Visual Studio 2010, etc.
Availability
Premake 5.0 or later; currently Visual Studio only.
The calls to uuid(), kind(), and language() are mandatory; this information is needed to properly assemble the Premake-generated workspace. The call to location() is optional and used to locate the directory containing the external project file.
The external project file does not need to exist at the time the workspace is generated.