Skip to content

cleanextensions

Jason Perkins edited this page May 6, 2015 · 3 revisions

The cleanextensions function specifies one or more file extensions to find and remove when cleaning the project.

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

This function is currently implemented only for Visual Studio 201x.

Parameters

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

Applies To

Solutions, projects, and project configurations.

Availability

Premake 5.0 or later.

Examples

Remove .zip files from the output directory when cleaning.

cleanextensions { ".zip" }

Clone this wiki locally