mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-04 01:39:16 +08:00
31 lines
1.2 KiB
C
31 lines
1.2 KiB
C
///////////////////////////////////////////////////////////////////////
|
|
// File: version.h
|
|
// Description: Version information
|
|
//
|
|
// (C) Copyright 2018, Google Inc.
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef TESSERACT_API_VERSION_H_
|
|
#define TESSERACT_API_VERSION_H_
|
|
|
|
#define TESSERACT_MAJOR_VERSION @GENERIC_MAJOR_VERSION@
|
|
#define TESSERACT_MINOR_VERSION @GENERIC_MINOR_VERSION@
|
|
#define TESSERACT_MICRO_VERSION @GENERIC_MICRO_VERSION@
|
|
#define TESSERACT_VERSION \
|
|
(TESSERACT_MAJOR_VERSION << 16 | \
|
|
TESSERACT_MINOR_VERSION << 8 | \
|
|
TESSERACT_MICRO_VERSION)
|
|
#define TESSERACT_VERSION_STR "@PACKAGE_VERSION@"
|
|
|
|
#endif // TESSERACT_API_VERSION_H_
|