[CMake] Change project name based on architecture

2016-11-03 Thread B. Scott Harper
I have a project where I manage multiple architectures and switch back and forth frequently for testing. Full disclosure, I'm using Visual Studio. And since I cannot generate a single solution with multiple architectures (per everything I've found searching Google and the mailing list), I have two

[CMake] Find correct boost among peers

2016-02-07 Thread B. Scott Harper
I have several versions of boost downloaded on my machine inside a "thirdparty" directory. Different projects rely on various versions. I am trying to find a later version than the first version in that collection. I have gotten the closest by using a file(GLOB ...) as follows: file(GLOB