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

2018-01-22 Thread Isaiah Norton
Sure... But my understanding is that the goal of the server was to give people an alternative to doing that. From the cmake-server docs: 3. Provide a stable interface for reading the information in the CMake > cache. On Mon, Jan 22, 2018 at 11:48 AM, Rich Chiodo wrote: > If you have the build

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

2018-01-22 Thread Rich Chiodo via cmake-developers
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. From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Isaiah Norton Sent: Mon

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

2018-01-22 Thread Isaiah Norton
Hi Tobias, That makes sense when the goal is the IDE driving the configuration. But I'm not trying to use this for the IDE to drive the configuration, I only want to query the build directory in order for the IDE to learn about it. AFAIK the only way to change either one of these properties is to

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

2018-01-22 Thread Tobias Hunger
Hi Isaiah, the idea was to make sure the IDE and cmake agree on the settings being used and to make it very explicit what is going to be used. Best Regards, Tobias On Mon, Jan 22, 2018 at 4:54 PM, Isaiah Norton wrote: > I'd like to use cmake server with only a build directory argument (mostly i

[cmake-developers] Server handshake with only build directory

2018-01-22 Thread Isaiah Norton
I'd like to use cmake server with only a build directory argument (mostly in order to query the cache), but receive an error in return: ``` > cmake --version cmake version 3.9.4 > cmake -E server --experimental --debug > [== "CMake Server" ==[ > {"cookie":"zimtstern","type":"handshake","protocol

Re: [cmake-developers] CMAKE :: mingw make files with response file for includes

2018-01-22 Thread Jayakumar, Lenindarbi
Sounds good. Thank you Brad. Grüße Lenin -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Montag, 22. Januar 2018 13:54 To: Jayakumar, Lenindarbi ; cmake-developers@cmake.org Subject: Re: [cmake-developers] CMAKE :: mingw make files with response file for include

Re: [cmake-developers] CMAKE :: mingw make files with response file for includes

2018-01-22 Thread Brad King
On 01/19/2018 09:25 AM, Jayakumar, Lenindarbi wrote: > I have to use response file for both includes and objects. > Tasking compiler expects -f as Response file link flag for both. > But cmake produces command line for objects using -f and includes using @. > > I prefer to get it fixed in generato