mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
docs: --init added in Building Transmission from Git (updating) section (#5688)
Whenever a new `third-party` submodule is being added, without the `--init` sub-command in `git submodule update --recursive`, the user will get bitten by compilation error due to an uninitialized submodule dependency.
This commit is contained in:
@@ -66,7 +66,7 @@ If you're new to building programs from source code, this is typically easier th
|
|||||||
$ make clean
|
$ make clean
|
||||||
$ 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 --init --recursive
|
||||||
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred)
|
# Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred)
|
||||||
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
|
# Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary.
|
||||||
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
|
||||||
|
|||||||
Reference in New Issue
Block a user