Different packages for Debug and Release versions ?

Hello,

Should I group the Debug and Release versions of a library in one single package, or make a package for each ?

What is the recommanded practice ?

Generally, you’d want a single package. When generating the package, you’d need to install Debug and Release versions, then package them up together into a single package with a single <packageName>-config.cmake file, etc. If you need to do this, using a multi-config generator like “Ninja Multi-Config” is likely to be easier, since you can use a single build directory to produce all the required content to install.

2 Likes

OK, thank you !