mirror of
https://github.com/Tilo-K/tstd.git
synced 2026-03-05 11:23:01 +00:00
ed775a2da054027d5bc31fd61c62f1ac2c96d9e5
TSTD
A C library providing various string manipulation utilities.
Usage
To use TSTD in your CMake project, you can either build it from source or include it using FetchContent.
Integration with FetchContent
Add the following to your CMakeLists.txt:
cmake_minimum_required(VERSION 3.20)
project(myproj C)
set(CMAKE_C_STANDARD 23)
set(CMAKE_C_STANDARD_REQUIRED ON)
include(FetchContent)
FetchContent_Declare(
tstd
GIT_REPOSITORY https://github.com/Tilo-K/tstd.git
GIT_TAG main
)
FetchContent_MakeAvailable(tstd)
add_executable(myapp src/main.c)
target_link_libraries(myapp PRIVATE tstd)
Languages
C
91.4%
CMake
8%
Shell
0.6%