Skip to content

cleanextensions

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.


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

Projects.

Availability

Premake 5.0 or later. This function is currently implemented only for Visual Studio 201x.

Examples

Remove .zip files from the output directory when cleaning.

cleanextensions { ".zip" }
Clone this wiki locally