Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ include(FprimePython)
fprime_setup_included_code()


# Project configuration, including the choice of the Python console
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/config-overrides")

# This includes project-wide objects
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/FprimePythonReference")
2 changes: 0 additions & 2 deletions FprimePythonReference/ReferenceDeployment/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ register_fprime_deployment(
SOURCES
"${CMAKE_CURRENT_LIST_DIR}/Main.cpp" # Needed to appease compiler
"${CMAKE_CURRENT_LIST_DIR}/fsw_main.py" # Python entrypoint
CHOOSES_IMPLEMENTATIONS
FprimePython_PythonConsole
DEPENDS
${FPRIME_CURRENT_MODULE}_Top
)
12 changes: 12 additions & 0 deletions config-overrides/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
####
# Project configuration: choices made for the whole build
#
# Os_Console is selected at compile time for the whole build, so the Python console is chosen here and not by the
# deployment.
####
register_fprime_config(
FprimePythonReferenceConfig
CHOOSES_IMPLEMENTATIONS
FprimePython_PythonConsole
INTERFACE
)
2 changes: 1 addition & 1 deletion lib/fprime
Submodule fprime updated 1330 files
Loading