Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cmake build support #22

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

ITotalJustice
Copy link

@ITotalJustice ITotalJustice commented May 18, 2022

almost feature parity with the makefile builds, however still have to use makepkg manually to build ext4 and ntfs-3g.
i can use cmake command to do this but havent tried yet.

an example for how to use it:

cmake -B build -DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/Switch.cmake -DUSBHSFS_GPL=ON -DUSBHSFS_EXAMPLE=ON
cmake --build build -j16

this will build the lib with ext4+ntfs and the example.

@ITotalJustice
Copy link
Author

things left to do before merge

  • release / debug builds (usbhsfsd and usbhsfs)
  • document cmake build version in readme

@DarkMatterCore DarkMatterCore added the enhancement New feature or request label Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants