knx/knx-linux/CMakeLists.txt
2019-12-12 21:23:37 +01:00

91 lines
2.7 KiB
CMake

cmake_minimum_required(VERSION 2.7)
project(knx-linux)
set(LIBRARIES_FROM_REFERENCES "")
add_executable(knx-linux
../src/knx/address_table_object.cpp
../src/knx/address_table_object.h
../src/knx/apdu.cpp
../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
../src/knx/cemi_server_object.cpp
../src/knx/data_link_layer.cpp
../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
../src/knx/group_object.cpp
../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
../src/knx/knx_ip_frame.cpp
../src/knx/knx_value.cpp
../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
../src/knx/platform.cpp
../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
../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
../src/knx_facade.cpp
../src/knx_facade.h
../src/linux_platform.cpp
../src/linux_platform.h
main.cpp)
target_link_libraries(knx-linux "${LIBRARIES_FROM_REFERENCES}")
include_directories(../src)
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")
set_property(TARGET knx-linux PROPERTY CXX_STANDARD 11)
add_definitions(-DMEDIUM_TYPE=5)