Re: [CMake] One build, multiple compilers and packages

2013-08-28 Thread Craig Scott
Thanks for the suggestions Clinton. The idea of using a custom target to invoke CMake's --build feature on a sub-project was the piece I needed. When combined with ExternalProject, this gives me the behavior I was after. I use ExternalProject to define a separate build for each compiler and some

[CMake] One build, multiple compilers and packages

2013-08-26 Thread Craig Scott
Hi. First, apologies for the length. If you are not interested in mixing different compilers and generating multiple packages all within one build, you can probably stop reading now. After trying various approaches and not being entirely satisfied with any, I thought I'd seek the collective

Re: [CMake] One build, multiple compilers and packages

2013-08-26 Thread clinton
- Original Message - Hi. First, apologies for the length. If you are not interested in mixing different compilers and generating multiple packages all within one build, you can probably stop reading now. After trying various approaches and not being entirely satisfied with any, I