configure CMake build in separate folder