Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CPack to also create DMG packages #2597

Open
1 of 5 tasks
AndrewQuijano opened this issue Jan 7, 2025 · 0 comments
Open
1 of 5 tasks

Update CPack to also create DMG packages #2597

AndrewQuijano opened this issue Jan 7, 2025 · 0 comments
Labels
build & packaging Build system and packaging related enhancement MacOS

Comments

@AndrewQuijano
Copy link
Contributor

AndrewQuijano commented Jan 7, 2025

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")
@Rot127 Rot127 added enhancement build & packaging Build system and packaging related MacOS labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build & packaging Build system and packaging related enhancement MacOS
Projects
None yet
Development

No branches or pull requests

2 participants