A CMake super-project that bundles openDAQ together with its optional modules:
All dependencies are fetched automatically via CMake's FetchContent.
- CMake 3.25 or newer
- Git
- Windows: Visual Studio 2017 or 2022 (with C++ workload) — used as compiler toolchain only
- Linux: GCC or Clang, Ninja
Use one of the available CMake presets:
| Preset | Platform | Compiler | Arch | Config |
|---|---|---|---|---|
x64/msvc-22 |
Windows | MSVC 2022 | x64 | Release |
x86/msvc-22 |
Windows | MSVC 2022 | x86 | Release |
x64/msvc-17 |
Windows | MSVC 2017 | x64 | Release |
x86/msvc-17 |
Windows | MSVC 2017 | x86 | Release |
x64/gcc/release |
Linux | GCC | x64 | Release |
x64/gcc/debug |
Linux | GCC | x64 | Debug |
x64/clang/release |
Linux | Clang | x64 | Release |
x64/clang/debug |
Linux | Clang | x64 | Debug |
# Windows
cmake --preset="x64/msvc-22"
# Linux
cmake --preset="x64/gcc/release"# Windows
cmake --build build\x64\msvc-22 --config Release
# Linux
cmake --build build/x64/gcc/release| Option | Default | Description |
|---|---|---|
RELEASE_REPO_ENABLE_TESTS |
OFF |
Build and enable tests |
RELEASE_REPO_ENABLE_OPCUA_MODULE |
ON |
Include OPC UA module |
RELEASE_REPO_ENABLE_MQTT_MODULE |
ON |
Include MQTT streaming module |
RELEASE_REPO_ENABLE_LT_MODULE |
ON |
Include LT streaming module |
RELEASE_REPO_ENABLE_ASAM_CMP_MODULE |
ON |
Include ASAM-CMP modules |
Pass options at configure time:
cmake --preset="x64/gcc/release" -DRELEASE_REPO_ENABLE_TESTS=ON