the official demo tic_tac_toe,configurate cmake file that can be built by clion.
Select File ➜ Settings ➜ Build, Execution, Deployment ➜ CMake and make the following adjustments:
Set Build type to Release
Set CMake options to -DCMAKE_TOOLCHAIN_FILE=Toolchain.cmake
Set Generation path to tic_tac_toe