Skip to content

Conversation

@andrewrynhard
Copy link

No description provided.

@andrewrynhard
Copy link
Author

This is a WIP but I put it up as I could use some help working through it. Also, before I go any further is there interest in AAX support?

if((NOT CLAP_WRAPPER_OUTPUT_NAME ) OR (CLAP_WRAPPER_OUTPUT_NAME STREQUAL ""))
set(CLAP_WRAPPER_OUTPUT_NAME "clapasvst3")
message(WARNING "clap-wrapper: CLAP_WRAPPER_OUTPUT_NAME not set - continuing with a default name `clapasvst3`")
set(CLAP_WRAPPER_OUTPUT_NAME "clap")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More generic

endif()

if (NOT ${CMAKE_GENERATOR} STREQUAL "Xcode")
message(STATUS "clap-wrapper: will copy ${MBF_TARGET} bundle flag after build")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AAX docs:

This file must include the concatenation of the plug-in's CFBundlePackageType (TDMw or BNDL) and CFBundleSignature (PTul)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Well probably the right approach is to add an argument for "PKGINFO_FILE" to the oneargs above, default it to macBundlePkgInfo, and then have the wrap_as_aax set it when it calls this function rather than putting AAX logic all the way down here.

For instance, if you are building an AAX and a CLAP this will use the AAX for both. So I think this logic needs to be moved to above this.

@baconpaul
Copy link
Collaborator

Ahhh! @defiantnerd has AAX working on a branch also. there is definitely interest.

@defiantnerd how does this compare with your effort?

@baconpaul
Copy link
Collaborator

Also @andrewrynhard do you use discord? We should invite you to clap dev discord if so (if you aren't there)

@defiantnerd
Copy link
Collaborator

Thanks Andrew. I am already on implementing AAX, but maybe we can share efforts.

I can put my work on github, too.

@SamWindell
Copy link
Contributor

Definitely interest in AAX, thank you!

@defiantnerd
Copy link
Collaborator

I will incorporate Andrews changes into my branch and update the branch then. I'll try to get some time for it on the weekend.

@baconpaul
Copy link
Collaborator

Great.

And @defiantnerd maybe lets just merge it into next with a cmake thing that errors out if you use it unless you set CLAP_WRAPPER_AAX_DEV or some such (that way people dont use it without seeing the error message first but we can collaborate on the code and don't have branch lags).

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.

4 participants