diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ca8b630 --- /dev/null +++ b/CMakeLists.txt @@ -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) + + diff --git a/Makefile b/Makefile deleted file mode 100644 index 1bed5b6..0000000 --- a/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -############################################################################### -# File: cFE Application Makefile -# -# -# History: -# -############################################################################### -# -# Subsystem produced by this makefile. -# - -## -## If this subsystem needs include files from another app, add the path here. -## -INCLUDE_PATH = \ --I.. - -all: - gcc $(INCLUDE_PATH) -g -o cfe_ts_crc cfe_ts_crc.c - -clean: - rm cfe_ts_crc -