fprime-util generate displays generic error when library is missing target restrictions #2486
Labels
bug
cmake
Issues pertaining to the CMake build system.
High Priority
High Priority issue that needs to be resolved.
Problem Description
@LeStarch, per our conversation earlier, you requested a bug report with the following notes:
library_location
insettings.ini
is missing the correctrestrict_platforms()
verbiage in its any of its CMake files.MOD_DEP
is also specifiedHow to Reproduce
library_location
any submodule or folder tree which includes a CMake that uses a path in acmake/toolchain
fileMOD_DEPS
that is satisfied by a lower-level CMake file with arestrict_platforms()
that does not match the higher-level CMake fileCMake error at fprime/cmake/target/build.cmake:75 (add_dependencies): The dependency myLib.a of target MyTarget does not exist
Expected Behavior
Reading the CMake call/error stack will eventually get you to a line pointing to the underlying offending CMake file. I'm not sure how you would like to improve this.
The text was updated successfully, but these errors were encountered: