mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
parent
2b65cc83cf
commit
a46fccf54d
@ -12,10 +12,7 @@ cmake_policy(SET CMP0048 NEW)
|
||||
cmake_minimum_required(VERSION 3.26)
|
||||
project(Ref VERSION 1.0.0 LANGUAGES C CXX)
|
||||
|
||||
# Find the fprime package and include the core codebase
|
||||
set(FPRIME_INCLUDE_FRAMEWORK_CODE ON)
|
||||
find_package(FPrime REQUIRED PATHS "${CMAKE_CURRENT_LIST_DIR}/..")
|
||||
|
||||
# Add compile options used by all build modules
|
||||
add_compile_options(
|
||||
$<$<COMPILE_LANGUAGE:CXX>:-Wold-style-cast>
|
||||
-Wall
|
||||
@ -29,6 +26,10 @@ add_compile_options(
|
||||
-pedantic
|
||||
)
|
||||
|
||||
# Find the fprime package and include the core codebase
|
||||
set(FPRIME_INCLUDE_FRAMEWORK_CODE ON)
|
||||
find_package(FPrime REQUIRED PATHS "${CMAKE_CURRENT_LIST_DIR}/..")
|
||||
|
||||
# Add subdirectories for the Ref project specific components
|
||||
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/PingReceiver/")
|
||||
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/RecvBuffApp/")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user