bemanproject / exemplar

Example Beman project
Other
11 stars 16 forks source link

Install debug build binaries to a separate folder #39

Closed ComicSansMS closed 1 month ago

ComicSansMS commented 1 month ago

This will mirror the directory structure used by vcpkg:

camio commented 1 month ago

Thanks for the contribution @ComicSansMS! Could you add to the .github/workflows/ci_tests.yml a check so we can verify this works properly (at least by eye)? I'm thinking a Ninja MultiConfig including both debug and release builds.

ComicSansMS commented 1 month ago

Thanks for the contribution @ComicSansMS! Could you add to the .github/workflows/ci_tests.yml a check so we can verify this works properly (at least by eye)? I'm thinking a Ninja MultiConfig including both debug and release builds.

So, the easiest way to do this is to just have all builds always build both Debug and Release configurations. I added that change to the PR.

To properly ensure that this works, we will eventually need a CI job that mimics a client application consuming the exemplar library in different configurations. I will leave that for another PR though, as it requires a completely new CI job that will be quite a bit more complex than what we have now.