Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

composing cps files (or how to handle debug builds created seperately)

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
build-system

Research direction

Review the sample CPS configuration in the issue and investigate how separate Meson debug and optimized builds are represented. Determine whether CPS should define a composition mechanism for separate files or discontinue reporting both configurations in one file; the issue is done when one approach is specified clearly.

Written by the indexing model from the issue text.

Description

documentation help wanted

Meson doesn't have (by design) a way to generate debug and optimized targets in the same build, instead we would recommend two separate builds for that (we only have out of tree builds, so this is super trivial for us).

The sample has this:

{
  "sample-shared": {
    "Type": "dylib",
    "Requires": [ ":sample-core" ],
    "Configurations": {
      "Optimized": {
        "Location": "@prefix@/lib64/libsample.so.1.2.0"
      },
      "Debug": {
        "Location": "@prefix@/lib64/libsample_d.so.1.2.0"
      }
    }
  }
}

It would be impossible for meson to generate this CPS file, however, because of that design decision. For us we would either need a standard way to compose cps files, or to drop the ability to report debug and optimized in a single cps file.

Dominant language
Python
Stars
191
Forks
14
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from cps-org/cps

All issues in cps-org/cps

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.