IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2009, 1:00:45 PM (17 years ago)
Author:
Paul Price
Message:

Put together system to identify the version that was built. psLibVersion() now returns BRANCH@VERSION: e.g., trunk@22747M. A new function, psLibSource() returns SOURCE: e.g., 60eb6cdc-a59c-4636-a4e0-dba66a9721fd. psLibVersionLong() now returns a much longer string with the versions of the dependent libraries and other notes: e.g., psLib trunk@22747M from 60eb6cdc-a59c-4636-a4e0-dba66a9721fd, built Mar 3 2009, 12:46:47 with cfitsio (3.100), gsl (1.6), fftw (fftw-3.0.1), mysql (4.1.10a) unoptimised with trace. I have set up psConfigure.c (which defines these functions) to be built every time 'make' is called. This might be annoying, but it's necessary so that it receives up-to-date values via svnversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psConfigure.h

    r13950 r23115  
    2929 *  @return psString: String with version name.
    3030 */
    31 psString psLibVersion(
    32     void
    33 );
     31psString psLibVersion(void);
    3432
     33/** Get current psLib source
     34 *
     35 * Returns the current psLib source name as a string.
     36 *
     37 * @return psString: String with source name.
     38 */
     39psString psLibSource(void);
    3540
    3641/** Get current psLib version (full identification)
Note: See TracChangeset for help on using the changeset viewer.