12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- ################################################################################
- # Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH #
- # #
- # This software is distributed under the terms of the #
- # GNU Lesser General Public Licence version 3 (LGPL) version 3, #
- # copied verbatim in the file "LICENSE" #
- ################################################################################
- # Create a library called "libPassive" 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
- ${BASE_INCLUDE_DIRECTORIES}
- ${CMAKE_SOURCE_DIR}/passive
- )
- Include_Directories( ${INCLUDE_DIRECTORIES})
- Include_Directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})
- Set(LINK_DIRECTORIES
- ${ROOT_LIBRARY_DIR}
- ${FAIRROOT_LIBRARY_DIR}
- )
-
- Link_Directories(${LINK_DIRECTORIES})
- Set(SRCS
- FairCave.cxx
- FairGeoCave.cxx
- FairGeoMagnet.cxx
- FairGeoPassivePar.cxx
- FairGeoPipe.cxx
- FairGeoTarget.cxx
- FairMagnet.cxx
- FairPassiveContFact.cxx
- FairPipe.cxx
- FairTarget.cxx
- )
- Set(HEADERS )
- Set(LINKDEF PassiveLinkDef.h)
- Set(LIBRARY_NAME Passive)
- Set(DEPENDENCIES Base GeoBase ParBase Geom Core)
- GENERATE_LIBRARY()
|