-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
462 additions
and
550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
cmake_minimum_required(VERSION 3.16) | ||
project(knx VERSION 1.5) | ||
project(knxPython VERSION 1.5) | ||
|
||
add_subdirectory(pybind11) | ||
|
||
pybind11_add_module(knxPython | ||
knxmodule.cpp | ||
) | ||
include_directories(src pybind11/include) | ||
|
||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0") | ||
#set(outdir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) | ||
#set_target_properties(knx PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${outdir}) | ||
set_target_properties(knxPython PROPERTIES OUTPUT_NAME knx) | ||
set_property(TARGET knxPython PROPERTY CXX_STANDARD 11) | ||
#target_compile_definitions(knxPython PUBLIC -DMASK_VERSION=0x57B0) | ||
target_link_libraries(knxPython PRIVATE knx) | ||
target_link_libraries(knxPython PUBLIC knx) | ||
install(TARGETS knxPython LIBRARY DESTINATION .) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.