[cmake-developers] Server handshake with only build directory

Tobias Hunger tobias.hunger at gmail.com
Tue Jan 23 04:55:13 EST 2018


Hi Rich,

On Mon, Jan 22, 2018 at 5:48 PM, Rich Chiodo <rchiodo at microsoft.com> 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 of the reason to have server-mode is to get rid of
clutches like that.

If nobody objects, then I can make server-mode start with a build
directory only. I had that implemented at some point, but removed it
as part of the review process.

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.

Best Regards,
Tobias


More information about the cmake-developers mailing list