This PR uses the common OSAL and CMake tools repositories to avoid code duplication between rt-labs projects. CMakeLists are updated to facilitate using c-open as a subproject. Tests and documentation are not built when c-open is a subproject.
Remaining c-open-specific abstraction files are renamed to use the coal prefix, for C-Open Abstraction Layer. Functions and macros have not been renamed in this PR.
This PR also add a clang-format config file and reformats code to get consistent formatting. A .git-blame-ignore-revs file is added to be used for blaming purposes.
The common build tools are consumed as a git submodule. The c-open repository should be cloned with the --recurse-submodules switch.
This PR uses the common OSAL and CMake tools repositories to avoid code duplication between rt-labs projects. CMakeLists are updated to facilitate using c-open as a subproject. Tests and documentation are not built when c-open is a subproject.
Remaining c-open-specific abstraction files are renamed to use the coal prefix, for C-Open Abstraction Layer. Functions and macros have not been renamed in this PR.
This PR also add a clang-format config file and reformats code to get consistent formatting. A .git-blame-ignore-revs file is added to be used for blaming purposes.
The common build tools are consumed as a git submodule. The c-open repository should be cloned with the --recurse-submodules switch.
Already cloned repositories can be updated with:
$ git submodule update --init --recursive