mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 10:28:32 +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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user