CMakeLists.txt 894 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
############################################################################
# CMakeLists.txt file for building AculData package
############################################################################

ROOT_STANDARD_LIBRARY_PACKAGE(AculData
  HEADERS
    AculCalibCsI.h
    AculCalibration.h
  SOURCES
    AculCalibCsI.cpp
    AculCalibration.cpp
#   DEPENDENCIES
#     MathCore
#     Matrix
#     RIO
   LINKDEF
     AculDataLinkDef.h
)

20 21 22 23 24 25
# ROOT_ADD_TEST_SUBDIRECTORY(test)

# install(FILES ${CMAKE_CURRENT_BINARY_DIR}/G__AculData.cxx DESTINATION ${CMAKE_BINARY_DIR}/include)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libAculData.rootmap DESTINATION ${CMAKE_BINARY_DIR}/lib)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libAculData_rdict.pcm DESTINATION ${CMAKE_BINARY_DIR}/lib)
install(TARGETS AculData LIBRARY DESTINATION ${CMAKE_BINARY_DIR}/lib ARCHIVE DESTINATION ${CMAKE_BINARY_DIR}/lib)