47 lines
1.3 KiB
C
47 lines
1.3 KiB
C
/**
|
|
* @page @Add your project name@
|
|
*
|
|
* @author TSEP
|
|
*
|
|
* @copyright (c) Technical Software Engineering Plazotta 2021
|
|
*
|
|
*/
|
|
/**
|
|
* @file @Add your project name@.Exports.h
|
|
* @brief Definition of export declarations for this library
|
|
*
|
|
**************************************************************************/
|
|
//TSEP_Pragma.UnitTest.Skip
|
|
#pragma once
|
|
|
|
// Note:
|
|
// "<project>_EXPORTS" preprocessor define is defined by CMake when compiling <project>
|
|
|
|
/*------------------------------------------------------------------------------
|
|
// OPERATING SYSTEM : WIN32
|
|
//----------------------------------------------------------------------------*/
|
|
#ifdef _WIN32
|
|
|
|
/// @cond Exclude this macro from doxygen
|
|
#ifdef @Add your project name@_EXPORTS
|
|
#define TSEP_@Add your uppercase project name@_API __declspec(dllexport)
|
|
#else
|
|
#define TSEP_@Add your uppercase project name@_API __declspec(dllimport)
|
|
#endif
|
|
/// @endcond
|
|
|
|
#endif
|
|
|
|
/*------------------------------------------------------------------------------
|
|
// OPERATING SYSTEM : LINUX
|
|
//----------------------------------------------------------------------------*/
|
|
#ifdef __linux__
|
|
|
|
#ifdef @Add your project name@_EXPORTS
|
|
#define TSEP_@Add your uppercase project name@_API __attribute__((visibility("default")))
|
|
#else
|
|
#define TSEP_@Add your uppercase project name@_API
|
|
#endif
|
|
|
|
#endif // __linux__
|
|
|