Skip to content

refactor(config): adopt unified KCENON_* feature flags#108

Merged
kcenon merged 1 commit into
mainfrom
feature/normalize-integration-flags
Dec 23, 2025
Merged

refactor(config): adopt unified KCENON_* feature flags#108
kcenon merged 1 commit into
mainfrom
feature/normalize-integration-flags

Conversation

@kcenon

@kcenon kcenon commented Dec 23, 2025

Copy link
Copy Markdown
Owner

Summary

  • Replace BUILD_WITH_* macros with KCENON_WITH_* equivalents
  • Include feature_flags.h from common_system (guarded with __has_include)
  • Maintain backward compatibility with legacy macros

Changes

Headers

  • logging.h: Include feature_flags.h, use KCENON_WITH_LOGGER_SYSTEM for integration detection

CMake

  • CMakeLists.txt: Define both legacy and new unified macros (KCENON_WITH_*) for all system integrations

Documentation

  • docs/reference/logging.md: Updated to reference KCENON_WITH_LOGGER_SYSTEM

Related Issues

Test plan

  • Build with CMake
  • Verify legacy BUILD_WITH_* macros still work
  • Verify new KCENON_WITH_* macros are defined

- Include feature_flags.h from common_system (guarded with __has_include)
- Replace BUILD_WITH_* macros with KCENON_WITH_* equivalents in CMake
- Update logging.h to use KCENON_WITH_LOGGER_SYSTEM for integration detection
- Maintain backward compatibility with legacy BUILD_WITH_* macros
- Update docs/reference/logging.md to reference new macro names

Closes #107
@kcenon kcenon merged commit 0da153b into main Dec 23, 2025
16 checks passed
@kcenon kcenon deleted the feature/normalize-integration-flags branch December 23, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Normalize logger/common flags

1 participant