Installation/Usage

The library uses CMake and provides corresponding targets, allowing for easy integration using CMake’s FetchContent feature. A separate target is provided for each of the components:

  • NAAICE Low-Level API (naaice::low_level)

  • NAAICE Middleware API (naaice::middleware)

  • Software-NAA (naaice::swnaa).

The use in a minimal project would look as follows:

Minimal CMake Example
cmake_minimum_required(VERSION 3.21)
project(example-project C)

include(FetchContent)

FetchContent_Declare(naaice
  GIT_REPOSITORY https://git.gfz.de/naaice/naa-communication-prototype.git
  GIT_TAG main
)

FetchContent_MakeAvailable(naaice)

add_executable(test test.c)
target_link_libraries(test PRIVATE naaice::middleware)