lancaster-university / microbit-dal

http://lancaster-university.github.io/microbit-docs
Other
256 stars 130 forks source link

Add support for Custom CMake #437

Closed softgraph closed 5 years ago

softgraph commented 5 years ago

This patch allow us to customize the behavior of source/CMakeLists.txt.

Example: --- config.json --- { "microbit-dal": { "custom_cmake": { "source": "CMakeLists.local.txt" } } } --- source/CMakeLists.local.txt --- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftabstop=4 -Warray-bounds=0")

softgraph commented 5 years ago

I withdraw the pull request because the same thing can be done without changing the repository.