Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some improvements and cleanup of CMake build #1427

Open
fpagliughi opened this issue Dec 2, 2023 · 1 comment
Open

Some improvements and cleanup of CMake build #1427

fpagliughi opened this issue Dec 2, 2023 · 1 comment
Milestone

Comments

@fpagliughi
Copy link
Contributor

I've started working on some updates to the CMake build with the following goals:

  1. Upgrade the targeted version of CMake to v3.5. It seems that earlier versions are being deprecated and causing build warnings with current versions of CMake. (See Bumped CMake minimum to 3.5 and added a CMake project version #1425)
  2. Set the CMake version of the project so that downstream users can request/check a minimum version in their CMake builds. (See Bumped CMake minimum to 3.5 and added a CMake project version #1425)
  3. Make it easier to use Paho C as a submodule in other projects. A few minor things - like aliasing the namespace - would make it easy to include the whole project as a subdirectory in CMake.
  4. Do a general cleanup of the CMake files to make them more consistent and readable.
  5. Everything should be backward compatible - no breaking changes.

I'm interested in any other ideas people might have to make this easier to use in their projects, especially if anyone is maintaining the this code in a package manager and needs to add any work-arounnds or patches to get things compiling.

@icraggs icraggs added this to the 1.3.14 milestone Apr 18, 2024
@icraggs
Copy link
Contributor

icraggs commented Apr 18, 2024

Thanks. The PR has been merged into the develop and 1.4 branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants