LINK_DIRECTORIES(  ${OPENSYNC_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} )

### Simple Synchronization Plugin ########
OPENSYNC_PLUGIN_ADD( example_simple_plugin simple_plugin.c )
TARGET_LINK_LIBRARIES( example_simple_plugin ${OPENSYNC_LIBRARIES} )
OPENSYNC_PLUGIN_INSTALL( example_simple_plugin )

### Advanced Synchronization Plugin ######
OPENSYNC_PLUGIN_ADD( example_plugin plugin.c )
TARGET_LINK_LIBRARIES( example_plugin ${OPENSYNC_LIBRARIES} )
OPENSYNC_PLUGIN_INSTALL( example_plugin )

### External Synchronization Plugin ########
OPENSYNC_PLUGIN_CONFIG( external-demo )
OPENSYNC_EXTERNAL_PLUGIN_INSTALL( external_plugin.xml )

ADD_EXECUTABLE( example_external_demo external_demo.c )
TARGET_LINK_LIBRARIES( example_external_demo ${OPENSYNC_LIBRARIES} )

### Format Plugin ########################
OPENSYNC_FORMAT_ADD( format_plugin format.c )
TARGET_LINK_LIBRARIES( format_plugin ${OPENSYNC_LIBRARIES} )
OPENSYNC_FORMAT_INSTALL( format_plugin )


LINK_DIRECTORIES(  ${OPENSYNC_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} )

### Simple Synchronization Plugin ########
OPENSYNC_PLUGIN_ADD( example_simple_plugin simple_plugin.c )
TARGET_LINK_LIBRARIES( example_simple_plugin ${OPENSYNC_LIBRARIES} )
OPENSYNC_PLUGIN_INSTALL( example_simple_plugin )

### Advanced Synchronization Plugin ######
OPENSYNC_PLUGIN_ADD( example_plugin plugin.c )
TARGET_LINK_LIBRARIES( example_plugin ${OPENSYNC_LIBRARIES} )
OPENSYNC_PLUGIN_INSTALL( example_plugin )

### External Synchronization Plugin ########
OPENSYNC_EXTERNAL_PLUGIN_INSTALL( external_plugin.xml )

ADD_EXECUTABLE( example_external_demo external_demo.c )
TARGET_LINK_LIBRARIES( example_external_demo ${OPENSYNC_LIBRARIES} )

### Format Plugin ########################
OPENSYNC_FORMAT_ADD( format_plugin format.c )
TARGET_LINK_LIBRARIES( format_plugin ${OPENSYNC_LIBRARIES} )
OPENSYNC_FORMAT_INSTALL( format_plugin )


Drop external-demo configuration from the build-env. The default config got dropped in a previous commit. This fixes the build of the example plugins.
Drop external-demo configuration from the build-env. The default config
got dropped in a previous commit. This fixes the build of the example
plugins.


git-svn-id: e31799a7ad59d6ea355ca047c69e0aee8a59fcd3@5913 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e
