fix: readme using cmake
This commit is contained in:
parent
dacaf7828b
commit
faeaf710d0
1 changed files with 22 additions and 7 deletions
29
README.md
29
README.md
|
@ -60,13 +60,9 @@ Convert TNT output tree file without tags and taxname, e.g. `winclada.tre` produ
|
|||
### Linux & Unix
|
||||
|
||||
```
|
||||
g++ tnt2winclada.cpp -o tnt2winclada
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
clang++ -o tnt2winclada tnt2winclada.cpp
|
||||
mkdir -p build && cd build
|
||||
cmake ..
|
||||
make && make install
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
@ -82,3 +78,22 @@ tnt2winclada -i ${input_file} -o ${output_file}
|
|||
```
|
||||
|
||||
Interactive commands are also available.
|
||||
|
||||
```
|
||||
tnt2winclada
|
||||
|
||||
~|~|\ |~|~ ~) | |o._ |~| _ _| _
|
||||
| | \| | /_ \/\/ || ||_|(_|(_|(_|
|
||||
TNT2WinClada
|
||||
MIT, Guoyi Zhang, 2023
|
||||
please type help to see more commands
|
||||
|
||||
tnt2winclada> help
|
||||
help show interactive commands help
|
||||
input <filename> input a TNT output tree from the specified file
|
||||
output <filename> output a winclada accessible tree file
|
||||
quit quit the program
|
||||
exit exit the program
|
||||
|
||||
tnt2winclada>
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue