From 90cfe80bacdd0d398631afce76c4182e08cc78b9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 10 Apr 2022 08:17:35 -0400 Subject: Clean up/fix DLL.h * Change DLL_EXPORT to libqpdf_EXPORTS (internal to the build). The new name is cmake's default, is more conventional, and is less likely to clash with other symbols. * Add QPDF_DLL_PRIVATE for non-Windows * Make logic around when to define QPDF_DLL et al more explicit * Add detailed comments --- manual/installation.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'manual/installation.rst') diff --git a/manual/installation.rst b/manual/installation.rst index 315b4bd8..64aa7921 100644 --- a/manual/installation.rst +++ b/manual/installation.rst @@ -617,6 +617,14 @@ and cmake options. There are a few exceptions: ``QPDF_TEST_COMPARE_IMAGES`` to ``1`` to *enable* image comparison tests. Either way, they are off by default. +- Non-user-visible change: the preprocessor symbol that triggers the + export of functions into the public ABI (application binary + interface) has been changed from ``DLL_EXPORT`` to + ``libqpdf_EXPORTS``. This detail is encapsulated in the build and is + only relevant to people who are building qpdf on their own or who + may have previously needed to work around a collision between qpdf's + use of ``DLL_EXPORT`` and someone else's use of the same symbol. + - A handful of options that were specific to autoconf or the old build system have been dropped. -- cgit v1.2.3-54-g00ecf