cancel
Showing results for 
Search instead for 
Did you mean: 

Recursive search of target sources instead of defined source directories

KMcle.2
Associate II

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.

0693W00000aJoEFQA0.pngHowever, 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.

0 REPLIES 0