|
Video Processing Framework
|
00001 #ifndef DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66 00002 #define DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66 00003 00004 #if !defined(__GNUC__) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4) // GCC supports "pragma once" correctly since 3.4 00005 #pragma once 00006 #endif 00007 00008 // The following ifdef block is the standard way of creating macros which make exporting 00009 // from a DLL simpler. All files within this DLL are compiled with the yaml_cpp_EXPORTS 00010 // symbol defined on the command line. this symbol should not be defined on any project 00011 // that uses this DLL. This way any other project whose source files include this file see 00012 // YAML_CPP_API functions as being imported from a DLL, whereas this DLL sees symbols 00013 // defined with this macro as being exported. 00014 #undef YAML_CPP_API 00015 00016 #ifdef YAML_CPP_DLL // Using or Building YAML-CPP DLL (definition defined manually) 00017 #ifdef yaml_cpp_EXPORTS // Building YAML-CPP DLL (definition created by CMake or defined manually) 00018 // #pragma message( "Defining YAML_CPP_API for DLL export" ) 00019 #define YAML_CPP_API __declspec(dllexport) 00020 #else // yaml_cpp_EXPORTS 00021 // #pragma message( "Defining YAML_CPP_API for DLL import" ) 00022 #define YAML_CPP_API __declspec(dllimport) 00023 #endif // yaml_cpp_EXPORTS 00024 #else //YAML_CPP_DLL 00025 #define YAML_CPP_API 00026 #endif // YAML_CPP_DLL 00027 00028 #endif // DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66