Back to home page

EIC code displayed by LXR

 
 

    


Warning, /jana2/src/python/modules/jana/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 # See https://pybind11.readthedocs.io/en/stable/faq.html#someclass-declared-with-greater-visibility-than-the-type-of-its-field-someclass-member-wattributes
0003 
0004 add_library(jana_python_module SHARED jana_module.cc)
0005 target_compile_options(jana_python_module PRIVATE -fvisibility=hidden)
0006 target_include_directories(jana_python_module PRIVATE ${PYTHON_INCLUDE_DIRS} ${pybind11_INCLUDE_DIRS} ../../common)
0007 target_include_directories(jana_python_module PRIVATE ${CMAKE_BINARY_DIR}/src/libraries)
0008 target_link_libraries(jana_python_module PRIVATE ${PYTHON_LIBRARIES} jana2)
0009 
0010 set_target_properties(jana_python_module PROPERTIES PREFIX "" SUFFIX ".so" LIBRARY_OUTPUT_NAME "jana")
0011 install(TARGETS jana_python_module DESTINATION python)