Open-CMSIS-Pack / devtools

Open-CMSIS-Pack development tools - C++
Apache License 2.0
74 stars 55 forks source link

[csolution] Add validation that a source module cannot be concurrently added to a project by multiple components #1572

Closed brondani closed 2 months ago

brondani commented 3 months ago

As part of the https://github.com/Open-CMSIS-Pack/devtools/issues/1451 resolution in parallel to https://github.com/Open-CMSIS-Pack/devtools/issues/1499, csolution should validate that all source modules must be unique. A failed validation must throw a warning when running in cbuildgen mode for backwards compatibility, and an error when in cbuild2cmake mode.