For questions specific to the server interface to CMake. Appropriate questions may relate to the server protocol, invoking CMake in server mode, problems with IDEs having errors using CMake through server mode and so on. Use the cmake tag instead for questions that are not clearly specific to CMake's server mode.
Questions tagged [cmake-server]
6 questions
2
votes
0 answers
Why does the CMake command show "The source directory "/home/shubham" does not appear to contain CMakeLists.txt."?
I am installing libfreenect2 on Linux.
I am following the steps given in https://github.com/OpenKinect/libfreenect2.
Command
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/freenect2"
gives me an error:
"CMake Error: The source directory "/home/shubham"…

Shubham D
- 79
- 1
- 7
1
vote
0 answers
How to configure the CMake server
When I execute CMake I use the following command inside the CMake build directory, which works perfectly fine.
cmake -DCMAKE_TOOLCHAIN_FILE="path/to/toolchain/file" -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM="path/to/make/program"…

Yggdrasil
- 1,377
- 2
- 13
- 27
1
vote
1 answer
Send request to CMake server from the Linux command line
I would like to play around with the CMake server mode from the Linux command line. The documentation tells me to start CMake like the following:
cmake -E server (--debug|--pipe )
But for me it works only this way:
cmake -E server…

erikzenker
- 752
- 5
- 18
0
votes
1 answer
Targetting Linux with Visual Studio 2017 and CMake
I'm trying to target a simple CMake-based project to Linux (x86) from VS2017.
CMakeLists.txt
project (hello-cmake)
add_executable(hello-cmake hello.cpp)
hello.cpp
#include
int main(int argc, char* argv[])
{
std::cout << "Hello from…

JPh
- 536
- 3
- 20
0
votes
1 answer
Why is CMake ending prematurely in Qt Creator?
I'm new to Qt Creator and wanted to import an existing CMake project into it. I loaded the CMakeLists.txt file as a project, and after running CMake, it found my files like I hoped.
But when it builds, it seems to end prematurely after one second.…

jtbr
- 1,149
- 13
- 13
0
votes
0 answers
CMake error to build the project with Cyrillic letters
I have error with build my project.
I use last CMake version.
And CryEngine.
"C:\Program Files (x86)\Crytek\CRYENGINE Launcher\Crytek\CRYENGINE_5.3\Tools\CryVersionSelector\cryrun.exe" "build" "C:\Users\HP\Documents\CRYENGINE Projects\My…