Skip to content
Snippets Groups Projects
Commit f0806252 authored by Axel Naumann's avatar Axel Naumann
Browse files

[core] Add TROOT::AddExtraInterpreterArgs():

Some of the tests need to find headers at runtime. Previously, these headers
were found by their full path; now, ROOT_GENERATE_DICTIONARY prefers relative
paths, that make dictionaries relocatable.
To not force everyone to define ROOT_INCLUDE_PATH when running e.g. a stress
test, the binaries call TROOT::AddExtraInterpreterArgs() passing the location
of the header, at runtime, such that cling can find them.

This is possible because the interpreter is constructed lazily, not during
static init; providing the extra interpreter flags early in main() is thus
sufficient.
parent c95a99d2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment