--- outline: deep --- # Custom Rule We can use `rule()` to define custom build rules to handle specific file types or build logic. ## Basic Example ### Build and Run ```bash $ xmake ```