Re: [CMake] find_package for both debug and release with Visual Studio

2015-09-25 Thread Tamás Kenéz
1. build your own project, too, in separate build trees for debug and release 2. if all your dependencies' are prepared to provide debug and release libs simultanously (like Poco) you can build them in separate trees (however not neccessary) but set CMAKE_INSTALL_PREFIX and CMAKE_PREFIX_PATH to the

Re: [CMake] find_package for both debug and release with Visual Studio

2015-09-25 Thread Dan Kegel
"John Barbero Unenge" wrote: > > I'm tearing my hair out about how to include thrid party libraries in my cmake project. Currently I build Poco and a bunch of others that all generate their respective Config.cmake which I use with find_package. I have a wrapping build script that builds all of my

[CMake] find_package for both debug and release with Visual Studio

2015-09-25 Thread John Barbero Unenge
I'm tearing my hair out about how to include thrid party libraries in my cmake project. Currently I build Poco and a bunch of others that all generate their respective Config.cmake which I use with find_package. I have a wrapping build script that builds all of my dependencies and package them sepa