pkgx/docs
GitHub
  • Highlights
  • pkgx
    • Installing pkgx
    • Getting Started
    • Scripting
  • The pkgx Ecosystem
    • pkgm
    • dev
    • mash
    • pkgo
  • Appendix
    • FAQ
    • Deeper Dives
      • How pkgx Works: A Conceptual Overview
      • Using pkgx with a C/C++ Pipeline
    • Packaging
      • Contributing Packages
      • API
  • Linktree
    • GitHub
    • Discord
    • 𝕏
Powered by GitBook
On this page
Edit on GitHub
  1. Appendix
  2. Deeper Dives

Using pkgx with a C/C++ Pipeline

We have most of the most popular c & c++ libraries pkg’d so just add them to your developer environment.

# pkgx.yaml

dependencies:
  openssl.org: ^3
  github.com/gabime/spdlog: ^1
  llvm.org: ^14
  gnu.org/autoconf: ^2
  cmake.org: ^3

Usually this is enough to have tools like Autoconf or CMake find the libraries sometimes though you may need to provide a helping hand. Examine the devenv with pkgx for path information.

Then dev to activate the environment.

Last updated 3 months ago