Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O Open VDS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Domain Data Management Services
  • Seismic
  • Open VDS
  • Issues
  • #150
Closed
Open
Issue created Oct 19, 2022 by Alexander Jaust@ajaustDeveloper

Create pkg-config configuration (.pc file) for consumption by other projects

It would be nice if OpenVDS could generate a pkg-config configuration file (.pc file) for easy consumption of the OpenVDS project in other projects. This would especially help with projects that are not using CMake as build system. One example would be projects using Go and its build system. Go has explicit support for pkg-config in the CGO package to obtain the needed flags for compiling and linking of applications to other packages. Would this be something one could add?

I made a quick test with a minimal template for the pkg-config configuration file which worked in my setup. I have attached the patch. It creates a openvds.pc file from the openvds.pc.in template file stored in CMake via a configure_file step in the CMake build process. The configuration file is installed into TARGET_DIR/lib/pkgconfig/. If the patch would be already acceptable or only small extra work, I would submit it as merge request.

0001-Add-pkg-config-configuration-file-generation.patch

Assignee
Assign to
Time tracking