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

ROOT_STANDARD_LIBRARY_PACKAGE(Utilities
  HEADERS
    CalPars.h
    ConfigDictionary.h
    CsICalib.h
    ReturnCodes.h
  SOURCES
    CalPars.cpp
    ConfigDictionary.cpp
    CsICalib.cpp
#   DEPENDENCIES
#     MathCore
#     Matrix
#     RIO
   LINKDEF
     UtilitiesLinkDef.h
)

23 24 25 26 27 28
# ROOT_ADD_TEST_SUBDIRECTORY(test)

# install(FILES ${CMAKE_CURRENT_BINARY_DIR}/G__Utilities.cxx DESTINATION ${CMAKE_BINARY_DIR}/include)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libUtilities.rootmap DESTINATION ${CMAKE_BINARY_DIR}/lib)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libUtilities_rdict.pcm DESTINATION ${CMAKE_BINARY_DIR}/lib)
install(TARGETS Utilities LIBRARY DESTINATION ${CMAKE_BINARY_DIR}/lib ARCHIVE DESTINATION ${CMAKE_BINARY_DIR}/lib)