At the forth step:
rm -r build/*
cmake -S ./checker -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build ./build
cp ./build/win_checker_64bit.exe ./Xchecklist/Checker/
Modify cmake -S ./checker -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo to cmake -G "MinGW Makefiles" -S ./checker -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo.
Otherwise at least I got the following error with cmake version 4.0.2 and gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0:
-- Building for: NMake Makefiles
CMake Deprecation Warning at CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Error at CMakeLists.txt:9 (project):
Running
'nmake' '-?'
failed with:
no such file or directory
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
At the forth step:
Modify
cmake -S ./checker -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfotocmake -G "MinGW Makefiles" -S ./checker -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo.Otherwise at least I got the following error with
cmake version 4.0.2andgcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0: