Skip to content

Commit

Permalink
chore: some adjustments for build scripts and dump to v0.4.11. 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Apr 7, 2023
1 parent b12cc44 commit 9b2c3fc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)

project(qpiskvork VERSION 0.2 LANGUAGES CXX)
project(qpiskvork VERSION 0.4 LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ cmake .. -DCMAKE_BUILD_TYPE=Release
make
```

- with xmake toolchain

more easier than cmake.

```shell
cd qpiskvork
xmake config --mode=release
xmake
```

## references

1. [https://sourceforge.net/projects/piskvork/](https://sourceforge.net/projects/piskvork/).
Expand Down
4 changes: 2 additions & 2 deletions src/caro.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class Caro final : public rules
public:
bool checkWin(Board *board) override;

private:
bool findShap(Board *board, const pair<int, int>& p_drt);
private:
bool findShap(Board *board, const pair<int, int> &p_drt);
};

#endif
2 changes: 1 addition & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,7 @@ void MainWindow::OnActionPlayerSetting()

void MainWindow::OnActionVer()
{
const QString strVerNum = "Ver Num: 0.4.05\n";
const QString strVerNum = "Ver Num: 0.4.11\n";
QString strBuildTime = "Build at ";
strBuildTime.append(__TIMESTAMP__);
strBuildTime.append("\n");
Expand Down

0 comments on commit 9b2c3fc

Please sign in to comment.