Fix the Linux commands
This commit is contained in:
parent
fb62962c36
commit
18e31e7e97
|
@ -123,7 +123,7 @@ Linux support is extremely experimental and presently incomplete.
|
|||
The build script uses LLVM/Clang 9. GCC while it should work in theory, is not easily
|
||||
interchangeable right now.
|
||||
|
||||
* Normal building via `xb build` uses Make.
|
||||
* Normal building via `./xb build` uses Make.
|
||||
* [CodeLite](https://codelite.org) is supported. `xb devenv` will generate a workspace and attempt to open it. Your distribution's version may be out of date so check their website.
|
||||
* Experimental CMake generation is available to facilitate use of other IDEs such as [CLion](https://www.jetbrains.com/clion/). If `clion` is available inside `$PATH`, `xb devenv` will start it. Otherwise `build/CMakeLists.txt` needs to be generated by invoking `xb premake --devenv=cmake` manually.
|
||||
|
||||
|
@ -146,59 +146,59 @@ cd xenia
|
|||
```
|
||||
|
||||
```sh
|
||||
xb setup
|
||||
./xb setup
|
||||
```
|
||||
|
||||
- Build on command line (add --config=release for release):
|
||||
```sh
|
||||
xb build
|
||||
./xb build
|
||||
```
|
||||
|
||||
- Pull latest changes, rebase, update submodules, and run premake:
|
||||
```sh
|
||||
xb pull
|
||||
./xb pull
|
||||
```
|
||||
|
||||
- Format code to the style guide:
|
||||
```sh
|
||||
xb format
|
||||
./xb format
|
||||
```
|
||||
|
||||
- Check for lint errors with clang-format:
|
||||
```sh
|
||||
xb lint
|
||||
./xb lint
|
||||
```
|
||||
|
||||
- Run the style checker on all code:
|
||||
```sh
|
||||
xb style
|
||||
./xb style
|
||||
```
|
||||
|
||||
- Remove all build/ output and do a hard git reset:
|
||||
```sh
|
||||
xb nuke
|
||||
./xb nuke
|
||||
```
|
||||
|
||||
- Runs the clang-tidy checker on all code:
|
||||
```sh
|
||||
xb tidy
|
||||
./xb tidy
|
||||
```
|
||||
|
||||
## Testing:
|
||||
|
||||
- Generate tests:
|
||||
```sh
|
||||
xb gentests
|
||||
./xb gentests
|
||||
```
|
||||
|
||||
- Run tests:
|
||||
```sh
|
||||
xb test
|
||||
./xb test
|
||||
```
|
||||
|
||||
- Run GPU tests:
|
||||
```sh
|
||||
xb gputest
|
||||
./xb gputest
|
||||
```
|
||||
|
||||
## Other:
|
||||
|
@ -206,7 +206,7 @@ xb gputest
|
|||
- Generate SPIR-V binaries and header files:
|
||||
|
||||
```sh
|
||||
xb genspirv
|
||||
./xb genspirv
|
||||
```
|
||||
|
||||
## Running
|
||||
|
|
Loading…
Reference in New Issue