CMake build

Perhaps CMake will be more convenient...