Re: [cmake-developers] Server handshake with only build directory

2018-01-23 Thread Rich Chiodo via cmake-developers
Tobias, can you make sure it still supports passing the source directory too? Otherwise we’ll have to have version dependent arguments that we pass to CMake server. From: Isaiah Norton [mailto:isaiah.nor...@gmail.com] Sent: Tuesday, January 23, 2018 7:16 AM To: Brad King

Re: [cmake-developers] Server handshake with only build directory

2018-01-23 Thread Isaiah Norton
> > > Any objections from the core team about enabling server-mode with a > > build directory only? I can send in a patch, it is simple to add this. > > Fine with me. > Awesome, thanks. Please cc me (@ihnorton). Isaiah On Tue, Jan 23, 2018 at 6:40 AM, Brad King wrote: >

Re: [cmake-developers] Server handshake with only build directory

2018-01-23 Thread Brad King
On 01/23/2018 04:55 AM, Tobias Hunger wrote: > Any objections from the core team about enabling server-mode with a > build directory only? I can send in a patch, it is simple to add this. Fine with me. This should be allowed only when the build tree already exists. Thanks, -Brad -- Powered by

Re: [cmake-developers] Server handshake with only build directory

2018-01-23 Thread Tobias Hunger
Hi Rich, On Mon, Jan 22, 2018 at 5:48 PM, Rich Chiodo wrote: > If you have the build directory, can’t you just parse the CmakeCache.txt? > CMAKE_HOME_DIRECTORY in the cache is the source folder. Seems easier than > writing something to talk to CMake server. Sure, but part