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

Darwin (macOS) compatibility #20

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

huddx01
Copy link
Contributor

@huddx01 huddx01 commented Mar 9, 2025

Hi Michael,

I reinitialized my repo based on your last changes.
My intention was to make it easier to build and compile for macOS users, too.
With this changes you can quite easily build oscmix and coremidiio on macs (via make)
And/or create a Xcode project file with the relevant targets. Without loosing linux compatibility.
Works for me on current sonoma and Xcode.

regards, meg33

huddx01 added 4 commits March 9, 2025 20:17
added OS check for compatibility with Darwin (macOS)
- macOS uses coremidiio
- linux uses alsa
The intention is, to simplify the generation of a project file for Xcode users.

to generate Xcode Project:
- install xcodegen (f.ex. via brew install xcodegen) first (!)
- from base repo dir execute in terminal: xcodegen generate --spec .builds/darwin.yml
- this generates an .builds/oscmix.xcodeproj Project file for Xcode 
- the corresponding targets (and schemes) are automatically added
- all relevant c source files should be included in Project Navigator
- to add the rest, just drag'n drop from finder to Project Navigator or use the "Add Files" option in Xcode
added Darwin (macOS) related entries:
/coremidiio
.DS_Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant