Skip to content
Jason Perkins edited this page May 29, 2015 · 2 revisions

Specifies the target file extensions for a custom build rule.

fileextension "ext"

Parameters

ext is the target file extension for the rule, including the leading dot.

Applies To

Rules.

Availability

Premake 5.0 or later.

Examples

rule "Cg"
  display "Cg Compiler"
  fileextension ".cg"

See Also

Clone this wiki locally