Skip to content

Commit

Permalink
Fix #10, Add CMakeLists.txt
Browse files Browse the repository at this point in the history
This allows it to be tied into the main CFE mission build
and correctly reference the same header files as the FSW does.
  • Loading branch information
jphickey authored and skliper committed Sep 16, 2019
1 parent 1ab1c56 commit aa0c449
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 23 deletions.
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# CMake recipe for building tblCRCTool
#

# This tool references the definitions of the CFE_TBL_FileHdr_t and CFE_FS_Header_t
# structures, which are defined in the CFE header files. This, in turn, requires
# the common_types.h file from OSAL and the global cfe_mission_cfg.h file.
include_directories(${MISSION_BINARY_DIR}/inc)
include_directories(${osal_MISSION_DIR}/src/os/inc)
include_directories(${cfe-core_MISSION_DIR}/src/inc)

add_executable(cfe_ts_crc cfe_ts_crc.c)

install(TARGETS cfe_ts_crc DESTINATION host)


23 changes: 0 additions & 23 deletions Makefile

This file was deleted.

0 comments on commit aa0c449

Please sign in to comment.