Skip to content

Alternative single-executable mode #12

@fpesari

Description

@fpesari

Hello,

right now, CDP operates as it traditionally does, by having a separate executable file for each command.

This is very uncommon on *NIX systems and ends up cluttering a bit the program namespace, which could cause conflicts between different programs with the same name as one of the CDP commands (and with 148 programs, I think the chance of it happening is rather high!). This could create huge problems especially considering that some commands use common words such as filter, prefix and synth.

My proposed solution is to allow building CDP as a single executable which can be used like this:

cdp7 [command] [parameters]

for example

cdp7 distort ...

(I used cdp7 instead of cdp to avoid conflicts with other programs named cdp, and also so that if cdp8 is ever released and it breaks the ABI, existing user scripts won't be broken).

This could be set as a CMake option, just to avoid breaking existing user scripts based on the current way of doing things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions