Building SamplePlugin Bundle and Dylib

This document provides instructions on how to build the SamplePlugin bundle and dylib for the MCPStudio Custom Tool SDK.

Overview

The SamplePlugin is a sample implementation of a custom tool plugin that can be built as either a dynamic library (dylib) or a macOS bundle. The build process uses CMake to manage the build configuration. The bundle and dylib are always built together.

Building the SamplePlugin

Prerequisites

Building Both Bundle and Dylib

To build both the SamplePlugin bundle and dylib, navigate to the SamplePlugin directory and run:

mkdir build
cd build
cmake ..
make

This will generate both the SampleTool dylib and the SampleTool.bundle files.

Files

Dynamic Library

Bundle