2018-11-07 21:30:20 +01:00
|
|
|
cmake_minimum_required(VERSION 2.7)
|
|
|
|
project(knx-linux)
|
|
|
|
set(LIBRARIES_FROM_REFERENCES "")
|
2019-05-31 23:44:03 +02:00
|
|
|
add_executable(knx-linux
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx/address_table_object.cpp
|
|
|
|
../../src/knx/address_table_object.h
|
2020-07-06 19:16:54 +02:00
|
|
|
../../src/knx/aes.c
|
|
|
|
../../src/knx/aes.h
|
|
|
|
../../src/knx/aes.hpp
|
|
|
|
../../src/knx/apdu.cpp
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx/apdu.h
|
|
|
|
../../src/knx/application_layer.cpp
|
|
|
|
../../src/knx/application_layer.h
|
|
|
|
../../src/knx/application_program_object.cpp
|
|
|
|
../../src/knx/application_program_object.h
|
|
|
|
../../src/knx/association_table_object.cpp
|
|
|
|
../../src/knx/association_table_object.h
|
|
|
|
../../src/knx/bau.cpp
|
|
|
|
../../src/knx/bau.h
|
|
|
|
../../src/knx/bau07B0.cpp
|
|
|
|
../../src/knx/bau07B0.h
|
|
|
|
../../src/knx/bau27B0.cpp
|
|
|
|
../../src/knx/bau27B0.h
|
|
|
|
../../src/knx/bau57B0.cpp
|
|
|
|
../../src/knx/bau57B0.h
|
|
|
|
../../src/knx/bau_systemB.cpp
|
|
|
|
../../src/knx/bau_systemB.h
|
|
|
|
../../src/knx/bits.cpp
|
|
|
|
../../src/knx/bits.h
|
|
|
|
../../src/knx/callback_property.h
|
|
|
|
../../src/knx/cemi_frame.cpp
|
|
|
|
../../src/knx/cemi_frame.h
|
|
|
|
../../src/knx/cemi_server.cpp
|
2020-06-09 21:06:13 +02:00
|
|
|
../../src/knx/cemi_server.h
|
|
|
|
../../src/knx/cemi_server_object.cpp
|
|
|
|
../../src/knx/cemi_server_object.h
|
|
|
|
../../src/knx/config.h
|
|
|
|
../../src/knx/data_link_layer.cpp
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx/data_link_layer.h
|
|
|
|
../../src/knx/data_property.cpp
|
|
|
|
../../src/knx/data_property.h
|
|
|
|
../../src/knx/device_object.cpp
|
|
|
|
../../src/knx/device_object.h
|
|
|
|
../../src/knx/dpt.cpp
|
|
|
|
../../src/knx/dpt.h
|
|
|
|
../../src/knx/dptconvert.cpp
|
|
|
|
../../src/knx/dptconvert.h
|
2020-07-06 19:16:54 +02:00
|
|
|
../../src/knx/function_property.h
|
|
|
|
../../src/knx/group_object.cpp
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx/group_object.h
|
|
|
|
../../src/knx/group_object_table_object.cpp
|
|
|
|
../../src/knx/group_object_table_object.h
|
|
|
|
../../src/knx/interface_object.cpp
|
|
|
|
../../src/knx/interface_object.h
|
|
|
|
../../src/knx/ip_data_link_layer.cpp
|
|
|
|
../../src/knx/ip_data_link_layer.h
|
|
|
|
../../src/knx/ip_parameter_object.cpp
|
|
|
|
../../src/knx/ip_parameter_object.h
|
2019-12-28 00:29:17 +01:00
|
|
|
../../src/knx/knx_ip_device_information_dib.cpp
|
2020-06-09 21:06:13 +02:00
|
|
|
../../src/knx/knx_ip_device_information_dib.h
|
|
|
|
../../src/knx/knx_ip_dib.cpp
|
|
|
|
../../src/knx/knx_ip_dib.h
|
|
|
|
../../src/knx/knx_ip_frame.cpp
|
|
|
|
../../src/knx/knx_ip_frame.h
|
|
|
|
../../src/knx/knx_ip_routing_indication.cpp
|
|
|
|
../../src/knx/knx_ip_routing_indication.h
|
|
|
|
../../src/knx/knx_ip_search_request.cpp
|
|
|
|
../../src/knx/knx_ip_search_request.h
|
|
|
|
../../src/knx/knx_ip_search_response.cpp
|
|
|
|
../../src/knx/knx_ip_search_response.h
|
|
|
|
../../src/knx/knx_ip_supported_service_dib.cpp
|
|
|
|
../../src/knx/knx_ip_supported_service_dib.h
|
|
|
|
../../src/knx/ip_host_protocol_address_information.cpp
|
|
|
|
../../src/knx/ip_host_protocol_address_information.h
|
|
|
|
../../src/knx/knx_types.h
|
|
|
|
../../src/knx/knx_value.cpp
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx/knx_value.h
|
|
|
|
../../src/knx/memory.cpp
|
|
|
|
../../src/knx/memory.h
|
|
|
|
../../src/knx/network_layer.cpp
|
|
|
|
../../src/knx/network_layer.h
|
|
|
|
../../src/knx/npdu.cpp
|
|
|
|
../../src/knx/npdu.h
|
2020-06-09 21:06:13 +02:00
|
|
|
../../src/knx/platform.cpp
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx/platform.h
|
|
|
|
../../src/knx/property.cpp
|
|
|
|
../../src/knx/property.h
|
|
|
|
../../src/knx/rf_data_link_layer.cpp
|
|
|
|
../../src/knx/rf_data_link_layer.h
|
|
|
|
../../src/knx/rf_medium_object.cpp
|
|
|
|
../../src/knx/rf_medium_object.h
|
|
|
|
../../src/knx/rf_physical_layer.cpp
|
|
|
|
../../src/knx/rf_physical_layer.h
|
2020-07-06 19:16:54 +02:00
|
|
|
../../src/knx/secure_application_layer.cpp
|
|
|
|
../../src/knx/secure_application_layer.h
|
|
|
|
../../src/knx/security_interface_object.cpp
|
|
|
|
../../src/knx/security_interface_object.h
|
|
|
|
../../src/knx/simple_map.h
|
|
|
|
../../src/knx/table_object.cpp
|
2020-06-09 21:06:13 +02:00
|
|
|
../../src/knx/save_restore.h
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx/table_object.cpp
|
|
|
|
../../src/knx/table_object.h
|
|
|
|
../../src/knx/tpdu.cpp
|
|
|
|
../../src/knx/tpdu.h
|
|
|
|
../../src/knx/tpuart_data_link_layer.cpp
|
|
|
|
../../src/knx/tpuart_data_link_layer.h
|
|
|
|
../../src/knx/transport_layer.cpp
|
|
|
|
../../src/knx/transport_layer.h
|
|
|
|
../../src/knx/usb_tunnel_interface.cpp
|
2020-06-09 21:06:13 +02:00
|
|
|
../../src/knx/usb_tunnel_interface.h
|
|
|
|
../../src/knx_facade.cpp
|
2019-12-12 22:47:54 +01:00
|
|
|
../../src/knx_facade.h
|
|
|
|
../../src/linux_platform.cpp
|
|
|
|
../../src/linux_platform.h
|
2020-07-06 19:16:54 +02:00
|
|
|
fdsk.cpp
|
|
|
|
fdsk.h
|
2019-12-10 21:44:23 +01:00
|
|
|
main.cpp)
|
2019-05-13 22:31:45 +02:00
|
|
|
target_link_libraries(knx-linux "${LIBRARIES_FROM_REFERENCES}")
|
2019-12-12 22:47:54 +01:00
|
|
|
include_directories(../../src)
|
2019-12-28 00:29:17 +01:00
|
|
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -g -O0")
|
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -g -O0")
|
2019-10-25 16:41:29 +02:00
|
|
|
set_property(TARGET knx-linux PROPERTY CXX_STANDARD 11)
|
2019-10-28 18:26:24 +01:00
|
|
|
add_definitions(-DMEDIUM_TYPE=5)
|