[code]user@solydk1:~/Kicad/build/debug$ cmake -DCMAKE_INSTALL_PREFIX=build/debug/bin/ -DCMAKE_BUILD_TYPE=Debug
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory “/home/user/Kicad/build/debug” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
user@solydk1:~/Kicad/build/debug$ cmake -DCMAKE_INSTALL_PREFIX=…/ -DCMAKE_BUILD_TYPE=Debug
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory “/home/user/Kicad/build/debug” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
user@solydk1:~/Kicad/build/debug$ cmake -DCMAKE_INSTALL_PREFIX=/home/user/Kicad/build/debug/bin/ -DCMAKE_BUILD_TYPE=Debug
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory “/home/user/Kicad/build/debug” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
user@solydk1:~/Kicad/build/debug$ cmake -DCMAKE_INSTALL_PREFIX=./ -DCMAKE_BUILD_TYPE=DebugCMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory “/home/user/Kicad/build/debug” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.[/code]
I must be doing something stupid, but I don’t see what it is.
From /home/user/Kicad,
user@solydk1:~/Kicad$ find ./ -name "CMakelists.txt"
From where I expect the build to be created, ~/Kicad/build/debug,
user@solydk1:~/Kicad/build/debug$ pwd
/home/user/Kicad/build/debug
user@solydk1:~/Kicad/build/debug$ cmake -DCMAKE_INSTALL_PREFIX=../../ -DCMAKE_BUILD_TYPE=Debug
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory "/home/user/Kicad/build/debug" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
I thought -DCMAKE_INSTALL_PREFIX specified a relative path to CMakelists.txt. Am I wrong?