wiki:TutorialAddingComponentToXML

Version 1 (modified by Marek Kurdej, 11 years ago) ( diff )

Created

Adding component to the XML file

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).

Our XML file should look like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<pacpus>
    <components>
        <!-- other components -->

        <component name="mycomp" type="MyComponent" />
    </components>
        
    <connections>
        <!-- connections -->
    </connections>
    
    <!-- Windows (debug) -->
    <plugins prefix="" postfix="_d" extension="dll">
        <plugin lib="MyComponent" />
        <!-- other plugins (libraries) -->
    </plugins>
    
    <parameters>
    </parameters>
</pacpus>

Note: See TracWiki for help on using the wiki.