Skip to content
Snippets Groups Projects
Commit 683f6822 authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[+] Added submodule libdap-python

parent f169f3ce
No related branches found
No related tags found
1 merge request!26Support 3689
...@@ -79,3 +79,6 @@ ...@@ -79,3 +79,6 @@
[submodule "libdap-chain-common"] [submodule "libdap-chain-common"]
path = libdap-chain-common path = libdap-chain-common
url = https://gitlab.demlabs.net/cellframe/libdap-chain-common.git url = https://gitlab.demlabs.net/cellframe/libdap-chain-common.git
[submodule "libdap-python"]
path = libdap-python
url = https://gitlab.demlabs.net/cellframe/libdap-python.git
...@@ -168,6 +168,27 @@ if (NOT (${SUBMODULES_NO_BUILD} MATCHES ON)) ...@@ -168,6 +168,27 @@ if (NOT (${SUBMODULES_NO_BUILD} MATCHES ON))
"-fpic" "-fpic"
) )
endif() endif()
if (NOT (TARGET (dap_python_module)))
add_subdirectory(libdap-python)
target_compile_options(
dap_python_module PRIVATE
"-fpic"
)
endif()
if (NOT (TARGET (dap_chain_python_module)))
add_subdirectory(libdap-chain-python)
target_compile_options(
dap_chain_python_module PRIVATE
"-fpic"
)
endif()
if (NOT (TARGET (dap_crypto_python_module)))
add_subdirectory(libdap-crypto-python)
target_compile_options(
dap_crypto_python_module PRIVATE
"-fpic"
)
endif()
endif() endif()
...@@ -182,7 +203,7 @@ add_library(${PROJECT_NAME} STATIC ${CHAIN_GDB_PYTHON_SRCS} ${CHAIN_GDB_PYTHON_H ...@@ -182,7 +203,7 @@ add_library(${PROJECT_NAME} STATIC ${CHAIN_GDB_PYTHON_SRCS} ${CHAIN_GDB_PYTHON_H
target_link_libraries(${PROJECT_NAME}) target_link_libraries(${PROJECT_NAME})
target_link_libraries(${PROJECT_NAME} dap_chain_gdb dap_core dap_chain dap_chain_global_db dap_chain_mempool dap_chain_net) target_link_libraries(${PROJECT_NAME} dap_chain_gdb dap_core dap_chain dap_chain_global_db dap_chain_mempool dap_chain_net dap_chain_python_module)
target_include_directories(${PROJECT_NAME} PUBLIC include/ ) target_include_directories(${PROJECT_NAME} PUBLIC include/ )
Subproject commit 4a15aca686aa56313f8ef8157c7d0aba7c9d7154
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment