‘Say this is your folder ‘foo’’ Do you mean ‘move this to your folder foo’?
Would it be true to say that CMake creates Makefiles?
Plain language would help users of CMake greatly.
A ‘generator’, normally thought of as something which ‘generates’, the active verb,
is a synonym for something which has already(!) been generated by another party. A ‘build system’ such as VS 2019 which is something that Bill Gates generated–not something that the user generated. As a user I ask you what will I, the user, generate when I use your generator?
‘It is a meta-system’ does not divulge any useful information. You are merely misguiding the user with a fancy but meaningless expression, ‘meta-system.’
My feet are meta-systems. The ball on the field is a build-system. But with these exotic descriptions I still don’t know how to play soccer.
‘…Ninja is easily the…’ Nothing about CMake so far is easy so I cannot trust your interpretation of the word ‘easily.’ Anyway, delving into yet another product full of meta-murkiness will not save me time.
I followed your instructions to my simple question it has resulted in this :
D:\hold\src>dir
Datenträger in Laufwerk D: ist DATA
Volumeseriennummer: 48DE-4E30
Verzeichnis von D:\hold\src
16.03.2021 12:44 .
16.03.2021 12:44 …
16.03.2021 12:42 272 CMakeLists.txt
15.03.2021 22:55 84 Katz.cpp
2 Datei(en), 356 Bytes
2 Verzeichnis(se), 136.586.108.928 Bytes frei
D:\hold\src>D:/CMake/bin/cmake -S . -B build
– Building for: NMake Makefiles
– The CXX compiler identification is GNU 10.2.0
– Detecting CXX compiler ABI info
CMake Error: Generator: execution of make failed. Make command was: nmake -f Makefile /nologo cmTC_46641\fast &&
– Detecting CXX compiler ABI info - failed
– Check for working CXX compiler: C:/msys64/mingw64/bin/g++.exe
CMake Error: Generator: execution of make failed. Make command was: nmake -f Makefile /nologo cmTC_57e08\fast &&
– Check for working CXX compiler: C:/msys64/mingw64/bin/g++.exe - broken
CMake Error at D:/CMake/share/cmake-3.20/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"C:/msys64/mingw64/bin/g++.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/hold/src/build/CMakeFiles/CMakeTmp
Run Build Command(s):nmake -f Makefile /nologo cmTC_57e08\fast && **Das System kann die angegebene Datei nicht finden**
Generator: execution of make **failed**. Make command was: nmake -f Makefile /nologo cmTC_57e08\fast &&
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)
– Configuring incomplete, errors occurred!
See also “D:/hold/src/build/CMakeFiles/CMakeOutput.log”.
See also “D:/hold/src/build/CMakeFiles/CMakeError.log”.