| 1 | = Adding component to the XML file = |
| 2 | |
| 3 | Let us suppose that we have just created a component ```MyComponent``` compiled to the library file called ```MyComponent.dll``` (release, Windows), ```MyComponent_.dll``` (debug, Windows), ```libMyComponent.so``` (release, Linux) or ```libMyComponent_.so``` (debug, Linux). |
| 4 | |
| 5 | Our XML file should look like: |
| 6 | {{{#!xml |
| 7 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 8 | <pacpus> |
| 9 | <components> |
| 10 | <!-- other components --> |
| 11 | |
| 12 | <component name="mycomp" type="MyComponent" /> |
| 13 | </components> |
| 14 | |
| 15 | <connections> |
| 16 | <!-- connections --> |
| 17 | </connections> |
| 18 | |
| 19 | <!-- Windows (debug) --> |
| 20 | <plugins prefix="" postfix="_d" extension="dll"> |
| 21 | <plugin lib="MyComponent" /> |
| 22 | <!-- other plugins (libraries) --> |
| 23 | </plugins> |
| 24 | |
| 25 | <parameters> |
| 26 | </parameters> |
| 27 | </pacpus> |
| 28 | |
| 29 | }}} |