block 801727 by 911805 thanks I looked at this a little back when we discussed it, but it looked like it was going to take more time than I had right then, so I put it off.
I recently had time to dig into this properly, but have hit a snag. After several hours of testing and tweaking, and reading cdbs files, it appears that the multiple builds work under autotools, but not under cmake. I've opened #911805 against cdbs requesting that this functionality be added for cmake. I think that rabbit hole is a little too deep for me to go down myself right now.