Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/CMakeLists.txt

    rb8a84d7 r82cf9c4  
    66file(GLOB sources *.cc)
    77file(GLOB headers *.h)
    8 
    98list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h)
    109
    11 DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict
    12   ExRootAnalysis/ExRootClassifier.h
    13   ExRootAnalysis/ExRootConfReader.h
    14   ExRootAnalysis/ExRootFilter.h
    15   ExRootAnalysis/ExRootProgressBar.h
    16   ExRootAnalysis/ExRootResult.h
    17   ExRootAnalysis/ExRootTask.h
    18   ExRootAnalysis/ExRootTreeBranch.h
    19   ExRootAnalysis/ExRootTreeReader.h
    20   ExRootAnalysis/ExRootTreeWriter.h
    21   ExRootAnalysis/ExRootUtilities.h
    22   LINKDEF ExRootAnalysisLinkDef.h)
     10DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h)
    2311
    2412add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx)
    2513
    26 # install headers
    27 install(FILES ${headers} DESTINATION include/ExRootAnalysis)
     14# install headers needed by public Delphes headers to include/
     15install(FILES ExRootTask.h ExRootConfReader.h ExRootTreeWriter.h ExRootTreeBranch.h
     16        DESTINATION include/ExRootAnalysis)
     17
     18# install all LinkDef files into the same folder to ease user environment
     19install(FILES ExRootAnalysisLinkDef.h DESTINATION include)
    2820
    2921# install pcms if they are created
Note: See TracChangeset for help on using the changeset viewer.