add cmake build doc

This commit is contained in:
coconil 2023-01-31 22:49:55 +08:00
parent 0940320b60
commit c41bc43525
1 changed files with 8 additions and 0 deletions

8
cmake.md Normal file
View File

@ -0,0 +1,8 @@
# cmake构建说明
## Ubuntu
1. 安装编译环境 `sudo apt-get install g++ make cmake`
1. 安装qt工具和库 `sudo apt-get install qtbase5-dev qt5-qmake qtbase5-dev-tools libqt5printsupport5 libqt5xmlpatterns5-dev `
1. 配置 `cmake path_to_src`
1. 编译 `make -j`