Re: [CMake] Out of Source CMakeLists

2015-01-20 Thread Gonzalo Garramuno
On 20/01/15 15:57, Ma O-Nigiri wrote: Is this possible? I tried fiddling with some of the path variables and it didn't pan out. I believe what you want is not possible. However, you can have: cmake/modules FindOpenEXR.cmake mytool CMakeLists.txt ( with add_subdirectory( src ) )

Re: [CMake] Out of Source CMakeLists

2015-01-20 Thread Ma O-Nigiri
Thanks guys - you both hit on my fallback plan. I had a feeling it wouldn't be trivial to get that working without actually adding some functionality to cmake itself. I'll just keep my builds out of tree so I don't interfere with the existing build system! Cheers On Tue, Jan 20, 2015 at 12:00