##// END OF EJS Templates
Disabled most dead code + set CMake min Ver to 3.5
Disabled most dead code + set CMake min Ver to 3.5

File last commit:

r402:eb452cd0caf8 R3++
r402:eb452cd0caf8 R3++
Show More
CMakeLists.txt
136 lines | 3.8 KiB | text/plain | CMakeLexer
Disabled most dead code + set CMake min Ver to 3.5
r402 cmake_minimum_required (VERSION 3.5)
paul
-O3 used for optimization...
r310 project (fsw)
Switched to cmake, more portable and better conf options!
r299
include(sparc-rtems)
Added cppcheck integration....
r309 include(cppcheck)
Switched to cmake, more portable and better conf options!
r299
Converted timegen to cmake.
r300 include_directories("../header"
Disabled most dead code + set CMake min Ver to 3.5
r402 "../header/lfr_common_headers"
"../header/processing"
"../LFR_basic-parameters"
"../src")
Switched to cmake, more portable and better conf options!
r299
set(SOURCES wf_handler.c
Disabled most dead code + set CMake min Ver to 3.5
r402 tc_handler.c
fsw_misc.c
fsw_init.c
fsw_globals.c
fsw_spacewire.c
tc_load_dump_parameters.c
tm_lfr_tc_exe.c
tc_acceptance.c
processing/fsw_processing.c
processing/avf0_prc0.c
processing/avf1_prc1.c
processing/avf2_prc2.c
lfr_cpu_usage_report.c
${LFR_BP_SRC}
../header/wf_handler.h
../header/tc_handler.h
../header/grlib_regs.h
../header/fsw_misc.h
../header/fsw_init.h
../header/fsw_spacewire.h
../header/tc_load_dump_parameters.h
../header/tm_lfr_tc_exe.h
../header/tc_acceptance.h
../header/processing/fsw_processing.h
../header/processing/avf0_prc0.h
../header/processing/avf1_prc1.h
../header/processing/avf2_prc2.h
../header/fsw_params_wf_handler.h
../header/lfr_cpu_usage_report.h
../header/lfr_common_headers/ccsds_types.h
../header/lfr_common_headers/fsw_params.h
../header/lfr_common_headers/fsw_params_nb_bytes.h
../header/lfr_common_headers/fsw_params_processing.h
../header/lfr_common_headers/tm_byte_positions.h
../LFR_basic-parameters/basic_parameters.h
../LFR_basic-parameters/basic_parameters_params.h
../header/GscMemoryLPP.hpp
)
Switched to cmake, more portable and better conf options!
r299
paul
3.1.0.5
r326 option(FSW_verbose "Enable verbose LFR" OFF)
option(FSW_boot_messages "Enable LFR boot messages" OFF)
option(FSW_debug_messages "Enable LFR debug messages" OFF)
added prefix to FSW and timegen options
r302 option(FSW_cpu_usage_report "Enable LFR cpu usage report" OFF)
option(FSW_stack_report "Enable LFR stack report" OFF)
option(FSW_vhdl_dev "?" OFF)
paul
3.2.0.14 DPU
r367 option(FSW_lpp_dpu_destid "Set to debug at LPP" OFF)
added prefix to FSW and timegen options
r302 option(FSW_debug_watchdog "Enable debug watchdog" OFF)
option(FSW_debug_tch "?" OFF)
Removed unused function and implemented scrubbing perriod counter...
r389 option(FSW_Instrument_Scrubbing "Enable scrubbing counter" OFF)
Disabled most dead code + set CMake min Ver to 3.5
r402 option(FSW_Enable_Dead_Code "Enable dead code compilation, this is used to hide by default unused code." OFF)
added prefix to FSW and timegen options
r302
set(SW_VERSION_N1 "3" CACHE STRING "Choose N1 FSW Version." FORCE)
paul
3.2.0.0...
r345 set(SW_VERSION_N2 "2" CACHE STRING "Choose N2 FSW Version." FORCE)
added prefix to FSW and timegen options
r302 set(SW_VERSION_N3 "0" CACHE STRING "Choose N3 FSW Version." FORCE)
Few cosmetic changes and lowered optim to -O2...
r400 set(SW_VERSION_N4 "22" CACHE STRING "Choose N4 FSW Version." FORCE)
Switched to cmake, more portable and better conf options!
r299
added prefix to FSW and timegen options
r302 if(FSW_verbose)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DPRINT_MESSAGES_ON_CONSOLE)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_boot_messages)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DBOOT_MESSAGES)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_debug_messages)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DDEBUG_MESSAGES)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_cpu_usage_report)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DPRINT_TASK_STATISTICS)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_stack_report)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DPRINT_STACK_REPORT)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_vhdl_dev)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DVHDL_DEV)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_lpp_dpu_destid)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DLPP_DPU_DESTID)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_debug_watchdog)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DDEBUG_WATCHDOG)
Switched to cmake, more portable and better conf options!
r299 endif()
added prefix to FSW and timegen options
r302 if(FSW_debug_tch)
Disabled most dead code + set CMake min Ver to 3.5
r402 add_definitions(-DDEBUG_TCH)
Switched to cmake, more portable and better conf options!
r299 endif()
Disabled most dead code + set CMake min Ver to 3.5
r402 if(FSW_Enable_Dead_Code)
add_definitions(-DENABLE_DEAD_CODE)
endif()
Removed all remaining unused macros and fixed bug...
r385
Switched to cmake, more portable and better conf options!
r299 add_definitions(-DMSB_FIRST_TCH)
add_definitions(-DSWVERSION=-1-0)
added prefix to FSW and timegen options
r302 add_definitions(-DSW_VERSION_N1=${SW_VERSION_N1})
add_definitions(-DSW_VERSION_N2=${SW_VERSION_N2})
add_definitions(-DSW_VERSION_N3=${SW_VERSION_N3})
add_definitions(-DSW_VERSION_N4=${SW_VERSION_N4})
Switched to cmake, more portable and better conf options!
r299
Added gcov support...
r387 add_executable(fsw ${SOURCES})
Removed all remaining unused macros and fixed bug...
r385
Removed unused function and implemented scrubbing perriod counter...
r389 if(FSW_Instrument_Scrubbing)
add_definitions(-DENABLE_SCRUBBING_COUNTER)
endif()
Added gcov support...
r387 if(Coverage)
target_link_libraries(fsw gcov)
Increased libgcov gcda buffer to avoid file splitting
r388 SET_TARGET_PROPERTIES(fsw PROPERTIES COMPILE_FLAGS "-fprofile-arcs -ftest-coverage")
Added gcov support...
r387 endif()
paul
3.2.0.15...
r368
if(fix-b2bst)
check_b2bst(fsw ${CMAKE_CURRENT_BINARY_DIR})
endif()
Added srec production and bumped FSW to 3.2.0.17 since .16 has been delivered...
r377 if(NOT FSW_lpp_dpu_destid)
build_srec(fsw ${CMAKE_CURRENT_BINARY_DIR} "${SW_VERSION_N1}-${SW_VERSION_N2}-${SW_VERSION_N3}-${SW_VERSION_N4}")
endif()
Few cosmetic changes and lowered optim to -O2...
r400 #add_test_cppcheck(fsw STYLE UNUSED_FUNCTIONS POSSIBLE_ERROR MISSING_INCLUDE)
paul
setFBinMask corrected...
r313