CMakeLists.txt 1.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
############################################################################
# CMakeLists.txt file for building AculCalib package
############################################################################

ROOT_STANDARD_LIBRARY_PACKAGE(AculCalib
  HEADERS
    AculCalib.h
    AculCalibScint.h
    AculCalibSi.h
    AculCalPars.h
    AculCalParsScintFile.h
    AculCalParsScint.h
    AculCalParsSi.h
  SOURCES
    AculCalib.cpp
    # AculCalibDict.cpp
    AculCalibScint.cpp
    AculCalibSi.cpp
    AculCalPars.cpp
    AculCalParsScint.cpp
    AculCalParsScintFile.cpp
    AculCalParsSi.cpp
#   DEPENDENCIES
#     MathCore
#     Matrix
#     RIO
   LINKDEF
     AculCalibLinkDef.h
)

31 32 33 34 35 36
# ROOT_ADD_TEST_SUBDIRECTORY(test)

# install(FILES ${CMAKE_CURRENT_BINARY_DIR}/G__AculCalib.cxx DESTINATION ${CMAKE_BINARY_DIR}/include)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libAculCalib.rootmap DESTINATION ${CMAKE_BINARY_DIR}/lib)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libAculCalib_rdict.pcm DESTINATION ${CMAKE_BINARY_DIR}/lib)
install(TARGETS AculCalib LIBRARY DESTINATION ${CMAKE_BINARY_DIR}/lib ARCHIVE DESTINATION ${CMAKE_BINARY_DIR}/lib)