Skip to content

Use KCENON_HAS_COMMON_SYSTEM in container core#181

Merged
kcenon merged 2 commits into
mainfrom
feature/normalize-common-system-flag-180
Dec 22, 2025
Merged

Use KCENON_HAS_COMMON_SYSTEM in container core#181
kcenon merged 2 commits into
mainfrom
feature/normalize-common-system-flag-180

Conversation

@kcenon

@kcenon kcenon commented Dec 22, 2025

Copy link
Copy Markdown
Owner

Summary

  • Replace CONTAINER_USE_COMMON_SYSTEM and BUILD_WITH_COMMON_SYSTEM code checks with unified KCENON_HAS_COMMON_SYSTEM macro
  • Include feature_flags.h from common_system in container core headers
  • Update documentation to reference the new macro

Parent Issue

kcenon/common_system#223

Changes

Source Files

  • CMakeLists.txt: Define KCENON_HAS_COMMON_SYSTEM=1 instead of CONTAINER_USE_COMMON_SYSTEM
  • core/container.h: Include feature_flags.h, replace macro checks
  • core/container.cpp: Replace macro checks
  • kcenon/container/di/service_registration.h: Include feature_flags.h, replace macro checks

Documentation

  • docs/advanced/EXCEPTION_SAFETY.md: Update code examples
  • docs/advanced/STRUCTURE.md: Update macro references
  • docs/guides/INTEGRATION.md: Update build configuration section

Test Plan

  • CMake configuration succeeds
  • Library builds successfully
  • CI passes all tests

Closes #180

…STEM

- Replace CONTAINER_USE_COMMON_SYSTEM and BUILD_WITH_COMMON_SYSTEM checks
  with unified KCENON_HAS_COMMON_SYSTEM macro
- Include feature_flags.h from common_system in container core headers
- Update CMakeLists.txt to define KCENON_HAS_COMMON_SYSTEM=1
- Maintain backward compatibility with existing CMake options

Closes #180
- Update EXCEPTION_SAFETY.md with new macro name
- Update STRUCTURE.md to reflect KCENON_HAS_COMMON_SYSTEM usage
- Update INTEGRATION.md build configuration section
@github-actions

Copy link
Copy Markdown
Contributor

Performance Benchmark Report

Summary

  • Total benchmarks: 0
  • Regressions: 0 ✅
  • Improvements: 0
  • Unchanged: 0 (within 10% threshold)

Status: No significant performance regressions detected.

@kcenon kcenon merged commit ac223bc into main Dec 22, 2025
30 checks passed
@kcenon kcenon deleted the feature/normalize-common-system-flag-180 branch December 22, 2025 13:23
kcenon added a commit that referenced this pull request Apr 13, 2026
* refactor: normalize common_system integration to KCENON_HAS_COMMON_SYSTEM

- Replace CONTAINER_USE_COMMON_SYSTEM and BUILD_WITH_COMMON_SYSTEM checks
  with unified KCENON_HAS_COMMON_SYSTEM macro
- Include feature_flags.h from common_system in container core headers
- Update CMakeLists.txt to define KCENON_HAS_COMMON_SYSTEM=1
- Maintain backward compatibility with existing CMake options

Closes #180

* docs: update documentation to reference KCENON_HAS_COMMON_SYSTEM

- Update EXCEPTION_SAFETY.md with new macro name
- Update STRUCTURE.md to reflect KCENON_HAS_COMMON_SYSTEM usage
- Update INTEGRATION.md build configuration section
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.

Use KCENON_HAS_COMMON_SYSTEM in container core

1 participant