Skip to content

Commit de4fa91

Browse files
committed
Banishing Ref to a project directory
1 parent 9e8eb5a commit de4fa91

97 files changed

Lines changed: 33 additions & 24 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
####
2+
# 'TestDeploymentsProject' Project:
3+
#
4+
# This is the project that contains the set of test deployments. This includes:
5+
# - The 'Ref' deployment, which is a historical reference for testing and demonstration
6+
####
7+
8+
# Allow CMake 3.0 - 4.0 projects to set the VERSION variable in the `project` call
9+
cmake_policy(SET CMP0048 NEW)
10+
# CMake basic setup: version consistent with requirements.txt, and define a project
11+
cmake_minimum_required(VERSION 3.26)
12+
project(Ref VERSION 1.0.0 LANGUAGES C CXX)
13+
14+
# Add compile options used by all build modules
15+
add_compile_options(
16+
$<$<COMPILE_LANGUAGE:CXX>:-Wold-style-cast>
17+
-Wall
18+
-Wconversion
19+
-Wdouble-promotion
20+
-Werror
21+
-Wextra
22+
-Wno-unused-parameter
23+
-Wno-vla
24+
-Wshadow
25+
-pedantic
26+
)
27+
28+
# Find the fprime package and include the core codebase
29+
set(FPRIME_INCLUDE_FRAMEWORK_CODE ON)
30+
find_package(FPrime REQUIRED PATHS "${CMAKE_CURRENT_LIST_DIR}/..")
31+
32+
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/Ref/")

Ref/BlockDriver/BlockDriver.cpp renamed to TestDeploymentsProject/Ref/BlockDriver/BlockDriver.cpp

File renamed without changes.

Ref/BlockDriver/BlockDriver.fpp renamed to TestDeploymentsProject/Ref/BlockDriver/BlockDriver.fpp

File renamed without changes.

Ref/BlockDriver/BlockDriver.hpp renamed to TestDeploymentsProject/Ref/BlockDriver/BlockDriver.hpp

File renamed without changes.

Ref/BlockDriver/CMakeLists.txt renamed to TestDeploymentsProject/Ref/BlockDriver/CMakeLists.txt

File renamed without changes.

Ref/BlockDriver/README renamed to TestDeploymentsProject/Ref/BlockDriver/README

File renamed without changes.

Ref/BlockDriver/Tlm.fppi renamed to TestDeploymentsProject/Ref/BlockDriver/Tlm.fppi

File renamed without changes.

Ref/BlockDriver/docs/.gitignore renamed to TestDeploymentsProject/Ref/BlockDriver/docs/.gitignore

File renamed without changes.

Ref/BlockDriver/docs/img/BlockDriverBDD.jpg renamed to TestDeploymentsProject/Ref/BlockDriver/docs/img/BlockDriverBDD.jpg

File renamed without changes.

0 commit comments

Comments
 (0)