DISTRHO / Cardinal

Virtual modular synthesizer plugin
https://cardinal.kx.studio/
GNU General Public License v3.0
2.28k stars 155 forks source link

Add ability to exclude build targets #563

Closed riban-bw closed 1 year ago

riban-bw commented 1 year ago

It would be advantageous to be able to exclude some build targets so that you may define which targets are build, e.g. not build VST, LV2, CardinalNative, etc.

falkTX commented 1 year ago

I dont really want to add that since it increases complexity, plus the final build stage for creating the plugin variants is 1% or less of the total build time.

You can though use "make jack" or "make native" to build only that part, useful for faster builds when debugging See https://github.com/DISTRHO/Cardinal/blob/main/Makefile#L206 Adding some "lv2" or "vst2" specific make target would be ok with me, but optionally building some and not others is not, too much hassle for little gain and something I never use.

riban-bw commented 1 year ago

Understood! It is recompiling all the variants after each small change to common source that is irksome. I will look at some build targets to see if any ease my woes!