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
Take for example the HTTP_Server project in the Network solution, where the Web.c file is expected to be generated by the Run_FCARM execute node.
If cbuild setup is called before building the project, it fails when running the CMake database target:
CMake Error at groups.cmake:4 (add_library):
Cannot find source file:
D:/examples/MDK-Middleware/Examples/Network/HTTP_Server/Web.c
Expected Behavior
It's expected that cbuild setup runs successfully, indeed csolution convert runs successfully because it tolerates the missing file since it's expected to be generated by an execute as addressed in Open-CMSIS-Pack/devtools#1697, however the database target does not cope with this.
Proposed solution: set the GENERATED CMake property for this sort of file.
Steps To Reproduce
No response
Affected tools
cbuild
cbuild2cmake
cpackget
csolution
packchk
svdconv
Affected operating systems
Windows amd64
Windows arm64
Linux amd64
Linux arm64
MacOS amd64
MacOS arm64
Environment
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
Reported by @RobertRostohar
Take for example the HTTP_Server project in the Network solution, where the
Web.c
file is expected to be generated by theRun_FCARM
execute node.If
cbuild setup
is called before building the project, it fails when running the CMakedatabase
target:Expected Behavior
It's expected that
cbuild setup
runs successfully, indeedcsolution convert
runs successfully because it tolerates the missing file since it's expected to be generated by anexecute
as addressed in Open-CMSIS-Pack/devtools#1697, however thedatabase
target does not cope with this.Proposed solution: set the
GENERATED
CMake property for this sort of file.Steps To Reproduce
No response
Affected tools
Affected operating systems
Environment
No response
The text was updated successfully, but these errors were encountered: