how-to-build.zh-CN.md 678 B

navicat-keygen for linux - 如何编译?

1. 前提条件

  1. 安装最新的 CMake:
   $ sudo apt-get install cmake
  1. 安装 fmtOpenSSLrapidjson:
   $ sudo apt-get install libfmt-dev libssl-dev rapidjson-dev

2. 编译

  1. clone仓库:
   $ git clone -b linux --single-branch https://notabug.org/doublesine/navicat-keygen.git
   $ cd navicat-keygen
  1. 编译:
   $ mkdir build
   $ cd build
   $ cmake -DCMAKE_BUILD_TYPE=Release ..
   $ cmake --build . -- -j4

编译完后你会在build文件夹里看到两个可执行文件 navicat-keygennavicat-patcher