mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
441 B
CMake
13 lines
441 B
CMake
|
|
set(PYTHON_EXECUTABLE "python3")
|
|
find_package(pybind11 REQUIRED)
|
|
set(LLARP_PYBIND_SRC
|
|
module.cpp
|
|
llarp/router_contact.cpp
|
|
llarp/simulation/sim_context.cpp)
|
|
|
|
pybind11_add_module(pyllarp MODULE ${LLARP_PYBIND_SRC})
|
|
target_include_directories(pyllarp PRIVATE ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/crypto/libntrup/include ${CMAKE_SOURCE_DIR}/llarp ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_link_libraries(pyllarp PUBLIC ${EXE_LIBS})
|
|
|