1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00
Files
CMake/testDynloadImpl.h
KWSys Upstream 8166634958 KWSys 2019-03-28 (e92bdbe8)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit e92bdbe8e6eca2a8b6dcf14920e5e25308504206 (master).

Upstream Shortlog
-----------------

Ben Boeckel (7):
      30198dbc DynamicLoader: fix error reporting on Windows
      cf6b5f69 DynamicLoader: use Encoding::ToWindowsExtendedPath for the libname
      d17291ad DynamicLoader: support loading libraries using flags
      40d9e482 DynamicLoader: support loading sibling libraries on Windows
      971809c5 DynamicLoader: test the SearchBesideLibrary flag
      efb006b9 DynamicLoader: include stdio.h for _snprintf
      9e8e9ba0 DynamicLoader: avoid the min/max macros from windows.h

Brad King (1):
      92334e76 SystemTools: CopyFileAlways: avoid copying file over self
2019-03-28 11:06:33 -04:00

16 lines
456 B
C

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
#ifdef _WIN32
# ifdef BUILDING_TestDynloadImpl
# define DLIMPL_EXPORT __declspec(dllexport)
# else
# define DLIMPL_EXPORT __declspec(dllimport)
# endif
#else
# define DLIMPL_EXPORT
#endif
DLIMPL_EXPORT int TestDynamicLoaderImplData;
DLIMPL_EXPORT void TestDynamicLoaderImplSymbolPointer();