1
0
Fork 0
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:
midzer 2023-03-06 19:11:13 +01:00 committed by GitHub
parent 56c1bb2a9e
commit 2dd39596d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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