From 020a4968e5a445c4a2ee14826a3358eed298f153 Mon Sep 17 00:00:00 2001 From: Hayodea Hakol Date: Tue, 22 Jul 2025 23:28:59 -0400 Subject: [PATCH] CMake: Add config.h.in --- include/config.h.in | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 include/config.h.in diff --git a/include/config.h.in b/include/config.h.in new file mode 100644 index 0000000..c5831db --- /dev/null +++ b/include/config.h.in @@ -0,0 +1,44 @@ +#ifndef _CONFIG_H +#define _CONFIG_H + +/* Package information */ +#define PACKAGE_NAME "@PROJECT_NAME@" +#define PACKAGE_VERSION "@PROJECT_VERSION@" + +/* Mind oscillator configuration */ +#define CONFIG_MIND_VOSCILLATOR_PERIOD_MS @MIND_VOSCILLATOR_PERIOD_MS@ +#define CONFIG_MIND_VOSCILLATOR_FREQ_MS @MIND_VOSCILLATOR_FREQ_MS@ + +/* Common Libraries */ +#cmakedefine CONFIG_LIB_XCBXORG_ENABLED +#cmakedefine CONFIG_LIB_ALSA_ENABLED + +/* Sense APIs */ +#cmakedefine CONFIG_SENSEAPI_XCBWINDOW_ENABLED +#cmakedefine CONFIG_SENSEAPI_V4L_ENABLED +#cmakedefine CONFIG_SENSEAPI_ALSAMIC_ENABLED +#cmakedefine CONFIG_SENSEAPI_LIVOX_ENABLED +#cmakedefine CONFIG_SENSEAPI_R3LIVE_ENABLED +#cmakedefine CONFIG_SENSEAPI_FASTLIO2_ENABLED +#cmakedefine CONFIG_SENSEAPI_ADALIO2_ENABLED +#cmakedefine CONFIG_SENSEAPI_DEEPLIO2_ENABLED + +/* Wilzor APIs */ +#cmakedefine CONFIG_WILZORAPI_XCBMOUSE_ENABLED +#cmakedefine CONFIG_WILZORAPI_XCBKEYBOARD_ENABLED +#cmakedefine CONFIG_WILZORAPI_ALSAVOICE_ENABLED + +/* Legacy defines for backward compatibility */ +#cmakedefine CONFIG_XCBWINDOW_ENABLED +#cmakedefine CONFIG_V4L_ENABLED +#cmakedefine CONFIG_ALSAMIC_ENABLED +#cmakedefine CONFIG_LIVOX_ENABLED +#cmakedefine CONFIG_R3LIVE_ENABLED +#cmakedefine CONFIG_FASTLIO2_ENABLED +#cmakedefine CONFIG_ADALIO2_ENABLED +#cmakedefine CONFIG_DEEPLIO2_ENABLED +#cmakedefine CONFIG_XCBMOUSE_ENABLED +#cmakedefine CONFIG_XCBKEYBOARD_ENABLED +#cmakedefine CONFIG_ALSAVOICE_ENABLED + +#endif /* _CONFIG_H */