An open API service indexing awesome lists of open source software.

https://github.com/glitchybyte/gblib

GlitchyByte general C++ library to bootstrap development.
https://github.com/glitchybyte/gblib

cpp

Last synced: 3 months ago
JSON representation

GlitchyByte general C++ library to bootstrap development.

Awesome Lists containing this project

README

          

# GlitchyByte C++ General Purpose Library

### **WORK IN PROGRESS** - **WORK IN PROGRESS** - **WORK IN PROGRESS**

![Version](https://img.shields.io/badge/Version-0.3.1-blue)
![Version](https://img.shields.io/badge/20-white?logo=cplusplus&logoColor=00599C)

## Check the documentation

[Read the docs](https://glitchybyte.github.io/gblib/).

## Include it in your project

You can simply copy `include/glitchybyte` directory into your project.
Or you can include it remotely with *FetchContent*.

Include in your `CMakeLists.txt`:
```cmake
include(FetchContent)

# GBLib.
FetchContent_Declare(
gblib
GIT_REPOSITORY https://github.com/glitchybyte/gblib
GIT_TAG main
)
FetchContent_MakeAvailable(gblib)

# ...and then add it to your `target_link_libraries`:

# Use PUBLIC or PRIVATE if it's a final binary.
target_link_libraries(${PROJECT_NAME} PRIVATE gblib)

# Use INTERFACE if it's a library.
target_link_libraries(${PROJECT_NAME} INTERFACE gblib)
```
In your code:
```cpp
#include
```