Preparing the Build Environment
To build using CMake the cmake-bringup branch must first be checked out. After obtaining the source, the following two subfolders must be created:
Navigate to the tools subfolder in the RosBE folder and copy make.exe to mingw32-make.exe.
To build the branch the build tools must first be compiled using CMake. This needs to be done for the first build and whenever there is a change to the build tools.
cd build cmake -G "MinGW Makefiles" ..\ make cd ..
With the build tools compiled, ReactOS can now be compiled. In the case of CMakeLists being updated it is best to remove the content of the build-ros folder and rebuild ReactOS.
cd build-ros cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain-mingw32.cmake ..\ make