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
Cannot specify "non-standard" psp source directory via the environment variable $CFS_APP_PATH or the cmake variable ${psp_SEARCH_PATH}.
The cFE cmake build infrastructure uses the environment / cmake variable $CFS_APP_PATH
as well as the cmake meta-variable pattern ${${APP}_SEARCH_PATH} to locate apps and other modules (such as psp), and subsequently sets the variable pattern ${${APP}_MISSION_DIR} (see mission_build.cmake lines 202-222).
However, the resulting variable ${psp_MISSION_DIR} is not used in process_arch() in arch_build.cmake line 588 when including a target platform's build_options.cmake file. This causes a cmake configuration failure when trying to use a non-standard psp location.
Describe the bug
Originally discussed in #1864 by @jbohren-hbr
Cannot specify "non-standard" psp source directory via the environment variable$CFS_APP_PATH or the cmake variable $ {psp_SEARCH_PATH}.
cFE/cmake/mission_build.cmake
Lines 202 to 222 in 5e41330
cFE/cmake/arch_build.cmake
Lines 587 to 589 in 5e41330
To Reproduce
Build with psp in non-standard location, with the CFS_APP_PATH environment variable set
Expected behavior
${psp_MISSION_DIR} is used in process_arch() in arch_build.cmake for a successful build
System observed on:
System(s) tested on
Reporter Info
@jbohren-hbr
The text was updated successfully, but these errors were encountered: