-
Notifications
You must be signed in to change notification settings - Fork 0
Tips
Usagi Ito edited this page Oct 17, 2015
·
1 revision
-
- clone元にこのリポジトリーを設定
-
- C++プロジェクトで作成
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt update
sudo apt install cmake
cmake --version
add-apt-repository ppa:ubuntu-toolchain-r/test
apt install g++-5
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 99
g++ --version
sudo apt install ninja-build
ninja --version
mkdir build
cd build
cmake .. -G Ninja
ninja
bin/othello-runner bin/othello_sample bin/othello_sample
サンプルAI同士での対戦が行われ、結果が表示されます。