Recursive search of target sources instead of defined source directories
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-03-27 5:44 PM
During auto generation of the st-project.cmake, it seems that the import tool recursively searches the project for source files instead of using the paths defined by the project's source locations. For example, I have the following defined as my source locations.
However, when the target_sources are generated, all source files in the workspace are added. The compilation then fails because the include files can not be found in the supplied include directories. If I manually remove the extra source files the build succeeds.
Labels:
- Labels:
-
VSCode for STM32
0 REPLIES 0
