[cmake-developers] Server handshake with only build directory
Isaiah Norton
isaiah.norton at gmail.com
Mon Jan 22 10:54:25 EST 2018
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","protocolVersion":{"major":1},
> "buildDirectory":"/opt/bld/s5nj/Slicer-build"
> }
> ]== "CMake Server" ==]
[== "CMake Server" ==[
{"cookie":"zimtstern","errorMessage":"Failed to activate protocol version:
\"CMAKE_HOME_DIRECTORY\" is set but incompatible with configured source
directory value.","inReplyTo":"handshake","type":"error"}
]== "CMake Server" ==]
```
The docs example with source and generator arguments works -- but shouldn't
the build directory fully determine these options for an already-configured
build tree?
Thanks,
Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20180122/40ff7596/attachment.html>
More information about the cmake-developers
mailing list