mirror of
https://github.com/OpenCMT/uLib.git
synced 2025-12-05 23:11:31 +01:00
40 lines
794 B
CMake
40 lines
794 B
CMake
set(HEADERS
|
|
TestTObject.h
|
|
RootMathDense.h
|
|
RootMuonScatter.h
|
|
RootHitRaw.h
|
|
)
|
|
|
|
set(DICTIONARY_HEADERS
|
|
TestTObject.h
|
|
RootMathDense.h
|
|
RootMuonScatter.h
|
|
RootHitRaw.h
|
|
)
|
|
|
|
SET(SOURCES
|
|
TestTObject.cpp
|
|
RootMuonScatter.cpp
|
|
)
|
|
|
|
|
|
|
|
set(LIBRARIES
|
|
# ${Boost_SERIALIZATION_LIBRARY}
|
|
# ${Boost_SIGNALS_LIBRARY}
|
|
# ${Boost_PROGRAM_OPTIONS_LIBRARY}
|
|
${ROOT_LIBRARIES}
|
|
${PACKAGE_LIBPREFIX}Core
|
|
${PACKAGE_LIBPREFIX}Math
|
|
)
|
|
|
|
include(FindROOTv6)
|
|
root_generate_dictionary(uLibRootDict ${DICTIONARY_HEADERS} LINKDEF Linkdef.h)
|
|
set_source_files_properties(uLibRootDict.cxx PROPERTIES GENERATED TRUE)
|
|
set_source_files_properties(uLibRootDict.h PROPERTIES GENERATED TRUE)
|
|
# list(APPEND SOURCES uLibRootDict.cxx)
|
|
|
|
|
|
uLib_add_shared_library(${uLib-module})
|
|
add_subdirectory(testing)
|