Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upconsider updating RCPP_VERSION etc. automatically at build time #1021
Comments
|
Allow me to gently vote against. I also maintain maybe a dozen In this case, a one-off script to modify Edit: I fell on a first pass for your configure not being configure but we both agree. A one-off script could help. I don't think I really need one but I will try to make some time to look into the configure-that-is-not-really-configure to see if it would help my workflow. |
new test for version number consistency (fixes #1021)
To help avoid things like #1019. It'd be nice to automate this (e.g. with a
configurescript) so that these fields are always populated as appropriate based the version in the DESCRIPTION file.I don't think we need a full-blown autoconf script; rather, we could just use a simple
configure/configure.winscript to build e.g.config.hfromconfig.h.in.If I can toot my own horn, I would propose using configure to make this happen. Note that this would not require any explicit dependency on the configure package; the necessary infrastructure would be bundled into Rcpp itself.
Otherwise, it'd be simple to (say) have
configure/configure.winscripts which merely sourced a helper R script that manages the configure process.Let me know if this sounds worth doing.