Silverlan / pr_module_template

This is a template repository for binary modules for the Pragma Game Engine. Click the URL below for more information.

Home Page:https://wiki.pragma-engine.com/books/pragma-engine/page/binary-modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pragma Module Template

This is a template repository for modules for the Pragma Game Engine. If you want to create your own custom binary module, you can click on the Use this template button above to do so. For more detailed instructions, check out the wiki.

Once the repository has been generated, enable the "Read and Write" workflow permissions in the settings of the repository. Then, edit the values in template_pragma_module.json:

  • name: The name of the module as it will appear in the readme
  • module_name: The internal name of the module (i.e. the name of the CMake target and the binaries). This name should always start with the prefix pr_ and always be lowercase.
  • install_directory: The directory where the module should be installed to, relative to the Pragma installation. This should be somewhere in modules/ or addons/<addonName>/modules/.
  • release_directory (optional): The directory that should be used for GitHub releases. If left empty, only the binary module itself will be added to the release. If your binary resides within an addon, specify the addon path here (addons/<addonName>/).

Once you have pushed the changes to this file, a GitHub workflow will be triggered, which will generate the final files (this may take a few minutes). This will also replace this readme with additional information and instructions.

About

This is a template repository for binary modules for the Pragma Game Engine. Click the URL below for more information.

https://wiki.pragma-engine.com/books/pragma-engine/page/binary-modules

License:MIT License


Languages

Language:Python 84.2%Language:C++ 15.8%