Skip to content

Commit

Permalink
Seed from PSP 1.3.0.0 code base
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Hageman committed May 16, 2019
1 parent 154a4c7 commit 8f42002
Show file tree
Hide file tree
Showing 68 changed files with 11,432 additions and 0 deletions.
21 changes: 21 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project(CFEPSP C)

if (NOT CFE_SYSTEM_PSPNAME)
message(FATAL_ERROR "CFE_SYSTEM_PSPNAME is not defined - do not know which to build")
endif()

if (NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/fsw/${CFE_SYSTEM_PSPNAME})
message(FATAL_ERROR "PSP ${CFE_SYSTEM_PSPNAME} is not implemented")
endif()

add_definitions(-D_CFE_PSP_)
include_directories(fsw/${CFE_SYSTEM_PSPNAME}/inc)
include_directories(fsw/shared)

# Use all source files under the shared code directory (always)
# as well as all the files for the selected PSP
set(PSPFILES)
aux_source_directory(fsw/shared PSPFILES)
aux_source_directory(fsw/${CFE_SYSTEM_PSPNAME}/src PSPFILES)

add_library(psp-${CFE_SYSTEM_PSPNAME} STATIC ${PSPFILES})
Binary file added LICENSE-18128-Apache-2_0.pdf
Binary file not shown.
Binary file added doc/PSP 1.3.0.0 Version Description Document.docx
Binary file not shown.
Binary file added doc/PSP 1.3.0.0 Version Description Document.pdf
Binary file not shown.
Loading

0 comments on commit 8f42002

Please sign in to comment.