PS4 cmake toolchain #34
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
a quick cmake toolchain file i through together to give users a bit of freedom in controlling their project structure.
cmake can also be read by few IDE, such as Qt, Xcode and Visual Studio as such you'd have access to those IDE directly.
to use
do note though, my sdk is laid out slightly differently in that I have a
./usr
directory with soft link tolib
andinclude
and have clang built and installed to./usr/bin
so i haven't tested this with default clang
edit:
I've made several changes that should allow you to build external cmake projects such as
freetype2
library as a target of your project.Edit2:
I'm currently maintaining a version of the toolchain on gist https://gist.github.com/Thunder07/fc4688245e4ea9407f42c110ee96070c and will update this PR periodically, but I'm interested if you think this should be included alongside the SDK.