Skip to content

Commit

Permalink
Merge pull request #83 from pspdev/add-create-license-directory-scrip…
Browse files Browse the repository at this point in the history
…t-unstructions

Add instructions on how to deal with licenses
  • Loading branch information
diamant3 authored Jan 16, 2025
2 parents 6393b7c + f2f87a8 commit 53a1d13
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tips_tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,29 @@ Installing a library can be done with the following command:
psp-pacman -S library
```

## Managing Licenses
{: .fs-6 .fw-700 }

Every project made with the PSPDEV toolchain will import at least some libraries, each with their own license. Everything bundled is free to use, but some libraries will ask you to share their license with your project or in rare cases give users access to your code to respect their licenses. The `psp-create-license-directory` tool can be used to easily collect the licenses that apply to your project, so you can comply with them and ship them with your project.

To create a directory with a copy of the licenses that are always used in project made with the PSPDEV toolchain use the following command:

```
psp-create-license-directory
```

For any library you added, for example `sdl2` or `jsoncpp`, you can add the licenses by adding the library names to the command:

```
psp-create-license-directory sdl2 jsoncpp
```

If you're not sure what the library you used is called exactly, you can use the `-l` option to list the installed libraries:

```
psp-create-license-directory -l
```

## Updating the Toolchain
{: .fs-6 .fw-700 }

Expand Down

0 comments on commit 53a1d13

Please sign in to comment.