mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-27 01:29:38 +08:00
Add CMake toolchain files
This commit is contained in:
committed by
Ryan C. Gordon
parent
49a8b16ffd
commit
4b17cc3a46
@@ -15,6 +15,7 @@ The CMake build system is supported on the following platforms:
|
||||
* Playstation 2
|
||||
* Playstation Vita
|
||||
* Nintendo 3DS
|
||||
* QNX 7.x/8.x
|
||||
|
||||
## Building SDL
|
||||
|
||||
@@ -179,3 +180,8 @@ To use, set the following CMake variables when running CMake's configuration sta
|
||||
cmake ~/sdl -DCMAKE_SYSTEM_NAME=tvOS -DCMAKE_OSX_SYSROOT=appletvos -DCMAKE_OSX_ARCHITECTURES=arm64`
|
||||
```
|
||||
|
||||
- for QNX/aarch64, using the latest, installed SDK:
|
||||
|
||||
```cmake
|
||||
cmake ~/sdl -DCMAKE_TOOLCHAIN_FILE=~/sdl/build-scripts/cmake-toolchain-qnx-aarch64le.cmake -DSDL_X11=0
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user