Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
M2354: Pre-create cmake target mbed-m2354-tfm for custom_targets
For M2354 custom target, there is dilemma on cmake target mbed-m2354-tfm: 1. mbed-m2354-tfm is created in mbed-os M2354 cmake listfile, but may be used in custom_targets M2354 cmake listfile in advance. 2. Build system requires add_subdirectory(custom_targets) be placed in front of add_subdirectory(mbed-os). To overcome above, mbed-m2354-tfm is pre-created on request and as singleton, E.g.: if(NOT TARGET mbed-m2354-tfm) add_library(mbed-m2354-tfm INTERFACE) endif()
- Loading branch information