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

https://github.com/gnualmalki/holg

header only library generator.
https://github.com/gnualmalki/holg

c cli cpp generator header-only tool

Last synced: about 2 months ago
JSON representation

header only library generator.

Awesome Lists containing this project

README

          

# HOLG
A cli tool to generate a header only library for C/C++ projects.

# Installation

### Recommended (script)
```console
curl -L https://raw.githubusercontent.com/makestatic/holg/main/scripts/install.sh | bash
```

### Manual
```console
git clone https://github.com/makestatic/holg.git
cd holg
cargo build --release
```

# Usage
```console
holg [] [OPTIONS]

OPTIONS:
-o, --out Output header file (default: holg.h)
-i, --impl Implementation macro guard (default: HOLG_IMPLEMENTATION)
-h, --help Show this help message
-v, --version Show version

Example:
holg src/include src/lib -o combined.h -i MY_HEADER
```

# License
This project is licensed under the MIT license; see full license [here](LICENSE).