build-cmake

Configure and build iPlug2 plugin projects with CMake generators.

2.4k|358|Updated Apr 11, 2018
One-click install
npx skills add https://github.com/iPlug2/iPlug2 --skill build-cmake
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-cmake
Source: https://github.com/iPlug2/iPlug2/tree/main/.claude/skills/build-cmake
Command: npx skills add https://github.com/iPlug2/iPlug2 --skill build-cmake

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers to configure and build an iPlug2 plugin project using CMake, ensuring consistent cross-platform build setups.

Core Features & Use Cases

  • Cross-platform builds: Generate project files for Ninja, Xcode, or Visual Studio.
  • Configurable build targets: Build all targets or specific plugin variants (VST3, CLAP, etc.)
  • Environment setup guidance: Provides required prerequisites and common options to streamline the build process.

Quick Start

Follow these steps to configure and build your iPlug2 plugin project:

  • Create a build directory, configure with the chosen generator, and build the project. cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. cmake --build .

Frequently Asked Questions about build-cmake

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an iPlug2 plugin project using CMake?

To build an iPlug2 plugin project with CMake, create a build directory, run the configuration command with your chosen generator like Ninja, and execute the build command to compile the plugin targets.

What CMake generators are supported for cross-platform iPlug2 builds?

CMake supports Ninja, Xcode, and Visual Studio generators for iPlug2 cross-platform builds, allowing you to generate project files and compile VST3, CLAP, AU, or WebAssembly variants across macOS, Windows, and iOS.

Do I need a specific CMake version to configure iPlug2 plugin builds?

Yes, configuring iPlug2 plugin builds requires CMake version 3.14 or higher. You also need a selected generator like Ninja or Xcode and plugin SDKs installed via the setup-deps process before building.

How can I build only specific plugin variants like VST3 or CLAP using CMake?

You can build specific iPlug2 plugin variants like VST3 or CLAP by defining them as configurable build targets during the CMake configuration step, allowing you to compile only the desired formats instead of all targets.

What is the best way to set up repeatable iPlug2 builds across macOS and Windows?

The best way to set up repeatable iPlug2 builds across macOS and Windows is using CMake with a consistent generator like Ninja, ensuring environment prerequisites and plugin SDKs are configured identically on both platforms.