mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
* Minor style changes * Move function definitions * Split utility.hpp * Enable include of export-symbol-helper.hpp in tests
24 lines
406 B
C++
24 lines
406 B
C++
#pragma once
|
|
|
|
#ifdef UNIT_TEST
|
|
|
|
#define EXPORT
|
|
#define ADVSS_EXPORT
|
|
|
|
#else
|
|
|
|
#ifdef _MSC_VER
|
|
#define EXPORT __declspec(dllexport)
|
|
#else
|
|
#define EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
// Helpers helper to enable exporting and importing custom Qt widget symbols
|
|
#ifdef ADVSS_EXPORT_SYMBOLS
|
|
#define ADVSS_EXPORT Q_DECL_EXPORT
|
|
#else
|
|
#define ADVSS_EXPORT Q_DECL_IMPORT
|
|
#endif
|
|
|
|
#endif // UNIT_TEST
|