"Fossies" - the Fresh Open Source Software Archive

Member "irods-4.2.8/plugins/microservices/administration/CMakeLists.txt" (14 May 2020, 1589 Bytes) of package /linux/misc/irods-4.2.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 4.2.7_vs_4.2.8.

    1 set(
    2   IRODS_MICROSERVICE_ADMINISTRATION_PLUGINS
    3   msisync_to_archive
    4   msi_update_unixfilesystem_resource_free_space
    5   )
    6 
    7 foreach(PLUGIN ${IRODS_MICROSERVICE_ADMINISTRATION_PLUGINS})
    8   add_library(
    9     ${PLUGIN}
   10     MODULE
   11     ${CMAKE_SOURCE_DIR}/plugins/microservices/administration/${PLUGIN}/lib${PLUGIN}.cpp
   12     )
   13 
   14   target_include_directories(
   15     ${PLUGIN}
   16     PRIVATE
   17     ${CMAKE_BINARY_DIR}/lib/core/include
   18     ${CMAKE_SOURCE_DIR}/lib/core/include
   19     ${CMAKE_SOURCE_DIR}/lib/api/include
   20     ${CMAKE_SOURCE_DIR}/server/drivers/include
   21     ${CMAKE_SOURCE_DIR}/server/api/include
   22     ${CMAKE_SOURCE_DIR}/server/core/include
   23     ${CMAKE_SOURCE_DIR}/server/icat/include
   24     ${CMAKE_SOURCE_DIR}/server/re/include
   25     ${IRODS_EXTERNALS_FULLPATH_BOOST}/include
   26     ${IRODS_EXTERNALS_FULLPATH_FMT}/include
   27     ${CURL_INCLUDE_DIRS}
   28     )
   29 
   30   target_link_libraries(
   31     ${PLUGIN}
   32     PRIVATE
   33     irods_server
   34     irods_common
   35     ${IRODS_EXTERNALS_FULLPATH_BOOST}/lib/libboost_filesystem.so
   36     ${IRODS_EXTERNALS_FULLPATH_BOOST}/lib/libboost_system.so
   37     ${IRODS_EXTERNALS_FULLPATH_FMT}/lib/libfmt.so
   38     ${CURL_LIBRARIES}
   39     )
   40 
   41   target_compile_definitions(${PLUGIN} PRIVATE ENABLE_RE ${IRODS_COMPILE_DEFINITIONS} BOOST_SYSTEM_NO_DEPRECATED)
   42   target_compile_options(${PLUGIN} PRIVATE -Wno-write-strings)
   43   set_property(TARGET ${PLUGIN} PROPERTY CXX_STANDARD ${IRODS_CXX_STANDARD})
   44 endforeach()
   45 
   46 install(
   47   TARGETS
   48     ${IRODS_MICROSERVICE_ADMINISTRATION_PLUGINS}
   49   LIBRARY
   50     DESTINATION ${IRODS_PLUGINS_DIRECTORY}/microservices
   51     COMPONENT ${IRODS_PACKAGE_COMPONENT_SERVER_NAME}
   52   )