summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Make cmake package-config find OpenSSL when usedAlan Antonuk2023-05-021-0/+8
| | | | | | | | | This makes the rabbitmq-c-config.cmake package config correctly find the OpenSSL library dependency when required. Fixes: #725 Signed-off-by: GitHub <noreply@github.com>
* lib: delete obsolete inline keyword detectionAlan Antonuk2021-05-202-32/+0
| | | | | | C99 supports the inline keyword, this is now not useful. Signed-off-by: GitHub <noreply@github.com>
* lib: make library version match release versionAlan Antonuk2021-04-201-2/+1
| | | | | | | This makes full library version on unix-like systems match the release version. The SOVERSION remains as unchanged, for compatibility sake. Signed-off-by: GitHub <noreply@github.com>
* cmake: rename FindXMLTO.cmake to correct warningAlan Antonuk2021-04-191-0/+0
| | | | | | | | | | | | | CMake issues the following developer warning about FindXmlTo: The package name passed to `find_package_handle_standard_args` (XMLTO) does not match the name of the calling package (XmlTo). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. This corrects that by naming it FindXMLTO.cmake. Signed-off-by: GitHub <noreply@github.com>
* Make FindPOPT.cmake import cmake targetsAlan Antonuk2021-04-191-18/+27
| | | | Signed-off-by: GitHub <noreply@github.com>
* Move official includes to rabbitmq-c/ directoryAlan Antonuk2021-04-051-3/+3
| | | | | | | | | | | | | | | Move official rabbitmq-c includes under the rabbitmq-c, thus new programs should use the following include paths: amqp.h -> rabbitmq-c/amqp.h amqp_tcp_socket.h -> rabbitmq-c/tcp_socket.h amqp_ssl_socket .h-> rabbitmq-c/ssl_socket.h amqp_framing.h -> rabbitmq-c/framing.h Existing include files are left with a warning message and including their new equivalents, so existing programs should compile without modification. Signed-off-by: GitHub <noreply@github.com>
* Move public header files to include directoryAlan Antonuk2021-04-051-3/+3
| | | | Signed-off-by: GitHub <noreply@github.com>
* cmake: use modern version of project() commandAlan Antonuk2021-04-011-0/+21
| | | | | | | This also gets rid of a non-top-level project command that probably shouldn't be used. Signed-off-by: GitHub <noreply@github.com>
* Remove cmake modules included with cmakeAlan Antonuk2021-03-312-308/+0
| | | | | | | CmakePushCheckState and GNUInstallDirs are included with CMake v3.10 and newer, no need to also package them here. Signed-off-by: GitHub <noreply@github.com>
* Add rabbitmq-c-config.cmake generationEric Huff2020-05-311-0/+4
| | | | | | Generating a -config.cmake or Config.cmake lets rabbitmq-c be discoverable via cmake's `find_package`, and allows easier use in the vcpkg ecosystem.
* Make cmake build reproduciblymarinamoore2018-10-241-1/+1
|
* Remove vim mode lines.formatAlan Antonuk2017-12-044-4/+0
| | | | They're hard to keep in sync with .clang-format or other tools.
* build: remove obsolete HAVE_HTONLL checkAlan Antonuk2017-10-101-2/+0
| | | | | HAVE_HTONLL was used for the byteswap code, which no longer uses htonll, this can be removed.
* CMake: Remove install_pdb macro.Alan Antonuk2016-04-091-46/+0
|
* CMake: remove unused Find{cyassl,Polarssl} files.Alan Antonuk2015-11-292-46/+0
|
* Lib: add select()-based implementation of poll()Alan Antonuk2015-06-011-0/+4
| | | | | Add select() based poll() implementation for platforms that either support this better (Win32) or don't support poll().
* CMake: check for PKG_CONFIG_FOUND in FindPOPT.cmakeAlan Antonuk2014-09-021-2/+4
|
* Add platform, version, copyright client propertiesAlan Antonuk2014-08-251-0/+2
| | | | | | | | | Add 'platform' 'version', 'copyright' client-properties to start-ok method during connection handshake. Adapted from: https://github.com/synety-jdebp/rabbitmq-c/commit/e3c76e1887ff50378f6146167daa024dbd7d4eeb by: Jonathan de Boyne Pollard <jonathan.de.boyne.pollard@synety.com>
* Add GNUInstallDirs.cmake moduleAlan Antonuk2013-11-051-0/+205
| | | | | Adding GNUInstallDirs.cmake module for older versions of CMake that do not have that module
* Add compile and runtime library version functionsAlan Antonuk2013-07-231-2/+0
|
* Update FindPolarSSL and FindcyaSSL cmake scriptsAlan Antonuk2013-04-172-14/+26
| | | | | LibFindMacros.cmake was removed from the project. Update FindPolarSSL and FindcyaSSL scripts to work without LibFindMacros.cmake
* Remove duplicate CMake scriptsMichael Steinert2013-04-092-163/+0
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Cleanup CMake build a bitMichael Steinert2013-04-092-0/+163
| | | | | | | | | | | 1. Add checks for Unix/Linux-specific header files (similar to configure.ac) 2. Added a check for the `-std=c99` flag. It appears that some of this code uses C99 and compiling without this flag produces quite a few warnings. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Adding support for SSL to CMake build systemAlan Antonuk2013-04-092-0/+34
|
* Adding vim modelines to help with source formattingAlan Antonuk2013-04-055-0/+5
|
* FIX: htonll redeclared on Win32 v8Alan Antonuk2013-01-231-0/+2
| | | | | | config.h.in didn't include the HAVE_HTONLL, have added this htonll is declared inline in the Winsock2.h header, must use CheckSymbolExists from there.
* Fix for XmlTo not found warning in tools directoryAlan Antonuk2013-01-191-1/+1
| | | | | | | Issue was FindPackageHandleStandardArgs upper-cases the package name so when XmlTo was passed to the FIND_PACKAGE_HANDLE_STANDARD_ARGS function it created the variable XMLTO_FOUND instead of the expected XmlTo_FOUND
* add CMakePushCheckState.cmake for older cmake versionsBernhard K. Weisshuhn2013-01-151-0/+103
| | | | | | http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/CMakePushCheckState.cmake with licence copied from: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Copyright.txt
* Install .pdb files where availableAlan Antonuk2012-11-292-0/+67
|
* Refactor TestCInline.cmake scriptAlan Antonuk2012-11-142-5/+5
| | | | | | Refactor TestCInline cmake script to save the inline keyword in the cmake cache so it won't get lost on a cmake reconfigure. Print status message of which inlining keyword was selected
* Removing unused LibFindMacros cmake scriptAlan Antonuk2012-11-141-99/+0
|
* Refactor FindXmlTo.cmake scriptAlan Antonuk2012-11-141-10/+5
| | | | | | Refactor FindXmlTo to use FindPackageHandleStandardArgs to have less to maintain. Also mark the XMLTO_EXECUTABLE variable as advanced so it doesn't appear in the GUI by default
* Refactor FindPOPT.cmake scriptAlan Antonuk2012-11-141-6/+25
| | | | | | | Refactor FindPOPT to: - Use pkg-config when available. (popt installs with a pkg-config file) - Use FindPackageHandleStandardArgs which is a default part of CMake and thus we don't need to maintain LibFindMacros
* cmake: configure config.h instead of generating itAlan Antonuk2012-10-201-0/+10
|
* Adding CMake procedure to build/install tools manpagesAlan Antonuk2012-05-241-0/+103
|
* Move TestCInline.cmake into cmake directoryMichael Steinert2012-05-171-0/+28
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Adding POPT CMake lib finder.Alan Antonuk2011-11-012-0/+117
Utilities in the tools/ directory will now be built if the popt library is found