From c41bc435255a1e56615e7d8ab608c84d7e9772a2 Mon Sep 17 00:00:00 2001 From: coconil Date: Tue, 31 Jan 2023 22:49:55 +0800 Subject: [PATCH] add cmake build doc --- cmake.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cmake.md diff --git a/cmake.md b/cmake.md new file mode 100644 index 0000000..8e9b440 --- /dev/null +++ b/cmake.md @@ -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` \ No newline at end of file