mirror of
https://github.com/transmission/transmission
synced 2024-12-22 15:54:57 +00:00
docs: improve build instructions (#4980)
This commit is contained in:
parent
56c1bb2a9e
commit
2dd39596d1
1 changed files with 6 additions and 3 deletions
|
@ -35,7 +35,8 @@ For a more detailed description, and dependencies, visit [How to Build Transmiss
|
||||||
$ cd transmission-3.00
|
$ cd transmission-3.00
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred)
|
||||||
|
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
|
||||||
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
@ -53,7 +54,8 @@ If you're new to building programs from source code, this is typically easier th
|
||||||
$ git submodule update --init --recursive
|
$ git submodule update --init --recursive
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred)
|
||||||
|
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
|
||||||
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
@ -65,7 +67,8 @@ If you're new to building programs from source code, this is typically easier th
|
||||||
$ git submodule foreach --recursive git clean -xfd
|
$ git submodule foreach --recursive git clean -xfd
|
||||||
$ git pull --rebase --prune
|
$ git pull --rebase --prune
|
||||||
$ git submodule update --recursive
|
$ git submodule update --recursive
|
||||||
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred)
|
||||||
|
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
|
||||||
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
Loading…
Reference in a new issue