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.
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 aroundtinyxml2
build errors and full support for CPack, allowing NSIS/DEB/RPM packages with the toolchain included to be built.