Skip to content

Commit b9cca61

Browse files
committed
[roottest] load A.C when compile lotsRef.C
Allows to link both of them and remove extra linkdef entry in A.C
1 parent 5019dd5 commit b9cca61

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

roottest/root/io/references/A.C

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,4 @@ public:
1010
ClassDef(A, 1)
1111
};
1212

13-
#ifdef __ROOTCLING__
14-
#pragma link C++ class A+;
15-
#endif
16-
1713
#endif

roottest/root/io/references/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ROOTTEST_COMPILE_MACRO(A.C
99
FIXTURES_SETUP root-io-references-A-fixture)
1010

1111
ROOTTEST_COMPILE_MACRO(lotsRef.C
12+
ROOTEXE_OPTS -e ".L A.C+"
1213
FIXTURES_REQUIRED root-io-references-A-fixture
1314
FIXTURES_SETUP root-io-references-lotsRef-fixture)
1415

0 commit comments

Comments
 (0)