1 Star 0 Fork 6

逆风飞扬 / librime

forked from lotem / librime 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
RIME_ROOT = $(CURDIR)
sharedir = $(DESTDIR)/usr/share
bindir = $(DESTDIR)/usr/bin
.PHONY: all thirdparty clean librime librime-static install-librime uninstall-librime release install uninstall debug install-debug uninstall-debug test
all: release
thirdparty:
make -f Makefile.thirdparty
thirdparty/%:
make -f Makefile.thirdparty $(@:thirdparty/%=%)
clean:
rm -Rf build build-static debug-build
librime: release
install-librime: install
uninstall-librime: uninstall
librime-static:
cmake . -Bbuild-static -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC=ON -DBUILD_SHARED_LIBS=OFF
cmake --build build-static
release:
cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
cmake --build build
debug:
cmake . -Bdebug-build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
cmake --build debug-build
install:
cmake --build build --target install
install-debug:
cmake --build debug-build --target install
uninstall:
cmake --build build --target uninstall
uninstall-debug:
cmake --build debug-build --target uninstall
test: release
(cd build/test; ./rime_test)
test-debug: debug
(cd debug-build/test; ./rime_test)
C++
1
https://gitee.com/ivu99/librime.git
git@gitee.com:ivu99/librime.git
ivu99
librime
librime
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891