Changeset 2712
- Timestamp:
- 11/02/07 17:24:34 (1 year ago)
- Files:
-
- format-plugins/vformat/CMakeLists.txt (modified) (3 diffs)
- format-plugins/vformat/src/CMakeLists.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
format-plugins/vformat/CMakeLists.txt
r2667 r2712 1 PROJECT( vformat-pluginC )1 PROJECT( libopensync-plugin-vformat C ) 2 2 3 SET( V FORMATPLUGIN_VERSION "0.33" )3 SET( VERSION "0.33" ) 4 4 5 5 SET( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules" ) … … 9 9 FIND_PACKAGE( Check ) 10 10 11 INCLUDE( OpenSyncDefaults )12 11 INCLUDE( OpenSyncInternal ) 13 14 SET( CMAKE_BUILD_TYPE RelWithDebInfo ) 12 INCLUDE( OpenSyncPlatforms ) 15 13 16 14 ADD_SUBDIRECTORY( src ) … … 23 21 ENDIF ( CHECK_FOUND ) 24 22 25 ## Packaging 23 OPENSYNC_PACKAGE( ${PROJECT_NAME} ${VERSION} ) 26 24 27 SET( CPACK_GENERATOR "TGZ;TBZ2" ) # This line is need for a CMake (Version 2.4.7) Bug - Fixed in CVS28 SET( CPACK_SOURCE_GENERATOR "TGZ;TBZ2")29 SET( CPACK_SOURCE_PACKAGE_FILE_NAME "libopensync-plugin-vformat-${VFORMATPLUGIN_VERSION}" )30 INCLUDE( CPack )31 format-plugins/vformat/src/CMakeLists.txt
r2684 r2712 1 1 INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS} ) 2 2 3 ADD_LIBRARY( vcard SHARED vcard.c )4 ADD_LIBRARY( vevent SHARED vevent.c )5 ADD_LIBRARY( vnote SHARED vnote.c )6 ADD_LIBRARY( vtodo SHARED vtodo.c )7 8 3 ADD_LIBRARY( vformat SHARED vformat.c ) 9 10 4 ADD_LIBRARY( xmlformat-common SHARED xmlformat-common.c ) 11 5 ADD_LIBRARY( xmlformat-vcalendar SHARED xmlformat-vcalendar.c ) 12 6 13 ADD_LIBRARY( xmlformat-vcard SHARED xmlformat-vcard.c ) 14 ADD_LIBRARY( xmlformat-vevent SHARED xmlformat-vevent.c ) 15 ADD_LIBRARY( xmlformat-vnote SHARED xmlformat-vnote.c ) 16 #ADD_LIBRARY( xmlformat-vtodo SHARED xmlformat-vtodo.c ) 7 8 OPENSYNC_FORMAT_ADD( vcard vcard.c ) 9 OPENSYNC_FORMAT_ADD( vevent vevent.c ) 10 OPENSYNC_FORMAT_ADD( vnote vnote.c ) 11 OPENSYNC_FORMAT_ADD( vtodo vtodo.c ) 12 13 14 OPENSYNC_FORMAT_ADD( xmlformat-vcard xmlformat-vcard.c ) 15 OPENSYNC_FORMAT_ADD( xmlformat-vevent xmlformat-vevent.c ) 16 OPENSYNC_FORMAT_ADD( xmlformat-vnote xmlformat-vnote.c ) 17 #OPENSYNC_FORMAT_ADD( xmlformat-vtodo xmlformat-vtodo.c ) 17 18 18 19 TARGET_LINK_LIBRARIES( vcard ${OPENSYNC_LIBRARY} ${GLIB2_LIBRARIES} ) … … 32 33 33 34 ###### INSTALL ################### 34 INSTALL( TARGETS 35 vcard 36 vevent 37 vnote 38 vtodo 39 vformat 40 xmlformat-common 41 xmlformat-vcalendar 42 xmlformat-vcard 43 xmlformat-vevent 44 xmlformat-vnote 45 #xmlformat-vtodo 46 DESTINATION ${OPENSYNC_FORMATSDIR} ) 35 OPENSYNC_FORMAT_INSTALL( vcard ) 36 OPENSYNC_FORMAT_INSTALL( vevent ) 37 OPENSYNC_FORMAT_INSTALL( vnote ) 38 OPENSYNC_FORMAT_INSTALL( vtodo ) 39 OPENSYNC_FORMAT_INSTALL( xmlformat-vcard ) 40 OPENSYNC_FORMAT_INSTALL( xmlformat-vevent ) 41 OPENSYNC_FORMAT_INSTALL( xmlformat-vnote ) 42 #OPENSYNC_FORMAT_INSTALL( xmlformat-vtodo ) 47 43 44 INSTALL( TARGETS xmlformat-common xmlformat-vcalendar vformat DESTINATION ${OPENSYNC_FORMATSDIR} ) 45
