diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-11-12 20:21:46 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-11-12 20:21:46 -0800 |
commit | 6016e2180e7364f8e203aa2bac6ecb093be0e875 (patch) | |
tree | 8ba47291c76d4074fe73193604441b4b8ebe25b5 /tests/test_deprecated.cpp | |
parent | 492ebc22bc2a7bf6710d5e154dd6f37c120de4fd (diff) |
CMake: Add __declspec(dllexport) for shared library builds
This makes sure that MSVC shared library build actually exports all the
needed symbols and generates import table.
Somehow, this is actually enough to make pugixml link as a DLL - there's
no need to specify __declspec(dllimport) even though pugixml exports
classes via DLL.
Fixes #113.
Diffstat (limited to 'tests/test_deprecated.cpp')
0 files changed, 0 insertions, 0 deletions