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

Build #14

Merged
merged 4 commits into from
Dec 1, 2017
Merged

Build #14

merged 4 commits into from
Dec 1, 2017

Conversation

LeSpocky
Copy link
Contributor

@LeSpocky LeSpocky commented Dec 1, 2017

Major build improvements, no code changes (despite of adapted includes), just renames, moves, and CMake stuff. Not complete, but enough to proceed with the code parts.

Note: Whitespace may not be consistent, may be solve that with #11?

LeSpocky and others added 4 commits December 1, 2017 16:58
This is a first step towards making a real library with a stable API
sometimes in the end.

Due to internal dependencies there a two libraries at the moment:
libmosqagent and libmosqhelper. Set the global CMake variable
BUILD_SHARED_LIBS to control if shared or static libs are generated (you
can use the new introduced option for that).

The first agent mqtt-clock just links the two internal libraries then.

Version numbering follows the semantic versioning approach, see
https://apr.apache.org/versioning.html or https://semver.org/ for
details.

Note: nothing is installed so far.
This will install both libraries, headers, exported cmake targets, and
the one agent binary to standard GNU installation directories.
We include stdbool.h all over the project. This header comes with C99,
so we must require it.
* Move header files, library implementation, and example agents all to
  separate directories
* Move CMake code to separate CMakeLists.txt files in the new subfolders
* Rename mosqagent.[ch] files to mqtta.[ch]
@penguineer penguineer merged commit bd39aa3 into penguineer:master Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants