Skip to content

Update CPack to also create DMG packages #2597

Open
@AndrewQuijano

Description

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • Other (elaborated below)

Describe the feature you'd like
Update CPackConfig.txt to create DMG files

Additional context
Once #2590 is merged, CPackConfig can create DEB and RPM files, but it can also create DMG files. The general gist how to do this:

1- Update build_release to also have a Mac OSX instance for using cpack -G DragNDrop
2- Update CMakeConfig.cmake to set the name for DMG packages. Not sure what the format is for these files, update CPackConfig
3- Check CPackConfig.txt, fill out stuff under OSX package settings in CPackConfig.txt

https://cmake.org/cmake/help/latest/cpack_gen/dmg.html

# OSX package settings
set(CPACK_BUNDLE_NAME "Capstone")
set(CPACK_BUNDLE_PLIST "xcode/CapstoneFramework/Info.plist")

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions