CMake: Move post build functions out of root CMakeLists.txt
The 'post build' functions are made visible by adding the mbed-os subdirectory. This is not ideal as any components in mbed-os wishing to call the functions must be added after the functions are defined. To improve modularity move these functions to a separate CMake script. We include the post build CMake script in app.cmake for now so we don't break user's projects. |
---|
|
CMakeLists.txt |
---|
tools/cmake/app.cmake |
---|
tools/cmake/mbed_set_post_build.cmake |
---|