-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jake Hageman
committed
May 16, 2019
1 parent
154a4c7
commit 8f42002
Showing
68 changed files
with
11,432 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.