| |
| Create a package.json: PACKAGE |
| |
| A package.json is a json file containing important build information needed for the |
| windows build pipeline used by the daemon project. |
| |
| package.json skeleton: |
| { |
| "name": "PLUGINNAME", -> plugin name; |
| "version": "X.Y.Z", -> plugin version, must be of the form X.Y.Z; |
| "extractLibs": false, -> use tensorflow header files inside |
| contrib/libs.tar.gz; |
| "deps": [], -> dependencies that can be build by ring-daemon |
| project. ie: ffmpeg and opencv; |
| "defines": [], -> cmake definitions to configure plugin project; |
| "custom_scripts": { |
| "pre_build": [ |
| "mkdir msvc" -> creates directory to generate and build plugin |
| project; |
| ], |
| "build": [ |
| "cmake --build ./msvc --config Release" -> cmake build command. |
| ], |
| "post_build": [] |
| } |
| } |
| |
| For more technical information, please refer to: |
| https://git.jami.net/savoirfairelinux/ring-project/wikis/technical/7.-Jami-plugins . |