Commit Graph

76 Commits

Author SHA1 Message Date
Ian Craggs 3cbacd05ec
Update version numbers and copyright dates 2026-02-19 12:57:48 +00:00
Ian Craggs fa7c02e9f5
Set TCP_NODELAY by default, CMake option to not use it #530 2026-02-12 15:17:43 +00:00
Ian Craggs 47c8d7ef87
Update copyright date 2026-01-29 16:13:11 +00:00
fpagliughi 4a0a0efcca
Reverted CMake minimum version back to v3.12 2026-01-29 16:11:28 +00:00
Ian Craggs 515e93eefc
Update version numbers to 1.3.15 2025-08-16 12:10:55 +01:00
Ian Craggs 02d49ebb1a Update patch number 2025-01-06 13:22:42 +00:00
fpagliughi cd2d10b650 Added support for UNIX-domain sockets for v1.3.x 2025-01-02 17:21:51 -05:00
fpagliughi 9a4fd085a5 - Removed the reset of the xxxSSL_ROOT_DIR variables, and cleaned output
- CMake includes grabbed from project-relative path.
2024-12-29 14:32:43 -05:00
Ian Craggs f4d5bd63fc Revert "Merge branch 'fix-ssl-dir' of github.com:fpagliughi/paho.mqtt.c into fpagliughi-fix-ssl-dir"
This reverts commit 96ec1e9765, reversing
changes made to 141b03f978.
2024-12-26 19:41:41 +00:00
fpagliughi 090af3480a CMake includes grabbed from project-relative path. 2024-07-20 10:22:45 -04:00
Ian Craggs 6e6488d908 Merge branch 'master' of github.com:marcfir/paho.mqtt.c into marcfir-develop 2024-04-17 11:24:08 +01:00
marcfir 732721220b
Check for LibreSSL on PAHO_BUILD_SAMPLES 2024-03-14 11:58:33 +00:00
marcfir 24869259a4
Support build against LibreSSL 2024-02-16 10:03:13 +00:00
fpagliughi ac2c53a9fb Can build subset of samples without SSL 2023-12-03 23:00:53 -05:00
fpagliughi 80feb203c8 Fixed formatting in CMake files. 2023-12-03 20:39:06 -05:00
fpagliughi 59761f5b00 Bumped CMake minimum to 3.5 and added a project version 2023-11-27 13:22:29 -05:00
Ian Craggs fdb9bea79b Don't allow building of samples without SSL - won't work #1387 2023-10-12 11:18:17 +01:00
Ian Craggs 6b255f0770 Add uuid library if build option set #1319 2023-10-10 11:00:29 +01:00
Michael Bleis aebb8bb6d3 fix(odr): Fix ODR violation for libuuid symbols
Signed-off-by: Michael Bleis <michael.bleis@aracom.de>
2023-10-10 10:44:23 +01:00
10km bd1c9e598a Update CMakeLists.txt
remove '-MD' in ADD_DEFINITIONS command. why add the -MD?
this -MD forcible control MSVC generate code with /MD option
if user want to compile with /MT by set option -DCMAKE_USER_MAKE_RULES_OVERRIDE=compiler_flag_overrides.cmake in command line,
the '-MD' definition cause it not work;
2022-02-17 12:53:50 +00:00
Ian Craggs 90c3916819 Allow old select code to be used optionally 2022-02-11 15:55:52 +00:00
Stanislav Ravas 083f756d71 Generate shlibs control file for debian package
Without the control file, dpkg-shlibdeps won't recognize this package.
Depending packages created by library user would end up without
dependency on libpaho-mqtt.

Signed-off-by: Stanislav Ravas <ravas@tind.sk>
2021-05-03 14:14:14 +01:00
Klaus Schneider-Zapp 2b7f348541 Remove unnecessary use of cmake-debhelper
Signed-off-by: Klaus Schneider-Zapp <klaus_snd@web.de>
2020-08-06 14:39:16 +02:00
Klaus Schneider-Zapp 6824ab50af Fix generating Debian package
Signed-off-by: Klaus Schneider-Zapp <klaus_snd@web.de>
2020-08-06 14:39:04 +02:00
Ian Craggs e2f4620ae4 Fix typo #919 2020-07-25 18:50:47 +01:00
Fabrice Fontaine 342b3824d2 Revert "Enable CXX language to support using GenerateExportHeader"
This reverts commit 23d68e8c79. Indeed,
GenerateExportHeader has been removed with commit
db5a2c216b and ENABLE_LANGUAGE(CXX) will
raise the following build failure if no C++ compiler is found:

CMake Error at CMakeLists.txt:34 (ENABLE_LANGUAGE):
  The CMAKE_CXX_COMPILER:

    /home/buildroot/autobuild/instance-1/output-1/host/bin/arm-linux-g++

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

Fixes:
 - http://autobuild.buildroot.org/results/831ecc34b51ee2be82a3c25f5ec94f0dd2103655

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-05-01 12:41:59 +02:00
Ian Craggs aa42f0ad7c Some leftover changes for update to epl v2 2020-04-06 16:13:20 +01:00
Ian Craggs 1e91229cb6 Update license from EPL v1 to v2 2020-04-06 13:27:50 +01:00
Ian Craggs b7b27cb9db Clean up static building especially for Windows #792 2020-03-30 18:44:40 +01:00
Ian Craggs 2d20fa3566 Change static build to use vs2019 - revert shared init to DllMain 2020-03-12 12:19:44 +00:00
Ian Craggs a312d934be Allow 'high performance' build without heap tracking and stack tracing #817 2020-03-05 17:31:32 +00:00
Ian Craggs db5a2c216b Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2020-02-06 09:17:08 +00:00
Deon McClung c116b725ff Make shared build optional
Signed-off-by: Deon McClung <dmcclung.eclipse@gmail.com>
2020-02-01 23:15:33 -07:00
Ian Craggs 0bb8849824 Allow export headers to work 2020-01-31 18:12:06 +00:00
Deon McClung 9a318ede3e Only build the shared libraries OR the static libraries
Signed-off-by: Deon McClung <dmcclung.eclipse@gmail.com>
2020-01-30 13:00:03 -07:00
Ian Craggs db4e507369 Add EXPORTS switch to CMake build to properly define Windows functions 2020-01-20 17:08:40 +00:00
Andreas Walter 25ffa0cc64 define library version via version files
Signed-off-by: Andreas Walter <andreas.walter@waltronix.de>
2020-01-10 20:36:30 +01:00
Ian Craggs 2f4ed8aff0
Merge pull request #636 from ivoshopov/export_targets
Export CMake targets
2019-12-05 14:08:07 +00:00
Klaus Schneider-Zapp b7de032022 Fix debian package
Some files were not installed into the correct directories as specified by the
Debian standard.

Signed-off-by: Klaus Schneider-Zapp <klaus_snd@web.de>
2019-09-28 10:27:02 +02:00
Ian Craggs 7044c2f905 Change version numbers to 1.3.1 in prep for release 2019-07-31 12:07:24 +01:00
Ivo Shopov ae017b6a74 Fix CMake minimum required version
The project doesn't build on CMake v2.8.4 because GNUInstallDirs is
missing in that version.

Signed-off-by: Ivo Shopov <ivoshopov@gmail.com>
2019-04-04 14:13:21 +03:00
Ian Craggs ae0dbf5d62 Update version number to 1.3 2018-09-10 11:25:27 +01:00
Otavio Rodolfo Piske cff3d29f7d Fix directory location mismatches between CPack and standard GNU directories
Signed-off-by: Otavio Rodolfo Piske <opiske@redhat.com>
2018-04-30 20:10:28 +02:00
Ian Craggs 602f2d8778 Update version numbers and use CMake packaging 2018-04-05 13:06:29 +01:00
Ian Craggs a87450ebce Label test project as C; add flag to disable test build & run #331 2017-09-20 16:06:23 +01:00
Ian Craggs 90184235d5 Merge pull request #254 from gitplcc/installdir
Use CMake GNUInstallDirs module for install directory inference
2017-07-27 10:25:09 +01:00
Ian Craggs 24c69408d0 Update version numbers to 1.2.0 2017-06-29 11:40:37 +01:00
Pedro Luis Castedo Cepeda aadd42414a
Merge branch 'develop' into installdir
* develop: (32 commits)
  Updates the RPM packaging makefile
  Stop mosquitto at end of Travis build
  Reduce keepalive check interval for low keepalive values #156
  Added RPM spec for Paho C
  Add REVERSED bitfield definition for big endian processors #212
  Some cppcheck complaint fixes #36
  Some CMake cleanup & correction #223
  Remove const from eyecatchers #168
  Fix for issue #244
  Make fix for issue #186 work on Windows too
  Fix for issue #186
  Actual fix for issue #179
  Fix for issue #179
  Update README to refer to Github for bug raising
  Reduce log verbosity for test 2d
  Fix for issue #190
  Non-SSL version of the library report an error if the caller requests an SSL connection. Possible soluiton for Issue #251
  Compile static ssl libraries with OPENSSL=1.
  Extend the 'MQTTAsync_willOptions_initializer' to initialize the new binary payloads fields
  In test5 - 2d the client must not have the valid client certificate!
  ...
2017-05-15 00:11:44 +02:00
Ian Craggs 236f441569 Merge branch 'feature/debian-package' of https://github.com/griera/paho.mqtt.c into fixes #158
Conflicts:
	CMakeLists.txt
	README.md
2017-05-02 13:11:35 +01:00
Ian Craggs e30861ebda Some CMake cleanup & correction #223 2017-04-30 22:17:39 +01:00