Skip to main content

cleanextensions

Specifies one or more file extensions to find and remove when cleaning the project.

cleanextensions { ".ext1", ".ext2" }

Parameters

A list of dot-prefixed file extensions to be cleaned.

Applies To

Project configurations.

Availability

Premake 5.0.0-alpha1 or later. This function is currently implemented only for Visual Studio 2010+.

Examples

Remove .zip files from the output directory when cleaning.

cleanextensions { ".zip" }