Program Listing for File version.h
↰ Return to documentation for file (include/mola_kernel/version.h
)
/* -------------------------------------------------------------------------
* A Modular Optimization framework for Localization and mApping (MOLA)
* Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
* See LICENSE for license information.
* ------------------------------------------------------------------------- */
#pragma once
#define MOLA_VERSION_CHECK(major, minor, patch) \
((MOLA_MAJOR_VERSION > (major)) || \
(MOLA_MAJOR_VERSION == (major) && MOLA_MINOR_VERSION > (minor)) || \
(MOLA_MAJOR_VERSION == (major) && MOLA_MINOR_VERSION == (minor) && \
MOLA_PATCH_VERSION >= (patch)))