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@0.2.0")
  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.