Changes between Version 1 and Version 2 of TutorialAddingComponentToXML
- Timestamp:
- Nov 21, 2013, 11:32:16 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TutorialAddingComponentToXML
v1 v2 17 17 </connections> 18 18 19 <!-- Windows ( debug) -->20 <plugins prefix="" postfix=" _d" extension="dll">19 <!-- Windows (release) --> 20 <plugins prefix="" postfix="" extension="dll"> 21 21 <plugin lib="MyComponent" /> 22 22 <!-- other plugins (libraries) --> … … 26 26 </parameters> 27 27 </pacpus> 28 }}} 28 29 30 == Plugin prefix, postfix, extension == 31 32 To facilitate changing between various systems and build versions, you can specify ```prefix```, ```postfix``` as well as ```extension``` for the library files in the ```plugins``` node. 33 You will find some examples below. 34 35 Windows release: 36 {{{#!xml 37 <plugins prefix="" postfix="" extension="dll"> 38 <plugin lib="MyComponent" /> 39 <!-- other plugins (libraries) --> 40 </plugins> 29 41 }}} 42 43 Windows debug: 44 {{{#!xml 45 <plugins prefix="" postfix="_d" extension="dll"> 46 <plugin lib="MyComponent" /> 47 <!-- other plugins (libraries) --> 48 </plugins> 49 }}} 50 51 Linux release: 52 {{{#!xml 53 <plugins prefix="lib" postfix="" extension="so"> 54 <plugin lib="MyComponent" /> 55 <!-- other plugins (libraries) --> 56 </plugins> 57 }}} 58 59 Linux debug: 60 {{{#!xml 61 <plugins prefix="lib" postfix="_d" extension="so"> 62 <plugin lib="MyComponent" /> 63 <!-- other plugins (libraries) --> 64 </plugins> 65 }}}