# groups.cmake # group Source Files add_library(Group_Source_Files OBJECT "${SOLUTION_ROOT}/Robot_V2/main.cpp" "${SOLUTION_ROOT}/Robot_V2/sys/aes128.cpp" ) target_include_directories(Group_Source_Files PUBLIC $ "${SOLUTION_ROOT}/Robot_V2" "${SOLUTION_ROOT}/Robot_V2/sys" ) target_compile_definitions(Group_Source_Files PUBLIC $ ) add_library(Group_Source_Files_ABSTRACTIONS INTERFACE) target_link_libraries(Group_Source_Files_ABSTRACTIONS INTERFACE ${CONTEXT}_ABSTRACTIONS ) target_compile_options(Group_Source_Files PUBLIC $ ) target_link_libraries(Group_Source_Files PUBLIC Group_Source_Files_ABSTRACTIONS ) # group sys add_library(Group_sys OBJECT "${SOLUTION_ROOT}/Robot_V2/sys/systick.cpp" "${SOLUTION_ROOT}/Robot_V2/sys/initial.cpp" "${SOLUTION_ROOT}/Robot_V2/sys/OTA.cpp" ) target_include_directories(Group_sys PUBLIC $ "${SOLUTION_ROOT}/Robot_V2/sys" ) target_compile_definitions(Group_sys PUBLIC $ ) add_library(Group_sys_ABSTRACTIONS INTERFACE) target_link_libraries(Group_sys_ABSTRACTIONS INTERFACE ${CONTEXT}_ABSTRACTIONS ) target_compile_options(Group_sys PUBLIC $ ) target_link_libraries(Group_sys PUBLIC Group_sys_ABSTRACTIONS ) # group device add_library(Group_device OBJECT "${SOLUTION_ROOT}/Robot_V2/device/Can.cpp" ) target_include_directories(Group_device PUBLIC $ "${SOLUTION_ROOT}/Robot_V2/device" ) target_compile_definitions(Group_device PUBLIC $ ) add_library(Group_device_ABSTRACTIONS INTERFACE) target_link_libraries(Group_device_ABSTRACTIONS INTERFACE ${CONTEXT}_ABSTRACTIONS ) target_compile_options(Group_device PUBLIC $ ) target_link_libraries(Group_device PUBLIC Group_device_ABSTRACTIONS )