# those user-defined settings to build the plist.
add_custom_target( mac_overlayplugin ALL
xcodebuild -project ${CMAKE_SOURCE_DIR}/shell_integration/MacOSX/OwnCloudFinderSync/OwnCloudFinderSync.xcodeproj
- -target FinderSyncExt -configuration Release SYMROOT=${CMAKE_CURRENT_BINARY_DIR}
- OC_OEM_SHARE_ICNS=${OC_OEM_SHARE_ICNS}
- OC_APPLICATION_NAME="${APPLICATION_NAME}"
- OC_APPLICATION_REV_DOMAIN=${APPLICATION_REV_DOMAIN}
- OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=${SOCKETAPI_TEAM_IDENTIFIER_PREFIX}
- COMMENT building Mac Overlay icons)
+ -target FinderSyncExt -configuration Release "SYMROOT=${CMAKE_CURRENT_BINARY_DIR}"
+ "OC_OEM_SHARE_ICNS=${OC_OEM_SHARE_ICNS}"
+ "OC_APPLICATION_NAME=${APPLICATION_NAME}"
+ "OC_APPLICATION_REV_DOMAIN=${APPLICATION_REV_DOMAIN}"
+ "OC_SOCKETAPI_TEAM_IDENTIFIER_PREFIX=${SOCKETAPI_TEAM_IDENTIFIER_PREFIX}"
+ COMMENT building Mac Overlay icons
+ VERBATIM)
add_dependencies(mac_overlayplugin ${APPLICATION_EXECUTABLE}) # for the ownCloud.icns to be generated