2024-07-23 09:41:03 +08:00
|
|
|
llcppg - Autogen tool for C/C++ libraries
|
|
|
|
|
====
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
llcppg [config-file]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
If `config-file` is not specified, a `llcppg.cfg` file is used in current directory. The configuration file format is as follows:
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"name": "inireader",
|
|
|
|
|
"cflags": "$(pkg-config --cflags inireader)",
|
|
|
|
|
"include": [
|
|
|
|
|
"INIReader.h",
|
|
|
|
|
"AnotherHeaderFile.h"
|
|
|
|
|
],
|
2024-07-25 17:23:34 +08:00
|
|
|
"libs": "$(pkg-config --libs inireader)",
|
|
|
|
|
"trimPrefixes": ["Ini", "INI"]
|
2024-07-23 09:41:03 +08:00
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Design
|
|
|
|
|
|
2024-07-25 17:23:34 +08:00
|
|
|
See [llcppg Design](design.md).
|