-
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add variable to specify compilation mode
- Loading branch information
Showing
2 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Gosub Bindings | ||
These are the bindings the expose some of Gosub's engine to the world via a C API. Typically these will be used by user agents. | ||
|
||
## Building | ||
By default, the bindings will be built in release mode. You can modify this by specifying a `MODE` variable: | ||
```text | ||
export MODE=Debug # or MODE=Release (default) | ||
make bindings | ||
make test | ||
``` | ||
|
||
or alternatively specify it manually (not recommended) | ||
```text | ||
make bindings MODE=Debug | ||
make test MODE=Debug | ||
``` | ||
|
||
This approach is not recommended because if you forget to specify it, it will default to release mode and you may be using the wrong version. |