Search code examples
clion

clion build configuration. How to build multiple targets?


Can any1 tell me how to configure cLion Run/Debug configuration so it builds both release and debug, and any other config I would like to? I'm trying to output my .lib d.lib so they are ready for usage... I tried adding "before launch" and add debug/release there but seem to not do anything...

A side question, how can 1 project execute 2nd project builds so that I can always make sure my libs are up to date?

TIA!


Solution

  • Clion > editConfiguration > +(add) > Compound > add ur desired outs there.

    Hit build and it will make it happen.