Lameguy64 / PSn00bSDK

The most powerful open source SDK for the PS1 (as far as open source PS1 SDKs go). Not recommended for beginner use.
Other
819 stars 66 forks source link

CMake fixes, Windows build instructions #41

Closed spicyjpeg closed 2 years ago

spicyjpeg commented 2 years ago

This PR fixes several bugs in the CMake scripts which currently prevent the SDK from building successfully. The commits are messy as it took me multiple attempts to get everything to work, but at least it's working now.

I have also updated some readme files and rewritten toolchain.txt completely, adding instructions for cross-compiling the GCC toolchain for Windows (from a Linux host). Other changes include a few build options (SKIP_MKPSXISO, SKIP_TINYXML2, BUNDLE_TOOLCHAIN) to work around tinyxml2 build errors and full support for CPack, allowing NSIS/DEB/RPM packages with the toolchain included to be built.