FreeKill/docs/fkp/dev/build_from_source.rst

28 lines
591 B
ReStructuredText
Raw Normal View History

.. SPDX-License-Identifier: GFDL-1.3-or-later
编译fkparse
===========
Linux
-----
::
$ git clone https://github.com/Notify-ctrl/fkparse
$ sudo apt install cmake flex bison
$ cd fkparse
$ mkdir build && cd build
$ cmake .. && make
Windows
-------
配置好MinGW和CMake环境从github上下载最新版的\ ``win_flex_bison``\ ,将其解压缩并设置好环境变量,然后
::
D:\> git clone https://github.com/Notify-ctrl/fkparse
D:\> cd fkparse
D:\fkparse> mkdir build && cd build
D:\fkparse\build> cmake -G "MinGW Makefiles" .. && mingw32-make