Back to Skills

build-cmake

Build an iPlug2 plugin project using CMake with Ninja, Xcode, or Visual Studio generators

2,228stars320forksUpdated 1/23/2026

Security Assessment

Safe(100/100)
Security Score100/100

About build-cmake

The 'build-cmake' skill is designed to facilitate building iPlug2 plugin projects using CMake with various platform-specific generators. This skill addresses the need for a streamlined, efficient build process by providing an easy-to-follow set of instructions and commands for different build environments, including Ninja, Xcode, and Visual Studio. It allows developers to quickly compile and build plugins with minimal setup, offering flexibility for different target platforms and configurations.

Key features of this skill include support for multiple generators such as Ninja (recommended), Xcode, and Visual Studio, with options for Debug and Release configurations. It also allows the building of specific plugin targets like VST3, CLAP, AAX, and others. Additionally, the skill offers platform-specific customization for macOS, Windows, iOS, and Web environments. These features make the build process more efficient, especially for developers targeting various plugin formats or platforms like iOS, visionOS, and Emscripten. The skill also provides guidance on using specific flags for debugging and selecting the appropriate graphics backend.

This skill is ideal for iPlug2 plugin developers who require a flexible, platform-aware build system. It caters to both beginner and advanced users, offering a quick-start guide for newcomers and detailed options for more experienced developers. Whether you are developing a plugin for a specific platform, experimenting with different build configurations, or focusing on iterative development, this skill ensures you can build efficiently and effectively.

FAQ

What are the system requirements for using this skill?

You will need CMake 3.14 or higher, Ninja (recommended), or Xcode/Visual Studio depending on your platform. You will also need the appropriate plugin SDKs downloaded via '/setup-deps'.

What are the different build generators available?

This skill supports Ninja, Xcode, and Visual Studio generators. Ninja is recommended for speed, Xcode is suitable for macOS and iOS, and Visual Studio is used for Windows builds.

Can I build for iOS and other mobile platforms?

Yes, this skill supports building for iOS devices, simulators, and visionOS using the Xcode generator with appropriate flags to target each platform.

What output formats are supported by this skill?

The skill can build several output formats, including standalone apps, VST3, CLAP, AAX, and AUv2 plugins.

What is the recommended generator for iterative development?

Ninja is the recommended generator for iterative development due to its speed, making it ideal for quick testing and debugging.

Install build-cmake

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

iPlug2/iPlug2