memory checking with cmake!