add  cmake for the sample