created project with cmake
This commit is contained in:
parent
c4b3d8ac5f
commit
5f6abf300e
54 changed files with 412 additions and 310 deletions
47
CMake/CMake.1.6.0/Templates/ProjektName.Exports.Template.h
Normal file
47
CMake/CMake.1.6.0/Templates/ProjektName.Exports.Template.h
Normal file
|
@ -0,0 +1,47 @@
|
|||
/**
|
||||
* @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__
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue