fileextension.md 444 B

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