So I currently have a C++ class for which I want to feed rootcint to produce compileable header/class. The class is Event.cc, with the header Event.hh. I want to write to MCEvent.cc with the header MCEvent.hh.
Trying
rootcint -f McEvent.cc -c Event.hh
Doesn’t work, as I presume rootcint assumes .cc is a c suffix. I can, however, do:
rootcint -f McEvent.cpp -c Event.hh
Which generates McEvent.cpp and McEvent.h. The contents of these files refers to McEvent.cpp and McEvent.h, as well, meaning changing the names is insufficient.
Short of manually changing the directory each time, is there a way to specify to rootcint that .cc is indeed a C++ file and that I want the output to be .cc and .hh?
Thanks,
~TStudent()