cmake command:
export LD_LIBRARY_PATH="/Share/BP/zhenglt/01.bin/mills/libuv/mybuild/lib:/Share/BP/zhenglt/01.bin/mills/msgpack-c/mybuild/lib:/Share/BP/zhenglt/01.bin/mills/unibilium/mybuild/lib:/Share/BP/zhenglt/01.bin/mills/libtermkey-0.18/mybuild/lib:/Share/BP/zhenglt/01.bin/vi/libvterm/mybuild/lib:$LD_LIBRARY_PATH"
cmake \
-DCMAKE_C_FLAGS="-I/Share/BP/zhenglt/01.bin/mills/glib-2.0.0/mybuild/include/glib-2.0 -I/Share/BP/zhenglt/01.bin/mills/glib-2.0.0/mybuild/lib/glib-2.0/include" \
-D LIBUV_INCLUDE_DIR="/Share/BP/zhenglt/01.bin/mills/libuv/mybuild/include/" \
-D LIBUV_LIBRARY="/Share/BP/zhenglt/01.bin/mills/libuv/mybuild/lib/libuv.so" \
-D MSGPACK_LIBRARY="/Share/BP/zhenglt/01.bin/mills/msgpack-c/mybuild/lib/libmsgpackc.so" \
-D MSGPACK_INCLUDE_DIR="/Share/BP/zhenglt/01.bin/mills/msgpack-c/mybuild/include" \
-DCMAKE_INSTALL_PREFIX="/Share/BP/zhenglt/01.bin/vi/neovim/mybuild" \
-D UNIBILIUM_LIBRARY="/Share/BP/zhenglt/01.bin/mills/unibilium/mybuild/lib/libunibilium.so" \
-D UNIBILIUM_INCLUDE_DIR="/Share/BP/zhenglt/01.bin/mills/unibilium/mybuild/include" \
-D LIBTERMKEY_LIBRARY="/Share/BP/zhenglt/01.bin/mills/libtermkey-0.18/mybuild/lib/libtermkey.so" \
-D LIBTERMKEY_INCLUDE_DIR="/Share/BP/zhenglt/01.bin/mills/libtermkey-0.18/mybuild/include" \
-D LIBVTERM_LIBRARY="/Share/BP/zhenglt/01.bin/vi/libvterm/mybuild/lib/libvterm.so" \
-D LIBVTERM_INCLUDE_DIR="/Share/BP/zhenglt/01.bin/vi/libvterm/mybuild/include" \
-D LUA_PRG="/Share/BP/zhenglt/01.bin/mills/lua/lua-5.1.5/mybuild/bin/lua" ../
lua should be version 5.1.5 (lua packages luabitop, mpack have version requirement): install lua-5.1.5 then install luarocks; use luarocks to install lua packages
libvterm should be the version from the same host with neovim(https://github.com/neovim/libvterm); glib2.0 is required for libvterm
LIBXXX_LIBRARY should be the *.so file path, not their directory