cmake almost finalized