winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/fileextension.md

35 lines
444 B
Markdown
Raw Normal View History

2024-09-24 12:54:57 +00:00
Specifies the target file extensions for a [custom build rule](Custom-Rules.md).
```lua
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 ###
```lua
rule "Cg"
display "Cg Compiler"
fileextension ".cg"
```
### See Also ###
* [Custom Rules](Custom-Rules.md)
* [rule](rule.md)