wrapper for cmake