Add cmake for .cc build