lokinet/pybind/CMakeLists.txt
Jeff Becker 5c457ff486
refactor logging to use std::source_location
* use std::source_location instead of godawful macros in logging
* remove unused/absolutely haram af json logstream
* fix bug in android logger where it doesn't respect eLogNone
2021-10-06 11:10:48 -04:00

22 lines
576 B
CMake

pybind11_add_module(pyllarp MODULE
module.cpp
llarp/context.cpp
llarp/router.cpp
llarp/router_id.cpp
llarp/router_contact.cpp
llarp/crypto/types.cpp
llarp/config.cpp
llarp/logger.cpp
llarp/peerstats.cpp
llarp/dht/dht_types.cpp
llarp/path/path_types.cpp
llarp/path/path_hop_config.cpp
llarp/handlers/pyhandler.cpp
llarp/tooling/router_hive.cpp
llarp/tooling/router_event.cpp
llarp/service/address.cpp
)
target_link_libraries(pyllarp PUBLIC liblokinet)
target_include_directories(pyllarp PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
add_log_tag(pyllarp)