Custom Rule
We can use rule() to define custom build rules to handle specific file types or build logic.
For a custom rules tutorial, see Custom Rules Guide. For the complete API, see Custom Rule API. For built-in rules, see Built-in Rules.
Basic Example
xmake.lua
Build and Run
bash
$ xmake