File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ ENDIF(NOT UNIX)
115115option (BUILD_UNITTESTS "Build all unittests and add them as new tests" OFF )
116116option (ENABLE_GEANT3_TESTING "Enable tests utilizing Geant3" OFF )
117117option (BUILD_PROOF_SUPPORT "Support ROOT::Proof (deprecated)" OFF )
118+ option (BUILD_EVENT_BUILDER "Build FairEventBuild" ON )
118119
119120option (BUILD_ONLINE "Build the online library" ON )
120121option (BUILD_MBS "Build MBS" OFF )
Original file line number Diff line number Diff line change 99set (target Base)
1010
1111set (sources
12- event/FairEventBuilder.cxx
13- event/FairEventBuilderManager.cxx
1412 event/FairEventHeader.cxx
1513 event/FairFileHeader.cxx
1614 event/FairFileInfo.cxx
@@ -80,6 +78,13 @@ if(BUILD_PROOF_SUPPORT)
8078 )
8179endif ()
8280
81+ if (BUILD_EVENT_BUILDER)
82+ list (APPEND sources
83+ event/FairEventBuilder.cxx
84+ event/FairEventBuilderManager.cxx
85+ )
86+ endif ()
87+
8388fair_change_extensions_if_exists (.cxx .h FILES "${sources} " OUTVAR headers )
8489
8590add_library (${target} SHARED ${sources} ${headers} )
@@ -129,6 +134,10 @@ if(BUILD_PROOF_SUPPORT)
129134 target_compile_definitions (${target} PRIVATE BUILD_PROOF_SUPPORT )
130135endif ()
131136
137+ if (BUILD_EVENT_BUILDER)
138+ target_compile_definitions (${target} PRIVATE BUILD_EVENT_BUILDER )
139+ endif ()
140+
132141fairroot_target_root_dictionary (${target}
133142 HEADERS ${headers}
134143 LINKDEF LinkDef.h
Original file line number Diff line number Diff line change 1616#pragma link C++ class FairGeoParSet;
1717#pragma link C++ class FairDetector+;
1818//#pragma link C++ class FairDoubleHit+;
19- #pragma link C++ class FairEventBuilder+;
20- #pragma link C++ class FairEventBuilderManager+;
2119#pragma link C++ class FairEventHeader+;
2220#pragma link C++ class FairFileHeader+;
2321#pragma link C++ class FairGeaneApplication+;
7977#pragma link C++ class FairAnaSelector+;
8078#pragma link C++ class FairRunAnaProof;
8179#endif
80+ #ifdef BUILD_EVENT_BUILDER
81+ #pragma link C++ class FairEventBuilder+;
82+ #pragma link C++ class FairEventBuilderManager+;
83+ #endif
8284
8385#endif
You can’t perform that action at this time.
0 commit comments