Jamoma API 0.6.0.a19
Jamoma use make to build libraries, extentions and implementations. As such, Xcode is not really needed in development of Jamoma for the OSX platform. Still, Xcode is a nice IDE. In order to set up an Xcode project for a new librarty or extention, follow these steps. The first part is to make sure that we have a working project that compiles using make.
build.rbscript from Terminal.app. This creates or updates the make file accordingly.
Now the accompanying Xcode project can be set up:
Core/DSP/Extentions/EffectsLib/EffectsLib/EffectsLib.xcodeproj. Move the Xcode project one folder up, and trash the folder that was created in the previous step (
Xcode 5 added support for dynamical access to Doxygen documentation. The main features are outlined in the following StackOverflow post:
When building projects within Jamoma Core, unit tests are run as part of the build process. If the test fails, the project will report that it has failed to build, as outlined in the chapter on Unit Testing.
However, if the test crashes, the building and testing is not of much help. Instead we need to add a separate debug scheme in Xcode:
This should allow you to run the test, apply breakpoints and use the other debugging features in Xcode. For now, we should make sure that this setup is not committed to the repository, because it would defeat the purpose of integrating the build and test. We want these to remain linked so that we discover bugs as soon as possible.