mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-19 12:48:05 +00:00
Update readme to include define of CLAY_IMPLEMENTATION
This commit is contained in:
parent
7343a99d0c
commit
c90ff6253a
@ -18,9 +18,11 @@ _An example GUI application built with clay_
|
|||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
1. Download or clone clay.h and include it.
|
1. Download or clone clay.h and include it after defining `CLAY_IMPLEMENTATION` in one file.
|
||||||
|
|
||||||
```C
|
```C
|
||||||
|
// Must be defined in one file, _before_ #include "clay.h"
|
||||||
|
#define CLAY_IMPLEMENTATION
|
||||||
#include "clay.h"
|
#include "clay.h"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user