how-to-build.md 698 B

navicat-keygen for linux - How to build?

中文版

1. Prerequisites

  1. Install latest CMake:
   $ sudo apt-get install cmake
  1. Install fmt, OpenSSL and rapidjson:
   $ sudo apt-get install libfmt-dev libssl-dev rapidjson-dev

2. Build

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

Then you will see two executable files, navicat-keygen and navicat-patcher, in build directory.