brlcad_version.h could do the job but it is not contained in a BRL-CAD
installation.  Furthermore brlcad_version.h depends in the files in
include/config.

Daniel


2009/7/14 Erik Greenwald <[email protected]>:
> brlcad/include/brlcad_version.h defines several strings and a couple
> functions that define version information at compile time. Our libraries
> tend to have a vers.c so each one can announce it's compile-time version,as
> well. Is this what you are looking for? These are all C things, I don't
> think there is an MGED command to query that.
>
>  -Erik
>
> On 7/14/09 9:24 AM, "Daniel Roßberg" <[email protected]> wrote:
>
>> Hi,
>>
>> There were put a lot of effort into hiding any version number define
>> and/or constant from the user.  Now I'm in doubt if this was wise.
>>
>> I ran into the problem that the BRL-CAD version present at link time
>> is another than at run time.  I.e. I upgrade the BRL-CAD library by
>> replacing the brlcad.dll and keeping the program executable.  This may
>> lead to compatibility problems.  To deal with this kind of problems it
>> would be good to have the possibility to memorize the BRL-CAD version
>> at build time in the executable.
>>
>> Is there already a practicable solution for this problem based on an
>> installed BRL-CAD?
>>
>> At the moment I'm creating my "private" brlcadversion.h to be
>> distributed with the brlcad.dll developer package.
>>
>>
>> Sziasztok,
>>        Daniel
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full prize
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> BRL-CAD Developer mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to