What's build.py for

This commit is contained in:
Mason Sciotti 2017-11-14 20:40:32 -08:00 committed by GitHub
parent 6e744d228f
commit 767b15184f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,8 @@ Sometimes I use the generated project files. There are a couple of CMake options
| `ENABLE_IO_THREAD` | `ON` | When enabled, we start up a thread to do io processing, if disabled you should call `Discord_UpdateConnection` yourself. | `ENABLE_IO_THREAD` | `ON` | When enabled, we start up a thread to do io processing, if disabled you should call `Discord_UpdateConnection` yourself.
| `BUILD_DYNAMIC_LIB` | `OFF` | Build library as a DLL | `BUILD_DYNAMIC_LIB` | `OFF` | Build library as a DLL
You can also try the `build.py` script for an easy compile for whatever OS you are on.
## Sample: send-presence ## Sample: send-presence
This is a text adventure "game" that inits/deinits the connection to Discord, and sends a presence This is a text adventure "game" that inits/deinits the connection to Discord, and sends a presence