This is a header-only library for C++ 23 and higher. It contains tons of useful things that might or might not help you on your journeys.
- Manually include the
lntc_cpp.hppheader file into your project.
- Add the following to your CMakeLists.txt:
include(FetchContent)
FetchContent_Declare(
lntc_cpp
GIT_REPOSITORY https://github.com/LunaticWasTaken/lntc_cpp.git
GIT_TAG master # "master" for the latest, or a specific commit hash
)
FetchContent_MakeAvailable(lntc_cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE lntc_cpp) # Or add `lntc_cpp` to the end of your existing `target_link_libraries` call if present.Just simply open a pull request with improvements/additions if you like.
However, keep in mind that any code you submit in PR's will be subject to the license below, and that I won't accept
random
I don't want you to use my code anymore requests.
Lunatic Code License
Copyright (c) 2025 Lunatic
You can use my code however you want, no restrictions. Giving me credit is appreciated, but not required.