# Create a library called "libParbase" which includes the source files given in # the array . # The extension is already found. Any number of sources could be listed here. set(INCLUDE_DIRECTORIES ${ROOT_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/fairtools ${CMAKE_SOURCE_DIR}/base ${CMAKE_SOURCE_DIR}/geobase ${CMAKE_SOURCE_DIR}/parbase ${CMAKE_SOURCE_DIR}/parbase/dbIO ${CMAKE_SOURCE_DIR}/dbase/ ${CMAKE_SOURCE_DIR}/dbase/dbInterface ${CMAKE_SOURCE_DIR}/dbase/dbValidation ) include_directories( ${INCLUDE_DIRECTORIES}) set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ) link_directories( ${LINK_DIRECTORIES}) set(SRCS FairContFact.cxx FairDetParAsciiFileIo.cxx FairDetParIo.cxx FairDetParRootFileIo.cxx FairGenericParAsciiFileIo.cxx FairGenericParRootFileIo.cxx FairParAsciiFileIo.cxx FairParGenericSet.cxx FairParIo.cxx FairParRootFileIo.cxx FairParSet.cxx FairParamList.cxx FairRtdbRun.cxx FairRuntimeDb.cxx ###### Fair DB IO ####### dbIO/FairParTSQLIo.cxx dbIO/FairDetParTSQLIo.cxx dbIO/FairGenericParTSQLIo.cxx ) Set(HEADERS ) Set(LINKDEF ParBaseLinkDef.h) Set(LIBRARY_NAME ParBase) Set(DEPENDENCIES FairTools RIO Cint Core FairDB) GENERATE_LIBRARY()