lballabio / quantlib-old

The QuantLib C++ library and extensions (warning: out of date)
http://quantlib.org
471 stars 405 forks source link

Auto-generated headers files such as ql/quantlib.hpp in Git #350

Closed jwg4 closed 8 years ago

jwg4 commented 8 years ago

Hi, I noticed that the header file ql/quantlib.hpp, are generated by the build process, and depend on the list of source files mentioned in ql/Makefile.am. However this file is in Git, and so if changes are made in Makefile.am, it is necessary to check in the new version of the generated file.

Is there are reason for this, or would it make more sense for these files to be in .gitignore?

I believe there are other similar files, such as */all.hpp, but I haven't checked them. Since I suspected there is probably a good reason for this which I don't know about, I preferred to ask first.

Thanks!

lballabio commented 8 years ago

They're included so that they're available to Windows users that check out the repository.

jwg4 commented 8 years ago

This makes sense, thanks for the quick response.