README: change build command

This commit is contained in:
jaxl 2022-02-18 15:57:24 +08:00
parent c239b8bc52
commit 6c1c1c03ae

View File

@ -140,19 +140,19 @@ repo sync
### Build Driver and Generate JSON Files ### Build Driver and Generate JSON Files
#### Ubuntu #### Ubuntu
``` ```
cmake -G Ninja -S xgl -B xgl/builds/Release64 cmake -G Ninja -S xgl -B builds/Release64
cmake --build xgl/builds/Release64 cmake --build builds/Release64
cmake -G Ninja -S xgl -B xgl/builds/Release32 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 cmake -G Ninja -S xgl -B builds/Release32 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32
cmake --build xgl/builds/Release32 cmake --build builds/Release32
``` ```
#### RedHat #### RedHat
``` ```
cmake -G Ninja -S drivers/xgl -B xgl/builds/Release64 cmake -G Ninja -S xgl -B builds/Release64
cmake --build xgl/builds/Release64 cmake --build builds/Release64
cmake -G Ninja -S drivers/xgl -B xgl/builds/Release32 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 cmake -G Ninja -S xgl -B builds/Release32 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32
cmake --build xgl/builds/Release32 cmake --build builds/Release32
``` ```
> **Note:** > **Note:**