Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hcana
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jlab
hallc
analyzer_software
hcana
Commits
ab91dc84
Commit
ab91dc84
authored
7 years ago
by
Stephen A. Wood
Committed by
Stephen A. Wood
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Get fixed parts of HallC_LinkDef.h from pre and postamble files
parent
fdaf788a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
SConscript.py
+2
-18
2 additions, 18 deletions
SConscript.py
src/HallC_LinkDef.h_postamble
+2
-0
2 additions, 0 deletions
src/HallC_LinkDef.h_postamble
src/HallC_LinkDef.h_preamble
+11
-0
11 additions, 0 deletions
src/HallC_LinkDef.h_preamble
with
15 additions
and
18 deletions
SConscript.py
+
2
−
18
View file @
ab91dc84
...
...
@@ -13,23 +13,7 @@ roothcobj = pbaseenv.subst('$HC_SRC')+'/HallCDict.so'
hcheadersbase
=
Glob
(
'
src/*.h
'
,
exclude
=
[
'
src/THcGlobals.h
'
,
'
src/HallC_LinkDef.h
'
])
cmd
=
"
echo
'
#ifdef __CINT__
'
> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
'
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
#pragma link off all globals;
'
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
#pragma link off all classes;
'
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
#pragma link off all functions;
'
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
'
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
#pragma link C++ global gHcParms;
'
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
#pragma link C++ global gHcDetectorMap;
'
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
cmd
=
"
echo
'
'
>> src/HallC_LinkDef.h
"
cmd
=
"
cat src/HallC_LinkDef.h_preamble > src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
for
hcheaderfile
in
hcheadersbase
:
...
...
@@ -39,7 +23,7 @@ for hcheaderfile in hcheadersbase:
cmd1
=
"
echo
'
#pragma link C++ class %s+;
'
>> src/HallC_LinkDef.h
"
%
newbasefilename
[
1
]
os
.
system
(
cmd1
)
cmd
=
"
echo
'
#endif
'
>> src/HallC_LinkDef.h
"
cmd
=
"
cat src/HallC_LinkDef.h_postamble
>> src/HallC_LinkDef.h
"
os
.
system
(
cmd
)
hcheaders
=
Glob
(
'
src/*.h
'
,
exclude
=
[
'
src/HallC_LinkDef.h
'
])
+
Glob
(
'
src/HallC_LinkDef.h
'
)
...
...
This diff is collapsed.
Click to expand it.
src/HallC_LinkDef.h_postamble
0 → 100644
+
2
−
0
View file @
ab91dc84
// Postamble for HallC_Linkdef.h file
#endif
This diff is collapsed.
Click to expand it.
src/HallC_LinkDef.h_preamble
0 → 100644
+
11
−
0
View file @
ab91dc84
// Preamble to HallC_LinkDef.h file
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ global gHcParms;
#pragma link C++ global gHcDetectorMap;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment