navicat-keygen-2023/doc/how-to-build.md
Double Sine 73ff67d4a5
remove cxxopts library, it does not work better than before
Signed-off-by: Double Sine <xiao_ai_yu@live.cn>
2022-02-15 17:15:22 +08:00

698 B

navicat-keygen for linux - How to build?

中文版

1. Prerequisites

  1. Install latest CMake:

    $ sudo apt-get install cmake
    
  2. 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
    
  2. 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.