X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=YACS_version.h.in;h=800e50bc259fcf2ff533c436210e17347ef515f5;hb=b14ccae5980262a4f3db679a68bfcffe60718d59;hp=e9ea22cde8801b2b3c2ae1084f260cc61e875c52;hpb=f3b2b68ffecc5033287a7a255c8507f8989fb87f;p=modules%2Fyacs.git diff --git a/YACS_version.h.in b/YACS_version.h.in index e9ea22cde..800e50bc2 100644 --- a/YACS_version.h.in +++ b/YACS_version.h.in @@ -1,9 +1,9 @@ -// Copyright (C) 2006-2013 CEA/DEN, EDF R&D +// Copyright (C) 2006-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,12 +20,23 @@ #if !defined(__YACS_VERSION_H__) #define __YACS_VERSION_H__ -/* - YACS_VERSION is (major << 16) + (minor << 8) + patch. +/*! + Specify version of SALOME YACS module, as follows + + YACS_VERSION_MAJOR : (integer) number identifying major version + YACS_VERSION_MINOR : (integer) number identifying minor version + YACS_VERSION_MAINTENANCE : (integer) number identifying maintenance version + YACS_VERSION_STR : (string) complete version number "major.minor.maintenance" + YACS_VERSION : (hex) complete version number (major << 16) + (minor << 8) + maintenance + YACS_DEVELOPMENT : (integer) indicates development version when set to 1 */ -#define YACS_VERSION_STR "@VERSION@" -#define YACS_VERSION @XVERSION@ -#define YACS_DEVELOPMENT @VERSION_DEV@ +#define YACS_VERSION_MAJOR @SALOMEYACS_MAJOR_VERSION@ +#define YACS_VERSION_MINOR @SALOMEYACS_MINOR_VERSION@ +#define YACS_VERSION_MAINTENANCE @SALOMEYACS_PATCH_VERSION@ +#define YACS_VERSION_STR "@SALOMEYACS_VERSION@" +#define YACS_VERSION @SALOMEYACS_XVERSION@ +#define YACS_DEVELOPMENT @SALOMEYACS_VERSION_DEV@ + #endif // __YACS_VERSION_H__