<commit_before>
LINK_DIRECTORIES( ${OPENSYNC_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIRS} ${LIBXML2_LIBRARY_DIRS} ${LIBXSLT_LIBRARY_DIRS} ${LIBGCAL_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIRS} ${LIBXSLT_INCLUDE_DIRS} ${LIBGCAL_INCLUDE_DIRS} )

OPENSYNC_PLUGIN_ADD( gcalendar gcalendar.c )
OPENSYNC_FORMAT_ADD( gdata-format gdata_format.c )

TARGET_LINK_LIBRARIES( gcalendar ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${LIBGCAL_LIBRARIES})

TARGET_LINK_LIBRARIES( gdata-format ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} )

###### INSTALL ###################
OPENSYNC_PLUGIN_INSTALL( gcalendar )
OPENSYNC_FORMAT_INSTALL( gdata-format )

# Install config template
OPENSYNC_PLUGIN_CONFIG( google-data )
OPENSYNC_PLUGIN_CONFIG( gcal2osync.xslt )
OPENSYNC_PLUGIN_CONFIG( gcont2osync.xslt )<commit_msg>Dont install gdata format plugin (I will use the generic xslt converter format plugin when it is done).<commit_after>
LINK_DIRECTORIES( ${OPENSYNC_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIRS} ${LIBXML2_LIBRARY_DIRS} ${LIBXSLT_LIBRARY_DIRS} ${LIBGCAL_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIRS} ${LIBXSLT_INCLUDE_DIRS} ${LIBGCAL_INCLUDE_DIRS} )

OPENSYNC_PLUGIN_ADD( gcalendar gcalendar.c )
OPENSYNC_FORMAT_ADD( gdata-format gdata_format.c )

TARGET_LINK_LIBRARIES( gcalendar ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} ${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} ${LIBGCAL_LIBRARIES})

TARGET_LINK_LIBRARIES( gdata-format ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} )

###### INSTALL ###################
OPENSYNC_PLUGIN_INSTALL( gcalendar )
#Dont install it, see https://svn.opensync.org/format-plugins/xsltformat
#OPENSYNC_FORMAT_INSTALL( gdata-format )

# Install config template
OPENSYNC_PLUGIN_CONFIG( google-data )
OPENSYNC_PLUGIN_CONFIG( gcal2osync.xslt )
OPENSYNC_PLUGIN_CONFIG( gcont2osync.xslt )
{'fraction_non_alphanumeric': 0.12074303405572756, 'fraction_numerical': 0.009287925696594427, 'mean_word_length': 10.47337278106509, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3469013', 'n_tokens_mistral': 808, 'n_tokens_neox': 767, 'n_words': 110}