PointCloudLibrary / PointCloudLibrary/pcl

[pkg-config] Provide a single package-config `.pc` file for all pcl libraries

Open
#4,838 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind: request needs: author reply
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

pkg-config with pcl needs to be informed of each individual library. It's quite bothersome

Expected behavior

pkg-config --cflags pcl should return the cflags for all PCL libraries

Current Behavior

Need to call pkg-config --cflags pcl_common and so on

Additional context

Every module's CMakeLists.txt creates a pkg-config. This can be done by creating a fake module which depends on all built modules and then generates a pkg-config file

Contributor guide

Open the contributing guide

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

Inspect the module CMakeLists.txt files that currently generate individual pkg-config files, then trace how built modules are collected. Verify the aggregate behavior with pkg-config --cflags pcl; done means one pcl.pc file exposes the flags for all built PCL libraries.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.