aminya / aminya/cpp_vcpkg_project

Another example where my_lib is a shared library

Open
#10 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
CMake
Stars
43
Forks
8
Avg merge
9m
Merged PRs (30d)
1

Description

It is possible to create another example like my_lib where my_lib is a shared library (.so). I try it, but I have problems when I link it to the tests. It is good practice to test a shared library in this way, or is it better to create a static and shared library, and link a static to the tests?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test path is named. Start by locating the existing my_lib example and its test-link configuration, then determine what a shared-library example should demonstrate and how its test setup would be validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.