Back to home page

EIC code displayed by LXR

 
 

    


Warning, /snippets/PID/hpDIRC/plugins/hpDIRCrawHits/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 #
0003 # EICrecon stand alone plugin
0004 #
0005 # This file was generated by the eicmkplugin.py script
0006 #
0007 # Before using this, make sure your environment is set up
0008 # for the EICrecon version you are using. The easiest way
0009 # to do this is to source the bin/eicrecon-this.(c)sh
0010 # script.
0011 #
0012 
0013 cmake_minimum_required(VERSION 3.16)
0014 project(hpDIRCrawHits_project)
0015 
0016 find_package(EICrecon REQUIRED)
0017 find_package(spdlog REQUIRED)
0018 
0019 set(CMAKE_CXX_STANDARD ${EICrecon_CXX_STANDARD})
0020 
0021 # Automatically determine source file list.
0022 file(GLOB mysourcefiles *.cpp *.cc *.c  *.hpp *.hh *.h)
0023 set( hpDIRCrawHits_PLUGIN_SOURCES ${mysourcefiles} )
0024 
0025 # Create plugin
0026 add_library(hpDIRCrawHits_plugin SHARED ${hpDIRCrawHits_PLUGIN_SOURCES})
0027 target_link_libraries(hpDIRCrawHits_plugin EICrecon::rootfile_plugin)
0028 set_target_properties(hpDIRCrawHits_plugin PROPERTIES PREFIX "" OUTPUT_NAME "hpDIRCrawHits" SUFFIX ".so")
0029 target_compile_definitions(hpDIRCrawHits_plugin PUBLIC HAVE_PODIO)
0030 
0031 # Install plugin USER_PLUGIN_OUTPUT_DIRECTORY is set depending on EICrecon_MY envar.
0032 install(TARGETS hpDIRCrawHits_plugin DESTINATION ${USER_PLUGIN_OUTPUT_DIRECTORY} )
0033