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

Added full CMake build support and enabled CI #140

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xvitaly
Copy link

@xvitaly xvitaly commented Apr 21, 2022

Changes:

  • Implemented full CMake support, based on our work:
    • builds, runs unit tests and installs project;
    • generates and exports CMake targets for external projects;
    • generates and exports pkg-config files for external projects;
  • Enabled GitHub actions and enabled CI for testing builds and running unit tests.
  • Removed no longer needed makefiles. CMake will automatically generate them for all supported platforms.

Build instructions:

cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTS:BOOL=ON
cmake --build build

Installation instructions:

sudo cmake --install build

Closes #61.

xvitaly and others added 2 commits April 22, 2023 13:34
Co-authored-by: leha-bot <leha-bot@users.noreply.github.com>
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
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.

No make install (cpp version)
2 participants