Fork me on GitHub

Changeset 8b8a46c in git


Ignore:
Timestamp:
Feb 5, 2018, 11:56:37 AM (7 years ago)
Author:
William Fawcett <william.fawcett@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
3283d6e
Parents:
44dbbc1
Message:

start introducing pythia8 to cmake

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r44dbbc1 r8b8a46c  
    2626ENDIF(SET_RPATH)
    2727   
     28# WJF: add path to place where Find*.cmake files can be found (for external libraries)
     29set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
     30
    2831# Declare ROOT dependency
    2932find_package(ROOT COMPONENTS EG Eve Geom Gui GuiHtml GenVector Hist Physics Matrix Graf RIO Tree Gpad RGL MathCore)
    3033include(${ROOT_USE_FILE})
     34
     35# WJF: Declare TrickTrack dependency
     36find_package(tricktrack)
     37include_directories(${tricktrack_INCLUDE_DIR})
     38
     39# WJF: Declare Eigen dependency
     40include_directories($ENV{EIGEN_INCLUDE_DIR})
     41
     42# WJF: Declare Pythia8 dependancy
     43#include_directories($ENV{PYTHIA_INCLUDE_DIR})
     44find_package(Pythia8)
     45include_directories(${PYTHIA8_INCLUDE_DIRS})
     46set(LIBS ${LIBS} ${PYTHIA8_LIBRARIES})
     47
     48# WJF test
    3149
    3250if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
     
    4159  endif()
    4260endfunction()
     61
     62
    4363
    4464# Declare position of all other externals needed
     
    7797target_link_Libraries(Delphes ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES})
    7898target_link_Libraries(DelphesDisplay ${ROOT_LIBRARIES} ${ROOT_COMPONENT_LIBRARIES})
     99target_link_libraries(Delphes ${LIBS})
     100
    79101
    80102install(TARGETS Delphes DelphesDisplay DESTINATION lib)
  • readers/CMakeLists.txt

    r44dbbc1 r8b8a46c  
    99list(REMOVE_ITEM executables DelphesCMSFWLite.cpp)
    1010list(REMOVE_ITEM executables DelphesProMC.cpp)
    11 list(REMOVE_ITEM executables DelphesPythia8.cpp)
     11#list(REMOVE_ITEM executables DelphesPythia8.cpp)
    1212
    1313# build all executables and put them into bin/
Note: See TracChangeset for help on using the changeset viewer.