Is there any way to specify where CMake should create its build files? I mean some kind of set function. I want to run CMake in root directory and get its files in /build directory.
Files I want to put to build directory: CMakeFiles/ cmake_install.cmake CMakeCache.txt Makefile