llcppg design

This commit is contained in:
xushiwei
2024-07-23 09:41:03 +08:00
parent 635eea7acb
commit e060208417
2 changed files with 73 additions and 6 deletions

26
chore/llcppg/README.md Normal file
View File

@@ -0,0 +1,26 @@
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"
],
"libs": "$(pkg-config --libs inireader)"
}
```
## Design
See [Design of llcppg](design.md).