-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Description
Running the mbed export -i cmake_gcc_arm when the artifact_name is configured in the mbed_app.json the project name is still the one specified by the first --source argument rather than the value set by the artifact_name option.
See comments 6585 theotherjimmy comment and 6585 vidavidorra comment.
This issue can be reproduced by running the export on any mbed-os-example with the -i cmake_gcc_arm option and with the artifact_name option set in the mbed_app.json and at least one --source given. Output can be seen in the CMakeLists.txt where TARGET is the name of the first --source argument rather than the artifact_name.
Using mbed-os-5.10.0, mbed-cli 1.7.5.
The artifact_name does not work as expected. I've only seen this with the CMake exporter since that's the only one I use, so I don't know whether this also affects other exporters or build.
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug