Compile KNX-RF specific bau27B0 and layers only if MEDIUM_TYPE is 2 (RF).

For knx-linux add MEDIUM_TYPE 0 (TP) as default to the CMakeLists.txt
This commit is contained in:
nanosonde
2019-10-28 14:03:35 +01:00
parent c93dc81367
commit eb87ec1fe9
4 changed files with 13 additions and 1 deletions

View File

@@ -78,4 +78,4 @@ 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)
install(TARGETS knx-linux RUNTIME DESTINATION /tmp)
add_definitions(-DMEDIUM_TYPE=0)