summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2021-04-06 07:20:36 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2021-04-06 00:29:38 -0700
commit5d1fd824227f8eb20b1ac2eb63d6533d7479556a (patch)
tree9734516781323016d7b2568268bdaa804a7666c8 /docs
parentc8c117097934c9d2ecab30ce70efba98f0e267f8 (diff)
downloadrabbitmq-c-5d1fd824227f8eb20b1ac2eb63d6533d7479556a.tar.gz
cmake: use GenerateExportHeader for AMQP_EXPORT
Use cmake's GenerateExportHeader to define AMQP_EXPORT & AMQP_DEPRECATED over the one in amqp.h. This is likely to be more correct over time. Note this requires bumping the minimum required version from v3.10 to v3.12 to pick up support in CMake for C libraries. Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/Doxyfile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in
index 8b5da70..3cb9526 100644
--- a/docs/Doxyfile.in
+++ b/docs/Doxyfile.in
@@ -266,8 +266,7 @@ INCLUDE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/librabbitmq \
INCLUDE_FILE_PATTERNS =
PREDEFINED = AMQP_BEGIN_DECLS= \
AMQP_END_DECLS= \
- AMQP_PUBLIC_FUNCTION= \
- AMQP_PUBLIC_VARIABLE= \
+ AMQP_EXPORT= \
AMQP_CALL= \
AMQP_DEPRECATED(x)=x
EXPAND_AS_DEFINED =