-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor changes to build and updated readme
- Loading branch information
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# CLibs | ||
My set of C libraries | ||
|
||
| **Library** | **Purpose** | | ||
|-------------|-------------------------------------------| | ||
| vec | generic dynamic array data structure | | ||
| bstr | high level string library | | ||
| flag | CLI flag parsing library inspired by Go's | | ||
|
||
Note: This set of libraries still depend on libc for memory allocation, the str* functions, etc. It is not meant to be a standalone library at least for now. | ||
It is not possible to change the memory allocator used for now but I'll change that later possibly. | ||
|
||
## Building | ||
The recommended way is to just build everything and then take whatever libraries you want from the generated `lib` directory | ||
and it's corresponding header file from said library directory. | ||
|
||
```sh | ||
$ cmake . -DCMAKE_BUILD_TYPE=Release | ||
$ make | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters