mirror of
https://github.com/transmission/transmission
synced 2024-12-22 15:54:57 +00:00
Add instruction in README.md to config a release build. (#1282)
* Add instruction in README.md to config a release build. * Use RelWithDebInfo instead of Release in README.md Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
This commit is contained in:
parent
846dafb07e
commit
a44b0f8009
1 changed files with 6 additions and 3 deletions
|
@ -30,7 +30,8 @@ For a more detailed description, and dependencies, visit: https://github.com/tra
|
||||||
$ cd transmission-2.92
|
$ cd transmission-2.92
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ cmake ..
|
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
||||||
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
||||||
|
@ -47,7 +48,8 @@ If you're new to building programs from source code, this is typically easier th
|
||||||
$ git submodule update --init
|
$ git submodule update --init
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ cmake ..
|
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
||||||
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
||||||
|
@ -57,7 +59,8 @@ If you're new to building programs from source code, this is typically easier th
|
||||||
$ make clean
|
$ make clean
|
||||||
$ git pull --rebase --prune
|
$ git pull --rebase --prune
|
||||||
$ git submodule update
|
$ git submodule update
|
||||||
$ cmake ..
|
$ # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimized binary.
|
||||||
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue