-
Notifications
You must be signed in to change notification settings - Fork 52
Development
David Kuo edited this page Apr 16, 2017
·
4 revisions
- CMake >= 3.0.0
- gcc >= 4.8 or Visual Studio Express 2012
- libchewing >= 0.4.0
- Qt = 5
- Editor with EditorConfig support
- lcov for coverage testing
- Ubuntu
-
sudo add-apt-repository ppa:chewing/chewing && sudo apt-get update
(if you don't have chewing ppa yet) sudo apt-get install cmake help2man qt5-default qttools5-dev-tools libchewing3-dev
-
$ git clone https://github.com/chewing/chewing-editor.git
$ cd chewing-editor
$ cmake .
$ make
./run_test
[==========] Running 17 tests from 5 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from TestChewingExporter
[ RUN ] TestChewingExporter.WriteNoUserphrase
[ OK ] TestChewingExporter.WriteNoUserphrase (1 ms)
[ RUN ] TestChewingExporter.WriteOneUserphrase
[ OK ] TestChewingExporter.WriteOneUserphrase (0 ms)
...
[ RUN ] TestChewingImporter.PathError
[ OK ] TestChewingImporter.PathError (0 ms)
[----------] 3 tests from TestChewingImporter (2 ms total)
[----------] Global test environment tear-down
[==========] 17 tests from 5 test cases ran. (8 ms total)
[ PASSED ] 17 tests.