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.
ls
1 parent 662bd59 commit fcd57b24d37727b2760b0b175782992629cb13c4
@Robert Walton Robert Walton authored on 7 Jul 2021
Lingkai Dong committed on 22 Jul 2021
Showing 3 changed files
View
CMakeLists.txt
View
tools/cmake/app.cmake
View
tools/cmake/mbed_set_post_build.cmake