xmos / xcore_iot

Other
30 stars 40 forks source link

Add support for initial-cache to CMake build #256

Closed keithm-xmos closed 2 years ago

keithm-xmos commented 2 years ago

This would make the build option variables all default to OFF and we would provide two initial cache files that sets some reasonable defaults. One for bare-metal applications and another for RTOS.

See: https://cmake.org/cmake/help/v3.5/manual/cmake.1.html

keithm-xmos commented 2 years ago

This likely addressed https://github.com/xmos/xcore_sdk/issues/251

keithm-xmos commented 2 years ago

We have decided not to pursue this solution for now. Instead we will investigate building modules as static libraries in the future which will allow us to use CMake's machinery to manage dependencies.

See: https://github.com/xmos/xcore_sdk/issues/278