You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, custom target support in Mbed CE is incomplete and we need to finish it out.
There are basically three types of custom targets:
Custom targets with configuration settings only (in custom_targets.json)
Custom targets which add additional source files
Custom targets which add source files and override existing Mbed sources
Currently, the first type is supported properly, and the second type should work (by defining your own CMake target matching the custom target name), but has not been tested yet. However, the third type is not currently possible.
First of all, we need to create a new CMake function, something like
mbed_remove_source_files_from_target()
This will enable the third type of target to be created.
Additionally, we need to create a comprehensive wiki page that explains how to create custom targets. This should cover both how to write the custom_targets.json (this has been a pain point for me in the past!), and how to set up the CMake stuff so that the custom target works.
The text was updated successfully, but these errors were encountered:
Currently, custom target support in Mbed CE is incomplete and we need to finish it out.
There are basically three types of custom targets:
Currently, the first type is supported properly, and the second type should work (by defining your own CMake target matching the custom target name), but has not been tested yet. However, the third type is not currently possible.
First of all, we need to create a new CMake function, something like
This will enable the third type of target to be created.
Additionally, we need to create a comprehensive wiki page that explains how to create custom targets. This should cover both how to write the custom_targets.json (this has been a pain point for me in the past!), and how to set up the CMake stuff so that the custom target works.
The text was updated successfully, but these errors were encountered: