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
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers