Skip to content

fileextension

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 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