diff options
| author | Stefano Borzì <stefanoborzi32@gmail.com> | 2019-03-03 15:51:37 +0100 |
|---|---|---|
| committer | Francesco Borzì <borzifrancesco@gmail.com> | 2019-03-03 15:51:37 +0100 |
| commit | bddf733cdb13a7d2e905bb6a04905cb6a9cd23a2 (patch) | |
| tree | 4294c79a31dcbfd753283f3dfa8fbc7b4e9eaba4 /docs | |
| parent | 2dfe8decd75c1b3328b036d283d30ca62f771da9 (diff) | |
| download | wiki-bddf733cdb13a7d2e905bb6a04905cb6a9cd23a2.tar.gz wiki-bddf733cdb13a7d2e905bb6a04905cb6a9cd23a2.tar.bz2 wiki-bddf733cdb13a7d2e905bb6a04905cb6a9cd23a2.zip | |
Update installation.md, changed cmake PATH adding $HOME variable (#19)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Installation.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/Installation.md b/docs/Installation.md index fe22900..d682bcc 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -38,7 +38,7 @@ mkdir build cd build ``` -Before running the CMake command, replace `/home/youruser/azeroth-server/` with the path of the server installation (where you want to place the compiled binaries). +Before running the CMake command, replace `$HOME/azeroth-server/` with the path of the server installation (where you want to place the compiled binaries). **CMAKE OPTIONS** @@ -50,7 +50,7 @@ Check the options here if you know what you're doing: [CMake options](CMake-opti At this point, you must be in your "build/" directory. ``` -cmake ../ -DCMAKE_INSTALL_PREFIX=/home/youruser/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1 +cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1 ``` Then, replacing `4` with the number of threads that you want to execute, type: @@ -63,7 +63,7 @@ make install **CMake on Mac OS X:** ``` -cmake ../ -DCMAKE_INSTALL_PREFIX=/home/youruser/azeroth-server/ -DTOOLS=0 -DSCRIPTS=1 -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient_r.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.dylib +cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DTOOLS=0 -DSCRIPTS=1 -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient_r.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.dylib ``` Then, replacing `4` with the number of threads that you want to execute, type: |
