Skip to content

Makefiles for example_apple_opengl2 and example_apple_metal #8637

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

Closed
wants to merge 2 commits into from

Conversation

pthom
Copy link
Contributor

@pthom pthom commented May 14, 2025

  • These makefile work only for macOS: use XCode for iOS

  • They will produce a raw exe. They will not a produce an macOS application bundle (i.e a folder that includes exe and resources). To get app bundles, use the XCode project.

  • For example_apple_metal.mm, an adjustment was required in main.mm (for macOS only), to ensure that the exe can run without any plist or storyboard under macOS

Note: example_sdl2_opengl3 and example_glfw_opengl3 already provide a Makefile, which will work on macOS (if glfw and sdl2 are installed via homebrew)

pthom added 2 commits May 14, 2025 17:27
Notes:
- This makefile works only for macOS: use XCode for iOS
- It will produce a raw exe. It will not a produce an macOS application bundle (i.e a folder that includes exe and resources). To get app bundles, use the XCode project.
- An adjustment was required in main.mm (for macOS only), to ensure that the exe can run without any plist or storyboard under macOS
ocornut pushed a commit that referenced this pull request May 14, 2025
…opengl2. (#8637)

- Works only for macOS: use XCode for iOS
- It will produce a raw exe. It will not a produce an macOS application bundle (i.e a folder that includes exe and resources). To get app bundles, use the XCode project.
- An adjustment was required in main.mm (for macOS only), to ensure that the exe can run without any plist or storyboard under macOS
ocornut added a commit that referenced this pull request May 14, 2025
…ings. (#8637)

# Conflicts:
#	backends/imgui_impl_metal.mm
@ocornut
Copy link
Owner

ocornut commented May 14, 2025

Thank you Pascal! This is merged as 2df9e9b + amends b5a7303 to homogenize makefile, amends gitignore and other misc things.

@ocornut ocornut closed this May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants