
## generation profile name.
## mandatory (generates library profile)
set(COMP_SRC_PROFILE "library")

## COMP_SRC_LIB_TYPE var must be set to either 'static', 'shared' or 'both'.
## mandatory
set(COMP_SRC_LIB_TYPE "both")

## COMP_SRC_LIB_NAME var must be set to library name (without prefix and extension).
## mandatory
set(COMP_SRC_LIB_NAME "co_sdo")

## LOCAL_SRC_DIR_SUFFIX is the relative path prefix to append to component files directory in order to find source files to compile.
## optional but recommended
set(LOCAL_SRC_DIR_SUFFIX lib)

## LOCAL_SRC_FILES is the list of files to compile (do not use any absolute path, automatic appending is performed by complete makefiles scheme.
## mandatory
set(LOCAL_SRC_FILES 
    CO_index_fill.c
    CO_index_extract.c
    CO_SDO_build_init_dl_rq.c
    CO_SDO_build_init_dl_rp.c    
    CO_SDO_build_dl_seg_rq.c
    CO_SDO_build_dl_seg_rp.c
    CO_SDO_build_init_ul_rq.c
    CO_SDO_build_init_ul_rp.c
    CO_SDO_build_ul_seg_rq.c
    CO_SDO_build_ul_seg_rp.c
    CO_SDO_build_abort_transfert.c
    CO_SDO_build_init_blk_dl_rq.c
    CO_SDO_build_init_blk_dl_rp.c
    CO_SDO_build_blk_dl_seg_rq.c
    CO_SDO_build_blk_dl_seg_rp.c
    CO_SDO_build_blk_dl_end_rq.c
    CO_SDO_build_blk_dl_end_rp.c
    CO_SDO_build_init_blk_ul_rq.c
    CO_SDO_build_init_blk_ul_rp.c
    CO_SDO_build_start_blk_ul_rq.c
)

## LOCAL_SRC_FILES_ADDED is the list of files to compile with absolute path (useful if generated files are somewhere).
## optional
# set(LOCAL_SRC_FILES_ADDED <somewhere absolute>)

## COMP_SRC_LIB_DEPS is the list of library dependencies (internal dependencies only).
## Build system will decide which static or shared is recommended.
## optional
# set(COMP_SRC_LIB_DEPS other_lib)

## COMP_SRC_LIB_DEPS_STATIC is the list of static library dependencies (internal dependencies only).
## Be careful about system compatibility between static and shared libraries
## optional
# set(COMP_SRC_LIB_DEPS_STATIC other_static_lib)

## COMP_SRC_LIB_DEPS_SHARED is the list of shared library dependencies (internal dependencies only).
## Be careful about system compatibility between static and shared libraries.
## optional
# set(COMP_SRC_LIB_DEPS_SHARED other_shared_lib)


## COMP_EXT_LIB_DEPS is the list of external library dependencies.
## optional
if(${MINGW})
set(COMP_EXT_LIB_DEPS Ws2_32)
endif()

