feature #1

Merged
thoehne merged 3 commits from feature into main 2025-06-25 23:17:03 +00:00
10 changed files with 377 additions and 70 deletions
Showing only changes of commit 86894713ac - Show all commits

View File

@@ -2,33 +2,11 @@
Tiny C testing framework. Tiny C testing framework.
## Build
To build the library simply call `make` in the repository root.
Alternatively it is possible to directly call the compiler with:
gcc -c src/*.c
ar rcs libset.a *.o
rm *.o # Clean up
### Options
SET comes with a couple of build options that might come in handy in different scenarios.
- no_banner: Do not print banner every time the tests are run.
make no_banner=y
- colorized: Build with colorized output.
make colorized=y
## Building a test. ## Building a test.
To build a test, first build the library. Then link it to the `test.c` via: To build a test, first build the library. Then link it to the `test.c` via:
gcc -static test.c -L . -lset -o test gcc src/*.c test.c -o test
## LICENSE ## LICENSE