1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +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:
Han Shen 2021-08-18 14:18:22 -07:00 committed by GitHub
parent 846dafb07e
commit a44b0f8009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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