aboutsummaryrefslogtreecommitdiff
path: root/libraries/rabbitmq-c/README
blob: 5eda5e78fe2acce286af66e102cb76ef621098c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
This is a C-language AMQP client library for use with v2.0+ of the
RabbitMQ broker.

* `BUILD_EXAMPLES=ON/OFF` toggles building the examples. 
   OFF by default.

* `BUILD_SHARED_LIBS=ON/OFF` toggles building rabbitmq-c as a shared 
   library.
   ON by default.

* `BUILD_STATIC_LIBS=ON/OFF` toggles building rabbitmq-c as a static 
   library.
   OFF by default.

* `BUILD_TESTS=ON/OFF` toggles building test code. 
   OFF by default.

* `BUILD_TOOLS=ON/OFF` toggles building the command line tools.
   ON by default.

* `BUILD_TOOLS_DOCS=ON/OFF` toggles building the man pages for the 
   command line tools. 
   ON by default if BUILD_TOOLS is ON and xmlto is installed.

* `ENABLE_SSL_SUPPORT=ON/OFF` toggles building rabbitmq-c with SSL 
   support.
   ON by default if the OpenSSL headers and library can be found.

* `BUILD_API_DOCS=ON/OFF` toggles building the Doxygen API documentation
   OFF by default.

* `RUN_SYSTEM_TESTS=ON/OFF` toggles building the system tests.  Tests
   require an accessible RabbitMQ server instance on localhost.
   OFF by default.

If BUILD_EXAMPLES=ON or BUILD_TESTS=ON then executable programs will
be compiled from sources in /usr/doc/rabbitmq-c-$VERSION/examples/src/
-and-or- /usr/doc/rabbitmq-c-$VERSION/examples/src/ The Extra Programs
will be installed in /usr/doc/rabbitmq-c-$VERSION/{examples,tests}/bin/

For Example, to build examples and tests:

BUILD_EXAMPLES=ON BUILD_TESTS=ON ./rabbitmq-c.SlackBuild

To build a nice html Doxygen API documentation tree in the directory
/usr/doc/rabbitmq-c-$VERSION/html/ you need to pass BUILD_API_DOCS=ON
to the script, for example

  BUILD_API_DOCS=ON ./rabbitmq-c.SlackBuild

To build examples, tests and the html documentation:

BUILD_EXAMPLES=ON \
BUILD_TESTS=ON \
BUILD_API_DOCS=ON ./rabbitmq-c.SlackBuild