| 1 |
#ifndef __XMP_BuildInfo_h__ |
| 2 |
#define __XMP_BuildInfo_h__ 1 |
| 3 |
|
| 4 |
/* --------------------------------------------------------------------------------------------- */ |
| 5 |
/* ** IMPORTANT ** This file must be usable by strict ANSI C compilers. No "//" comments, etc. */ |
| 6 |
/* --------------------------------------------------------------------------------------------- */ |
| 7 |
|
| 8 |
/* |
| 9 |
// ================================================================================================= |
| 10 |
// Copyright 2002-2008 Adobe |
| 11 |
// All Rights Reserved. |
| 12 |
// |
| 13 |
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms |
| 14 |
// of the Adobe license agreement accompanying it. If you have received this file from a source other |
| 15 |
// than Adobe, then your use, modification, or distribution of it requires the prior written permission |
| 16 |
// of Adobe. |
| 17 |
// ================================================================================================= |
| 18 |
*/ |
| 19 |
|
| 20 |
//#if AdobePrivate |
| 21 |
/* |
| 22 |
// ================================================================================================= |
| 23 |
// Change history |
| 24 |
// ============== |
| 25 |
// |
| 26 |
// Writers: |
| 27 |
// AWL Alan Lillich |
| 28 |
// SAM Samy Makki |
| 29 |
// |
| 30 |
// mm-dd-yy who Description of changes, most recent on top. |
| 31 |
// |
| 32 |
// 11-19-14 ADC 1.0-a001 Framework in place for Asset Management Library. |
| 33 |
// 30-01-09 SAM changing to non-quoted version strings again (Baton#430). |
| 34 |
// 12-03-08 SAM following versioning guidelines. |
| 35 |
// 02-14-08 AWL [1507142] Tweak the copyright strings. |
| 36 |
// 05-15-07 ALB New version #defines. |
| 37 |
// 02-16-07 AWL Hide some parts from the SDK. |
| 38 |
// 02-13-07 AWL Centralize the Adobe IP constant. |
| 39 |
// 01-28-05 AWL 3.2-001 Remove BIB. |
| 40 |
// 03-11-04 AWL Fix build number comments. |
| 41 |
// 02-02-04 AWL Initial creation. |
| 42 |
// |
| 43 |
// ================================================================================================= |
| 44 |
*/ |
| 45 |
//#endif |
| 46 |
|
| 47 |
//#if AdobePrivate |
| 48 |
/* |
| 49 |
// ================================================================================================= |
| 50 |
// This file provides build numbers that are set automatically by the external build system. This is |
| 51 |
// in contrast to the manual version numbers of XMP_ChangeLog.h. |
| 52 |
// |
| 53 |
// The value of BUILDDATE is set to the date of the build, in some reasonable format. It would |
| 54 |
// be nice if the month used a name instead of a number and if the year has 4 digits. But it isn't |
| 55 |
// worth going to great lengths for this, a numeric date is OK. |
| 56 |
|
| 57 |
// The value of BUILDVERSION is set to some number that is meaningful to the build system, such |
| 58 |
// as a Perforce changelist number. |
| 59 |
// ================================================================================================= |
| 60 |
*/ |
| 61 |
//#endif |
| 62 |
|
| 63 |
#define kXMP_Copyright Copyright 1987 Adobe Inc. All rights reserved. |
| 64 |
#define kXMP_CopyrightStr "Copyright 1987 Adobe Inc. All rights reserved." |
| 65 |
|
| 66 |
#define kXMP_AdobeIPStr "<AdobeIP#0000867>" |
| 67 |
|
| 68 |
// Windows: Stringification convention |
| 69 |
#define MAKESTR2(a) #a |
| 70 |
#define MAKESTR(a) MAKESTR2(a) |
| 71 |
|
| 72 |
// MAC: Symbols needed for Info.plist; ugly multistage construction because |
| 73 |
// they need to be symbols, not strings, no quotes, no whitespace |
| 74 |
#define MACRO_PASTE2(a, b, c) a##b##c |
| 75 |
#define MACRO_PASTE(a, b, c) MACRO_PASTE2(a, b, c) |
| 76 |
|
| 77 |
#define BUILDID 1 |
| 78 |
|
| 79 |
#define BUILDDATE 0000/00/00-00:00:00 |
| 80 |
#define BUILDBRANCH 1 |
| 81 |
#define BUILDCHANGELIST 000000 |
| 82 |
// No RE_REBUILD for now, as not part of SRM2. |
| 83 |
|
| 84 |
#define BUILDVERSION_MAC MACRO_PASTE(BUILDBRANCH, ., BUILDCHANGELIST) |
| 85 |
|
| 86 |
// This mapping is just to aviod changing all the old variables in the code |
| 87 |
#define BUILDDATESTR MAKESTR(BUILDDATE) |
| 88 |
#define BUILDBRANCHSTR MAKESTR(BUILDBRANCH) |
| 89 |
#define BUILDVERSIONSTR MAKESTR(BUILDVERSION_MAC) |
| 90 |
#define BUILDIDSTR MAKESTR(BUILDID) |
| 91 |
|
| 92 |
#endif /* __XMP_BuildInfo_h__ */ |