mirror of
https://github.com/thelsing/knx.git
synced 2026-02-23 13:50:35 +01:00
move files around and refactor cmake
This commit is contained in:
@@ -3,7 +3,7 @@ project(knx VERSION 1.5)
|
||||
|
||||
add_subdirectory(pybind11)
|
||||
|
||||
pybind11_add_module(knx
|
||||
pybind11_add_module(knxPython
|
||||
knxmodule.cpp
|
||||
../../src/knx/address_table_object.cpp
|
||||
../../src/knx/address_table_object.h
|
||||
@@ -137,6 +137,6 @@ include_directories(../../src)
|
||||
|
||||
#set(outdir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
|
||||
#set_target_properties(knx PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${outdir})
|
||||
set_target_properties(knx PROPERTIES OUTPUT_NAME knx)
|
||||
set_property(TARGET knx PROPERTY CXX_STANDARD 11)
|
||||
target_compile_definitions(knx PUBLIC -DMASK_VERSION=0x57B0)
|
||||
set_target_properties(knxPython PROPERTIES OUTPUT_NAME knx)
|
||||
set_property(TARGET knxPython PROPERTY CXX_STANDARD 11)
|
||||
target_compile_definitions(knxPython PUBLIC -DMASK_VERSION=0x57B0)
|
||||
|
||||
0
examples/knxPython/knx/config.h
Normal file
0
examples/knxPython/knx/config.h
Normal file
@@ -14,7 +14,7 @@ namespace py = pybind11;
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
#include "linux_platform.h"
|
||||
#include "knx/platform/linux_platform.h"
|
||||
#include "knx/bau57B0.h"
|
||||
#include "knx/group_object_table_object.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user