CMake Integration¶
Target: sip2json::sip2json (header-only, C++20).
CPM.cmake (Recommended)¶
include(cmake/CPM.cmake)
CPMAddPackage("gh:SiddiqSoft/sip2json#v3.1.5")
target_link_libraries(your_target PRIVATE sip2json::sip2json)
CMake FetchContent¶
include(FetchContent)
FetchContent_Declare(
sip2json
GIT_REPOSITORY https://github.com/SiddiqSoft/sip2json.git
GIT_TAG v3.1.5
)
FetchContent_MakeAvailable(sip2json)
target_link_libraries(your_target PRIVATE sip2json::sip2json)
Build Options¶
| Option | Default | Description |
|---|---|---|
sip2json_BUILD_TESTS |
OFF |
Build unit tests (requires GoogleTest). |
sip2json_BUILD_BENCHMARKS |
OFF |
Build benchmark suite. |