瀏覽代碼

Address feedback

Signed-off-by: allisaurus <[email protected]>
allisaurus 3 年之前
父節點
當前提交
965d7cba95
共有 1 個文件被更改,包括 6 次插入13 次删除
  1. 6 13
      README.md

+ 6 - 13
README.md

@@ -65,8 +65,10 @@ This option will output all the project binaries in the project's build folder e
 # example configure command
 > cmake c:/path/to/o3de -B c:/path/to/o3de-multiplayersample/build -G "Visual Studio 16" -DLY_3RDPARTY_PATH="c:/3rdparty" -DLY_PROJECTS="c:/path/to/o3de-multiplayersample"
 
-# example build command
+# example build commands
 > cmake --build c:/path/to/o3de-multiplayersample/build --target Editor MultiplayerSample.GameLauncher --config profile -- /m /nologo
+
+> cmake --build c:/path/to/o3de-multiplayersample/build --target Editor MultiplayerSample.ServerLauncher --config profile -- /m /nologo
 ```
 
 #### Option #2 - Engine-centric approach to building a project
@@ -77,9 +79,10 @@ This option will output all the project and engine binaries in the engine's buil
 # example configure command
 > cmake c:/path/to/o3de -B c:/path/to/o3de/build -G "Visual Studio 16" -DLY_3RDPARTY_PATH="c:/3rdparty" -DLY_PROJECTS="c:/path/to/o3de-multiplayersample"
 
-# example build command
+# example build commands
 > cmake --build c:/path/to/o3de/build --target Editor MultiplayerSample.GameLauncher --config profile -- /m /nologo
 
+> cmake --build c:/path/to/o3de/build --target Editor MultiplayerSample.ServerLauncher --config profile -- /m /nologo
 ```
 
 ### Step 4. Setup Client and Server
@@ -101,17 +104,7 @@ If these cfg files are not present, create them as they will be used to when lau
 
 #### Running the Server
 
-First, make sure the server target has been built
-
-```shell
-# example command for Project-centric approach
-> cmake --build c:/path/to/o3de-multiplayersample/build --target Editor MultiplayerSample.ServerLauncher --config profile -- /m /nologo
-
-# example command for Engine-centric approach
-> cmake --build c:/path/to/o3de/build --target Editor MultiplayerSample.ServerLauncher --config profile -- /m /nologo
-```
-
-A server can then be run as follows
+A server can be run as follows
 
 ```shell
 MultiplayerSample.ServerLauncher.exe --console-command-file=server.cfg