|
@@ -40,6 +40,10 @@ To create a new extension, create a folder in the project root. This folder will
|
|
|
*res*
|
|
|
: This optional folder contains any extra resources that the extension depends on. Resource files should be placed in subfolders named by `platform`, or `architecure-platform` just as the "lib" subfolders. A subfolder `common` is also allowed, containing resource files common for all platforms.
|
|
|
|
|
|
+## Sharing an extension
|
|
|
+
|
|
|
+Extensions are treated just like any other assets in your project and they can be shared in the same way. If a native extension folder is added as a Library folder it can be shared and used by others as a project dependency. Refer to the [Library project manual](/manuals/libraries/) for more information.
|
|
|
+
|
|
|
## A simple example extension
|
|
|
|
|
|
Let's build a very simple extension. First, we create a new root folder *myextension* and add a file *ext.manifest* containing the name of the extension "MyExtension". Note that the name is a C++ symbol and must match the first argument to `DM_DECLARE_EXTENSION` (see below).
|