aboutsummaryrefslogblamecommitdiffstats
path: root/docs/C.md
blob: 32a96278ff6ed1f3a8c0d0a546ce748e7415f9fd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
           
                                                                                                                                                  
              
 



                                                                               
 
                    
 
                

                                        


           
 

                                     
 




                                        
 




                   
 




              
          
                                                                                                           
# liboCusts

[![C](https://github.com/locusts-r-us/locusts/actions/workflows/c.yml/badge.svg)](https://github.com/locusts-r-us/locusts/actions/workflows/c.yml)

## Description

liboCusts is a library that provides a way to introduce locusts into your code.

Why would you want to do that? I don't know.

## Example

```c
#include "locusts.h"

int main(void) {
 introduce_locusts();
 /* Locusts are now in your codebase! */
 return 0;
}
```

## Building

Multiple build systems are supported.

### Meson

```sh
meson setup builddir --buildtype=release
meson compile -C builddir
```

### CMake

```sh
cmake -S . -B build
cmake --build build
```

### Autoconf

```sh
autoreconf -fi
./configure
make
```

## License

This project is licensed under the BSD Zero Clause License. See the [LICENSE](../LICENSE) file for details.