mirror of
https://codeberg.org/spire/nix.git
synced 2026-06-03 18:04:10 +02:00
add helper for includes
This commit is contained in:
parent
6e4a4d1ead
commit
06c8e7370f
3 changed files with 30 additions and 11 deletions
10
README.md
10
README.md
|
|
@ -40,5 +40,11 @@ buildSourcePawnScript {
|
|||
};
|
||||
```
|
||||
|
||||
By default the sourcemod includes are available.
|
||||
Additional includes can be added by setting the `includes` argument to an array of packages containing an `include` folder containing the `.inc` files.
|
||||
By default, the sourcemod includes are available.
|
||||
|
||||
Additional includes can be added by setting the `includes` argument to an array of packages containing an `include` folder containing the `.inc` files.
|
||||
A helper is provided to create include packages:
|
||||
|
||||
```nix
|
||||
sourcepawn.buildInclude [./cURL.inc ./cURL_header.inc]
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue