When compiling Snappy v1.1.9
as a shared lib, I noticed the implementation library snappy_test_support.lib
was absent.
The main library sets WINDOWS_EXPORT_ALL_SYMBOLS
to ON
here.
But a test support lib has no such modification.
I’ve observed that snappy.dll
, snappy.lib
, and snappy_test_support.dll
are built without generating snappy_test_support.lib
.
Grepping the code (including 3rd party) did not indicate to me that ENABLE_EXPORTS was otherwise modified.
I couldn’t find any documentation to indicate setting WINDOWS_EXPORT_ALL_SYMBOLS
would have a side effect. A brief perusal of the code was - for me - inconclusive.
Is the CMakeLists.txt file faulty or is there a defect elsewhere?