Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Latest commit

 

History

History
7 lines (4 loc) · 728 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 728 Bytes

What's this for?

This MacBundle.cmake contains CMake instruction to build MacOS GUI .app bundle. It also embeds the icon to the app bundle. It also copies metadata, and all static assets into the bundle at build time.

Extra notes

If you installed SFML as "Frameworks", instead of "dylibs", you will need to embed the SFML frameworks (using Xcode) into the App Bundle, if you want to share your app with others. Use CMake GUI to generate an XCode project. Open project in XCode. Click menu Editor > Add Build Phase > Add Copy Files Build Phase. Click the [+] button at top, and select all SFML frameworks from /Library/Frameworks (audio, video, system etc.). Now you can Build your project.