premake/website/docs/fileextension.md
2021-03-12 22:10:24 +01:00

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