Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Brian Davis
Yes PreLoad.cmake was/is exactly what I am looking for. I tested it and it works minus the bit about it not workging with: set( CMAKE_GENERATOR_PLATFORM "Visual Studio 12 2013 Win64" ) but hey it's 99.99 percent of what I need. Now only if I could find that say in the documentation! Thanks for

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Craig Scott
Something which may be helpful for projects which don't have direct support for optional config is to hook into their project() command. You can set the CMAKE_PROJECT__INCLUDE vari

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Jean-Michaƫl Celerier
That's a very useful feature to have! Ideally CMake would also try to load it recursively up to the "/" folder just like for instance clang-format or clang-tidy look for their configuration folders upwards. This would allow for instance to easily build all the projects in a certain folder in releas

Re: [CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-09 Thread Cristian Adam
On Tue, Aug 8, 2017 at 8:08 PM, Brian Davis wrote: > > Is there a CMake equivalent to a site-config.jam or user-config.jam > > http://www.boost.org/build/doc/html/bbv2/recipies/site-config.html > > basically a CMake file the user can put in a project directory that CMake > will read first when us

[CMake] CMake equivalent to Boost.Build site-config.jam or user-config.jam

2017-08-08 Thread Brian Davis
Is there a CMake equivalent to a site-config.jam or user-config.jam http://www.boost.org/build/doc/html/bbv2/recipies/site-config.html basically a CMake file the user can put in a project directory that CMake will read first when using cmake-gui that allows user to specify stuff they don't want t