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
After converting my project from mcuxpresso eclipse I noticed the CMakelist root file is located in a subdirectory.
This results in problems when using the add_subdirectory command since this can only be used on directory's that are subdirectory's of the cmakelist root folder.
My suggestion is changing the current cmakelist file to a .cmake file.
Then create a CMakeList root file in the root folder which includes this .cmake file.
For some more context:
By using add_subdirectory we can set different compile options and definitions for certain sections of code just as we could do in the MCUxpresso IDE. It also makes the Cmake files a bit more readable since it isn't one massive list of sources.
The text was updated successfully, but these errors were encountered:
You are right, we preserved the model from MCUXpresso SDK where CMakeLists.txt is under armgcc folder, armgcc being just one of the toolchain models provided under it. For projects converted from MCUXpresso IDE we can make the change you proposed, it is better to be like this. It will be available in a future release.
@cristitep-nxp Do you guys have a place to post suggestions? Or a roadmap of some kind? After working with this extension for a week i have quite a list by now.
You can log in Issues here. Preferable to have separate issues if they are completely different topics in order to track them easier, but single issue for all will be fine too.
After converting my project from mcuxpresso eclipse I noticed the CMakelist root file is located in a subdirectory.
This results in problems when using the add_subdirectory command since this can only be used on directory's that are subdirectory's of the cmakelist root folder.
My suggestion is changing the current cmakelist file to a .cmake file.
Then create a CMakeList root file in the root folder which includes this .cmake file.
For some more context:
By using add_subdirectory we can set different compile options and definitions for certain sections of code just as we could do in the MCUxpresso IDE. It also makes the Cmake files a bit more readable since it isn't one massive list of sources.
The text was updated successfully, but these errors were encountered: