Closed martinwork closed 2 years ago
@martinwork adding quotation marks fixes spaces in the path? Awesome! Curse me for being a good dash and underscore user (I can't stand spaces in paths).
I think this patch would be better applied to https://github.com/lancaster-university/codal and then upstreamed here. Maybe you could advise on better merge strategy as I'm not sure how much divergence there is from the main codal repository and this one...
It works for me, with "Visual Studio" in the path. I've never visited https://github.com/lancaster-university/codal. I don't mind if you want to make the change there, upstream, and close this.
@JohnVidler if you can apply this patch upstream and then pull it down here we can close this PR.
Looks like a very minor patch, and I don't see any side effects to happy to merge in; thanks @martinwork 👍
@JohnVidler I think the same patch can be applied to https://github.com/lancaster-university/codal as well, in case you'd like to push it there too.
Fixes error when building inside, for example, "New folder" AR10B2~1.EXE: error: folder/microbit-v2-samples/build/codal_extra_definitions.h: No such file or directory AR10B2~1.EXE: error: folder/microbit-v2-samples/utils/cmake/toolchains/ARM_GCC: No such file or directory