Skip to content
Snippets Groups Projects
Commit 4adfeab3 authored by Andre Sailer's avatar Andre Sailer
Browse files

InitAClick: fix of separation and -I for include dirs

parent 4bb51bc4
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ int initAClick(const char* command=0) {
std::string clhep = make_str(gSystem->Getenv("CLHEP_ROOT_DIR"));
std::string defs = "";
std::string libs = " -L"+rootsys+"/lib";
std::string inc = " -I"+dd4hep+"/examples/DDG4/examples -I"+dd4hep + " -I"+dd4hep+"/include";
std::string inc = " -I"+dd4hep+"/examples/DDG4/examples -I"+dd4hep + " -I"+dd4hep+"/include ";
std::string ext = "so";
if ( !geant4.empty() ) {
inc += " -I"+geant4+"/include/Geant4";
......
......@@ -62,7 +62,13 @@ int initAClick(const char* command=0) {
std::string clhep = make_str(gSystem->Getenv("CLHEP_ROOT_DIR"));
std::string defs = "";
std::string libs = " -L"+rootsys+"/lib";
std::string inc = " -I"+dd4hep+"/examples/LHeD/scripts -I"+dd4hep + " -I"+dd4hep+"/include"+clhep+"/include -I"+geant4+"/include";
std::string inc = "";
inc += " -I" + dd4hep + "/examples/LHeD/scripts ";
inc += " -I" + dd4hep;
inc += " -I" + dd4hep + "/include ";
inc += " -I" + clhep + "/include ";
inc += " -I" + geant4 + "/include ";
std::string ext = "so";
if ( !geant4.empty() ) {
inc += " -I"+geant4+"/include/Geant4";
......
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