Skip to content

jUnG3/strutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strutil

String util for C. The lib provides a trim and a strexplode function.

Build

Explains how to build a debug version.

$ cmake -DCMAKE_BUILD_TYPE=Debug -B cmake-build-debug -S .
$ cmake --build cmake-build-debug

Test

Build and run tests.

$ cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -B cmake-build-debug -S .
$ cmake --build ./cmake-build-debug --target test

Install

Build a release version and install it.

$ cmake -DCMAKE_BUILD_TYPE=Release -B cmake-build-release -S .
$ sudo cmake --build cmake-build-release --target install

CMake options

Name Description
ENABLE_TESTS If ON tests are build and executed. Default OFF

Build dependencies

Name Description Condition
google-test Unit test framework Only if ENABLE_TESTS is ON. Automatically fetch and build via cmake

About

String util for C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published