FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
267 stars 119 forks source link

PlayStation Vita support #359

Closed fgsfdsfgs closed 1 year ago

fgsfdsfgs commented 1 year ago

Adds PSVita support to both waf and cmake scripts. Complementary to FWGS/xash3d-fwgs#1251. Building the libraries for psvita requires the same dependencies as building the engine for it.

Building with waf:

./waf configure -T release --psvita
./waf build

Building with CMake:

mkdir build && cd build
cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="$VITASDK/share/vita.toolchain.cmake" -DCMAKE_PROJECT_HLSDK-PORTABLE_INCLUDE="$VITASDK/share/vrtld_shim.cmake" ..
make -j
nekonomicon commented 1 year ago

@fgsfdsfgs please add build instructions to readme.md.

a1batross commented 1 year ago

@nekonomicon do you really wanna pile up all build instructions in one single readme md file?

nekonomicon commented 1 year ago

@a1batross issue for any suggestions

fgsfdsfgs commented 1 year ago

@fgsfdsfgs please add build instructions to readme.md.

Done.