Check Blaze Version

Issue #138 resolved
Nils Deppe created an issue

Hi Klaus!

I was wondering, since I can write my own functions to plug into Blaze (which is awesome!), is the Blaze version (major and minor) defined as a macro somewhere? Since the internals can change from version to version I'd like to be able to support more than one easily just be turning on and off segments.

Thanks!

Cheers,

Nils

P.S. I wasn't sure what to file this under since it's more of a "general question"

Comments (7)

  1. Klaus Iglberger

    Hi Nils!

    The Blaze major and minor version numbers are defined in <blaze/system/Version.h>:

    #define BLAZE_MAJOR_VERSION 3
    #define BLAZE_MINOR_VERSION 2
    

    Is this sufficient for your needs or do you also require the version numbers as a single macro with increasing value?

    Best regards,

    Klaus!

  2. Nils Deppe reporter

    Hi Klaus!

    This is exactly what I was looking for, thank you! Did I miss this in the documentation? (I want to make sure I don't need to keep bothering you with such trivial questions :) )

    Best,

    Nils

  3. Klaus Iglberger

    Hi Nils!

    I'm glad this is what you're looking for. No, you didn't miss it. It is admittedly very hard to find in the complete Doxygen documentation and it is not mentioned in the tutorial and wiki. I will use this issue as a reminder to update both the tutorial and wiki accordingly.

    Best regards,

    Klaus!

  4. Log in to comment