Add CMake build system files for discount