66
77
88ROOT_GENERATE_DICTIONARY(ElementStructDict ElementStruct.h LINKDEF ElementStructLinkDef.h OPTIONS -inlineInputHeader)
9- ROOT_GENERATE_DICTIONARY(TestRefObjDict TestRefObj.h LINKDEF TestRefObjLinkDef.h OPTIONS -inlineInputHeader)
109ROOT_ADD_GTEST(testTOffsetGeneration TOffsetGeneration.cxx ElementStruct.cxx ElementStructDict.cxx
1110 LIBRARIES RIO Tree MathCore
1211)
13- ROOT_ADD_GTEST(testClonesArray testClonesArray.cxx TestRefObj.cxx TestRefObjDict.cxx LIBRARIES RIO Tree )
1412if (MSVC AND NOT CMAKE_GENERATOR MATCHES Ninja)
1513 add_custom_command (TARGET testTOffsetGeneration POST_BUILD
1614 COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR} /libElementStructDict_rdict.pcm
1715 ${CMAKE_CURRENT_BINARY_DIR} /$<CONFIG>/libElementStructDict_rdict.pcm)
18- add_custom_command (TARGET testClonesArray POST_BUILD
19- COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR} /libTestRefObjDict_rdict.pcm
20- ${CMAKE_CURRENT_BINARY_DIR} /$<CONFIG>/libTestRefObjDict_rdict.pcm)
2116endif ()
2217target_include_directories (testTOffsetGeneration PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )
2318ROOT_STANDARD_LIBRARY_PACKAGE(SillyStruct NO_INSTALL_HEADERS HEADERS ${CMAKE_CURRENT_SOURCE_DIR} /SillyStruct.h SOURCES SillyStruct.cxx LINKDEF SillyStructLinkDef.h DEPENDENCIES RIO)
19+ ROOT_STANDARD_LIBRARY_PACKAGE(TestRefObj NO_INSTALL_HEADERS HEADERS ${CMAKE_CURRENT_SOURCE_DIR} /TestRefObj.h SOURCES TestRefObj.cxx LINKDEF TestRefObjLinkDef.h DEPENDENCIES RIO)
2420ROOT_ADD_GTEST(testBulkApi BulkApi.cxx LIBRARIES RIO Tree TreePlayer)
2521#FIXME: tests are having timeout on 32bit CERN VM (in docker container everything is fine),
2622# to be reverted after investigation.
@@ -31,6 +27,7 @@ if(NOT CMAKE_SIZEOF_VOID_P EQUAL 4)
3127endif ()
3228ROOT_ADD_GTEST(testTBasket TBasket.cxx LIBRARIES RIO Tree )
3329ROOT_ADD_GTEST(testTBranch TBranch.cxx LIBRARIES RIO Tree MathCore)
30+ ROOT_ADD_GTEST(testClonesArray testClonesArray.cxx LIBRARIES RIO Tree TestRefObj)
3431ROOT_ADD_GTEST(testTIOFeatures TIOFeatures.cxx LIBRARIES RIO Tree )
3532ROOT_ADD_GTEST(testTTreeCluster TTreeClusterTest.cxx LIBRARIES RIO Tree MathCore)
3633ROOT_ADD_GTEST(testTChainParsing TChainParsing.cxx LIBRARIES RIO Tree )
0 commit comments