You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
954 B
37 lines
954 B
cmake_minimum_required(VERSION 3.10)
|
|
project(gex_client)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
|
|
|
|
set(SOURCE_FILES
|
|
main.c
|
|
gex/serial/serial.c
|
|
gex/serial/serial.h
|
|
gex/gex_client.c
|
|
gex/gex_client.h
|
|
gex/gex_helpers.c
|
|
gex/gex_helpers.h
|
|
gex/gex_internal.h
|
|
gex/gex_message_types.h
|
|
gex/utils/hexdump.c
|
|
gex/utils/hexdump.h
|
|
gex/TF_Integration.c
|
|
gex/utils/payload_builder.c
|
|
gex/utils/payload_builder.h
|
|
gex/utils/payload_parser.c
|
|
gex/utils/payload_parser.h
|
|
gex/protocol/TF_Config.h
|
|
gex/protocol/TinyFrame.c
|
|
gex/protocol/TinyFrame.h
|
|
gex/utils/type_coerce.h
|
|
gex/gex_defines.h gex/gex_unit.c gex/gex_unit.h gex/gex.h gex/gex_bulk.c)
|
|
|
|
include_directories(
|
|
gex
|
|
gex/protocol
|
|
gex/serial
|
|
)
|
|
|
|
add_executable(gex_client ${SOURCE_FILES})
|
|
|