hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model/bindings/CMakeLists.txt File Reference

Functions

 add_library (bindings model_transaction_builder.cpp model_query_builder.cpp model_blocks_query_builder.cpp model_crypto.cpp client_api.cpp) target_link_libraries(bindings shared_model_proto_backend shared_model_cryptography shared_model_stateless_validation generator common) if(SWIG_JAVA OR SWIG_CSHARP) find_package(swig REQUIRED) include($
 
 set_source_files_properties (bindings.i PROPERTIES CPLUSPLUS ON) set_property(GLOBAL PROPERTY SWIG_BUILD_DIR $
 
 add_dependencies (bindings swig) macro(myswig_add_library target) swig_add_library($
 
 get_target_property (dependencies ${SWIG_MODULE_ ${target}_REAL_NAME}MANUALLY_ADDED_DEPENDENCIES) if(dependencies) foreach(dependency IN LISTS dependencies) add_dependencies($
 
swig endforeach () endif() endmacro() endif() if(SWIG_JAVA) find_package(JNI REQUIRED) if(SWIG_JAVA_PKG) set(CMAKE_SWIG_FLAGS-package $
 
 string (REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
 
bindings target_include_directories (${SWIG_MODULE_irohajava_REAL_NAME}PUBLIC ${JAVA_INCLUDE_PATH}${JAVA_INCLUDE_PATH2}) endif() if(SWIG_CSHARP) myswig_add_library(libirohacs LANGUAGE csharp SOURCES bindings.i) swig_link_libraries(libirohacs bindings) add_custom_target(irohacs DEPENDS $
 

Function Documentation

add_dependencies ( bindings  swig)

Here is the caller graph for this function:

add_library ( bindings model_transaction_builder.cpp model_query_builder.cpp model_blocks_query_builder.cpp model_crypto.cpp client_api.  cpp)
swig endforeach ( )
get_target_property ( dependencies ${SWIG_MODULE_ ${target}_REAL_NAME}  MANUALLY_ADDED_DEPENDENCIES)

Here is the call graph for this function:

set_source_files_properties ( bindings.i PROPERTIES CPLUSPLUS  ON)
string ( REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}  )
bindings target_include_directories (   ${SWIG_MODULE_irohajava_REAL_NAME}PUBLIC ${JAVA_INCLUDE_PATH}${JAVA_INCLUDE_PATH2})

Here is the caller graph for this function: