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
|
|
|
|
../src/knx/address_table_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/address_table_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/apdu.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/apdu.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/application_layer.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/application_layer.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/application_program_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/application_program_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/association_table_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/association_table_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/bau.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/bau.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/bau07B0.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/bau07B0.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/bau27B0.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/bau27B0.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/bau57B0.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/bau57B0.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/bau_systemB.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/bau_systemB.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/bits.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/bits.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/cemi_frame.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/cemi_frame.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/data_link_layer.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/data_link_layer.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/device_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/device_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/dpt.cpp
|
|
|
|
../src/knx/dpt.h
|
|
|
|
../src/knx/dptconvert.cpp
|
|
|
|
../src/knx/dptconvert.h
|
|
|
|
../src/knx/group_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/group_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/group_object_table_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/group_object_table_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/interface_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/interface_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/ip_data_link_layer.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/ip_data_link_layer.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/ip_parameter_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/ip_parameter_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/knx_value.cpp
|
|
|
|
../src/knx/knx_value.h
|
|
|
|
../src/knx/memory.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/memory.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/network_layer.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/network_layer.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/npdu.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/npdu.h
|
2019-12-10 22:25:33 +01:00
|
|
|
../src/knx/platform.cpp
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/platform.h
|
|
|
|
../src/knx/rf_data_link_layer.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/rf_data_link_layer.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/rf_medium_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/rf_medium_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/rf_physical_layer.cpp
|
|
|
|
../src/knx/rf_physical_layer.h
|
|
|
|
../src/knx/table_object.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/table_object.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/tpdu.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/tpdu.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/tpuart_data_link_layer.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/tpuart_data_link_layer.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx/transport_layer.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx/transport_layer.h
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/knx_facade.cpp
|
2019-10-25 17:01:04 +02:00
|
|
|
../src/knx_facade.h
|
2019-05-31 23:44:03 +02:00
|
|
|
../src/linux_platform.cpp
|
2019-12-10 21:44:23 +01:00
|
|
|
../src/linux_platform.h
|
|
|
|
main.cpp)
|
2019-05-13 22:31:45 +02:00
|
|
|
target_link_libraries(knx-linux "${LIBRARIES_FROM_REFERENCES}")
|
2019-05-15 21:53:12 +02:00
|
|
|
include_directories(../src)
|
2019-05-13 22:31:45 +02:00
|
|
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -Wno-switch -g -O0")
|
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-unknown-pragmas -Wno-switch -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)
|