Martchus
6ab7662a64
* This allows running C++ GUI code (as provided by this repository) and Syncthing itself in the same process. * It basically seems to work. I can now run a Syncthing instance within the interactive C++ shell 'cling' :-) * Syncthing and its assets are built within the usual CMake build process but disabled by default because still experimental. To enable the build, add '-DNO_LIBSYNCTHING=OFF' to CMake arguments. * The Syncthing checkout with customized exports lives in the Git submodule under 'libsyncthing/go/src/github.com/syncthing/syncthing'.
28 lines
658 B
C
28 lines
658 B
C
// Created via CMake from template global.h.in
|
|
// WARNING! Any changes to this file will be overwritten by the next CMake run!
|
|
|
|
#ifndef LIB_SYNCTHING_GLOBAL
|
|
#define LIB_SYNCTHING_GLOBAL
|
|
|
|
#include <c++utilities/application/global.h>
|
|
|
|
#ifdef LIB_SYNCTHING_STATIC
|
|
#define LIB_SYNCTHING_EXPORT
|
|
#define LIB_SYNCTHING_IMPORT
|
|
#else
|
|
#define LIB_SYNCTHING_EXPORT LIB_EXPORT
|
|
#define LIB_SYNCTHING_IMPORT LIB_IMPORT
|
|
#endif
|
|
|
|
/*!
|
|
* \def LIB_SYNCTHING_EXPORT
|
|
* \brief Marks the symbol to be exported by the syncthing library.
|
|
*/
|
|
|
|
/*!
|
|
* \def LIB_SYNCTHING_IMPORT
|
|
* \brief Marks the symbol to be imported from the syncthing library.
|
|
*/
|
|
|
|
#endif // LIB_SYNCTHING_GLOBAL
|