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

C++ SDK: Improve CMake logic for packaging #32

Open
3 tasks
ghorbanzade opened this issue May 4, 2022 · 0 comments
Open
3 tasks

C++ SDK: Improve CMake logic for packaging #32

ghorbanzade opened this issue May 4, 2022 · 0 comments
Labels
C++ SDK Component: Touca SDK for C++ ✨ Good First Issue Small task suitable for new and future contributors 💪🏼 Improvement Issues that improve existing features or make maintaining them easier Low Priority Issues that won't upset anyone if we didn't ship in the next month

Comments

@ghorbanzade
Copy link
Member

Description

We are not using the standard CMake logic for packaging, exporting, installing, and finding the C++ library. This makes it difficult to package the library for publication to conan-center, vcpkg and other dependency management repositories. The goal of this ticket is to improve this CMake logic.

  • We should be able to export all CMake targets and install them in a touca:: CMake namespace.
  • We should write a CMake config file that allows us to find the library using CMake's find_* function.
  • We should be able to use CPack to package the C++ SDK.
@ghorbanzade ghorbanzade added enhancement ✨ Good First Issue Small task suitable for new and future contributors C++ SDK Component: Touca SDK for C++ Low Priority Issues that won't upset anyone if we didn't ship in the next month labels May 4, 2022
@ghorbanzade ghorbanzade added 💪🏼 Improvement Issues that improve existing features or make maintaining them easier and removed enhancement labels May 24, 2022
@ghorbanzade ghorbanzade changed the title Improve CMake logic for packaging C++ SDK C++ SDK: Improve CMake logic for packaging Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ SDK Component: Touca SDK for C++ ✨ Good First Issue Small task suitable for new and future contributors 💪🏼 Improvement Issues that improve existing features or make maintaining them easier Low Priority Issues that won't upset anyone if we didn't ship in the next month
Projects
None yet
Development

No branches or pull requests

1 participant