00001 //----------------------------------------------------------------------------- 00002 // (c) 2006 by Basler Vision Technologies 00003 // Section: Vision Components 00004 // Project: GenICam 00005 // Author: Fritz Dierks 00006 // $Header$ 00007 // 00008 // License: This file is published under the license of the EMVA GenICam Standard Group. 00009 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'. 00010 // If for some reason you are missing this file please contact the EMVA or visit the website 00011 // (http://www.genicam.org) for a full copy. 00012 // 00013 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS" 00014 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00015 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00016 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP 00017 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00018 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00019 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00020 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00021 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00022 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00023 // POSSIBILITY OF SUCH DAMAGE. 00024 //----------------------------------------------------------------------------- 00030 #ifndef GENICAM_VERSION_H 00031 #define GENICAM_VERSION_H 00032 00033 // The following symbols are defined in a cmake generated include file 00034 //#define GENICAM_VERSION_MAJOR 3 00035 //#define GENICAM_VERSION_MINOR 0 00036 //#define GENICAM_VERSION_SUBMINOR 0 00037 //#define GENICAM_MAIN_COMPILER VC120 / gcc421 00038 #include <_GenICamVersion.h> 00039 00040 // The Build is not supported any more 00041 #define GENICAM_VERSION_BUILD 0 00042 00043 // Normally GENICAM_COMPILER is fed via cmake; however in pure library mode it is not 00044 #ifndef GENICAM_COMPILER 00045 # define GENICAM_COMPILER GENICAM_MAIN_COMPILER 00046 #endif 00047 00048 // Don't ask... 00049 #define STRINGIFY(x) #x 00050 #define TOSTRING(x) STRINGIFY(x) 00051 #define GENICAM_RAW_UNDERSCORE(a, b, c) a ## _ ## b ## _ ## c 00052 #define GENICAM_SEP_UNDERSCORE(a, b, c) GENICAM_RAW_UNDERSCORE(a, b, c) 00053 #define GENICAM_RAW_UNDERSCORE_COMPANY(a, b, c, d) a ## _ ## b ## _ ## c ## _ ## d 00054 #define GENICAM_SEP_UNDERSCORE_COMPANY(a, b, c, d) GENICAM_RAW_UNDERSCORE_COMPANY(a, b, c, d) 00055 00056 // String versions of the version numbers 00057 #define GENICAM_VERSION_MAJOR_STR TOSTRING( GENICAM_VERSION_MAJOR ) 00058 #define GENICAM_VERSION_MINOR_STR TOSTRING( GENICAM_VERSION_MINOR ) 00059 #define GENICAM_VERSION_SUBMINOR_STR TOSTRING( GENICAM_VERSION_SUBMINOR ) 00060 #define GENICAM_VERSION_BUILD_STR TOSTRING( GENICAM_VERSION_BUILD ) 00061 #define GENICAM_COMPILER_STR TOSTRING( GENICAM_COMPILER ) 00062 #define GENICAM_ROOT "GENICAM_ROOT" 00063 #define GENICAM_CACHE_VERSION "GENICAM_CACHE_V" GENICAM_VERSION_MAJOR_STR "_" GENICAM_VERSION_MINOR_STR 00064 #define GENICAM_LOG_CONFIG_VERSION "GENICAM_LOG_CONFIG_V" GENICAM_VERSION_MAJOR_STR "_" GENICAM_VERSION_MINOR_STR 00065 #define GENICAM_CLPROTOCOL "GENICAM_CLPROTOCOL" 00066 00067 #endif // GENICAM_VERSION_H