Skip to content

Installation

Integration with CMake is done in the usual ways:

  1. Fetch the library.

    If you use CPM.cmake, just add the following.

    CMakeLists.txt
    CPMAddPackage("gh:neilkichler/cuinterval@v0.2.1")
  2. Add the library as a link dependency to your project.

    CMakelists.txt
    target_link_libraries(${PROJECT_NAME} PUBLIC cuinterval)
  3. Take a look at the example to get started.