PowerShell script to generate NuGet packages for SFML.
To generate packages you need:
- The CoApp tools: Official website | Download page
- Internet connection
You just have to run the sfml-nuget.ps1 script in a PowerShell instance. It will download each needed files and output nupkg files in the "repository" folder. Also you can customize script if you want.
You can customize packages by changing this params:
$pkg_prefix
to change packages' prefix$pkg_postfix
to change packages' postfix$keep_sources
to keep or delete source files, true by default$keep_autopkg
to keep or delete autopkg files, false by default$use_old_include_workaround
to enable old workaround for include folder in system module (you need to manually delete file "delete.me" from include folder in system module, use in case of bugs with new one; false by default [uses new workaround])$add_docs
to add the SFML's documentation (it would be added and available only in system module), false by default$pkg_hotfix
to set hotfix version of generated packages (full packages version will be $sfml_version[.0].$pkg_hotfix), "" by default [empty quotes, means no hotfix]$sfml_owners
to change packages' owner(s)$sfml_tags
to customize tags$sfml_module_list
to choose modules you need$sfml_version
to choose packages version (min - 2.2)$sfml_platforms
,$sfml_toolchains
,$sfml_configurations
- for advanced users