Skip to content

Phase 3: Directory restructure into src/msg + src/phev#28

Merged
papawattu merged 1 commit intomainfrom
phase3/directory-restructure
Mar 16, 2026
Merged

Phase 3: Directory restructure into src/msg + src/phev#28
papawattu merged 1 commit intomainfrom
phase3/directory-restructure

Conversation

@papawattu
Copy link
Copy Markdown
Collaborator

Summary

  • Move sources and headers into src/msg/ + src/phev/ and include/msg/ + include/phev/ subdirectories
  • Update all 79 #include directives to use subdirectory prefixes ("msg/msg_core.h", "phev/phev_core.h")
  • Split single phev static library into two targets: msg_core + phev (phev links msg_core + cjson)
  • Gate dead transport backends (msg_gcp_mqtt, msg_mqtt_paho) behind BUILD_TRANSPORT_BACKENDS CMake option (OFF by default)
  • Update install rules for new directory layout
  • Update AGENTS.md and TODO.md

All 7 test suites pass (219 tests) on both dev and ci presets.

Move sources and headers into msg/ and phev/ subdirectories, update all
79 #include directives to use subdirectory prefixes (e.g. "msg/msg_core.h",
"phev/phev_core.h").

- Split single phev static lib into msg_core + phev (phev links msg_core)
- Gate dead transport backends (msg_gcp_mqtt, msg_mqtt_paho) behind
  BUILD_TRANSPORT_BACKENDS option (OFF by default)
- Update install rules for new directory layout
- Tests remain in test/ (no msg-layer tests exist)
- Update AGENTS.md and TODO.md to reflect Phase 3 completion
@papawattu papawattu merged commit 91f20d4 into main Mar 16, 2026
1 check passed
@papawattu papawattu deleted the phase3/directory-restructure branch March 16, 2026 20:14
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.

1 participant