-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you put the three components of the version number into the STARE.h file as well? #64
Comments
Could this be in STARE.h.in? |
Re: STARE.h.in. No. I'm parsing and generating the required int defs. Will push soon. |
@michaelleerilee not quite sure about your question. This is in STARE.h which of course is generated at configure time from STARE.h.in. What I'm requesting is the three additional numeric fields with the version number, in addition to the version string you already have there... |
My question is moot, given my recent pull request which gives the desired defines.
Sent from Smallbiz Yahoo Mail for iPhone
On Saturday, October 10, 2020, 12:01, Captain James Tiberius Kirk <[email protected]> wrote:
@michaelleerilee not quite sure about your question. This is in STARE.h which of course is generated at configure time from STARE.h.in.
What I'm requesting is the three additional numeric fields with the version number, in addition to the version string you already have there...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have to check for the correct version of STARE in the STAREmaster build (see SpatioTemporal/STAREmaster#65).
Currently we have this in STARE.h:
#define STARE_VERSION "0.16.2"
Which is great as a version string. But it is more helpful when checking the version in configure/cmake to have each component defined as an integer. Then I can use ifdefs with > to check that I have a good version. For example, here's what netCDF provides (in netcdf_meta.h):
This is created in CMake like this:
Can we put something similar in STARE?
The alternative is to parse the version string from within CMake/autoconf.
The text was updated successfully, but these errors were encountered: