# Edit, compile and debug my JUCE project in Cursor on macOS?

**URL:** <https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578>\
**Category:** General JUCE discussion\
**Created:** [November 14, 2025, 12:44pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578 "2025-11-14T12:44:44Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [November 14, 2025, 12:44pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/1 "2025-11-14T12:44:44Z")

</div>

Hello,

I’m currently developing a VST/AU plugin with JUCE on macOS Tahoe and Xcode. I recently tested Cursor and I must say I’m pleasantly surprised by the quality of this AI-oriented editor.

I found Cursor much more convenient than GitHub Copilot for Xcode. The Agent mode easily takes control of my source files for editing without constantly asking for permissions, unlike GitHub Copilot for Xcode. When Cursor modifies my source files at my request, Xcode automatically updates them, allowing me to compile and test immediately. Great !

However, when I encounter compilation errors in Xcode, I can’t easily “show” them to Cursor. I have to describe them, which slows down my workflow…

I was wondering if it’s possible to develop my JUCE project without Xcode, and use only Cursor for editing my source code, compiling, and debugging. If that’s the case, I suppose I wouldn’t be able to use Projucer to prepare the project anymore, since Cursor doesn’t seem to be supported by the listed IDEs.

I don’t know anything about CMake, but would it be possible to use it to create a ready-to-use project in Cursor ?

Has anyone tried this before ?

All the best from France.

Guillaume

---

<div class="post-metadata">

**Author:** ![otristan](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@otristan](https://forum.juce.com/u/otristan)\
**Post date:** [November 14, 2025, 12:49pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/2 "2025-11-14T12:49:32Z")

</div>

Use CMake. An AI could probably set your project very easily.

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [November 14, 2025, 12:56pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/3 "2025-11-14T12:56:14Z")

</div>

So you’re confirming that this is possible to do using CMake? Sorry if my question is a bit naive, but I really don’t know anything about CMake, I’m an amateur developer.

I’ll ask Copilot how to do it, but if you have any pointers or can suggest a step-by-step procedure, I’d be very grateful! 🙂 Thanks

---

<div class="post-metadata">

**Author:** ![otristan](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@otristan](https://forum.juce.com/u/otristan)\
**Post date:** [November 14, 2025, 1:09pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/4 "2025-11-14T13:09:38Z")

</div>

I don’t use Cursor, but cmake allows to easily regenerate project from command line so there is no reason for it to not work

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [November 14, 2025, 1:21pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/5 "2025-11-14T13:21:16Z")

</div>

I’m currently testing it with the help of Copilot. I was able to get a step-by-step procedure, and it seems doable for my skill level. Thanks again! 🙂

---

<div class="post-metadata">

**Author:** ![ibisum](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ibisum/32/21288_2.png) [@ibisum](https://forum.juce.com/u/ibisum)\
**Post date:** [November 14, 2025, 5:42pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/6 "2025-11-14T17:42:50Z")

</div>

It is very productive to use AI to generate CMake projects for JUCE these days, in my opinion. I’ve done it as the first setup step for a few projects now, and you can produce a CMake environment which really exploits everything that JUCE and CMake have to offer for cross-platform, multi-architecture, combined app/plugin type projects .. its sort of astonishing, once you get it set up so you can just push code, and on the other side comes a .pkg/.exe that installs all the things .. my advice though, is don’t use hosted build services, but do set up your own build VM’s and other build infrastructure to do builds locally, because once you start doing regular builds, the hosted build services will cost you ..

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [November 15, 2025, 4:11pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/7 "2025-11-15T16:11:58Z")

</div>

Hi ibisum,

I don’t have your experience, but I’m inclined to believe you!

By asking the right questions yesterday to Copilot, I managed to use CMake (which I only knew by name) and a few additional tools to fully manage my JUCE projects in Cursor.

It’s really great! Now I can do everything from Cursor: edit my source code, compile for my different targets (AU, VTS, Standalone), and debug my projects, all while taking full advantage of the AI ​​and Agent mode for writing/editing source code, fixing compilation errors, etc.

I subscribed to Cursor Pro for a month to do some testing. I’m also testing the new GPT-5 Codex model. From what I’ve read online, this new coding-oriented model is a real plus for producing high-quality code and for advanced reasoning; we’ll see.

The icing on the cake: I just discovered that Cursor also handles all aspects of Git and GitHub, so I can finally get rid of GitHub Desktop too!

Finally, and still with Copilot’s help, I also created a guide for setting up a JUCE 8 development environment with CMake and Cursor on macOS, as well as a Python script for quickly generating a new, ready-to-use JUCE project in Cursor. If anyone is interested, I could take some time to translate the guide and provide the Python script.

My next step will be to try setting up an MPC server to feed the AI ​​with the online JUCE documentation. Indeed, during my tests over the past few weeks with Copilot, I’ve repeatedly encountered generated code sometimes based on concepts that are deprecated in the JUCE libraries. I’m going to try this experiment to see if the AI ​​and Cursor’s Agent mode can keep their JUCE knowledge up-to-date with this MPC server. Here’s my starting point:

> **[JUCE Docs MCP server for AI agents](https://playbooks.com/mcp/josmithiii-juce-docs)**
>
> Parses JUCE Framework HTML documentation from Stanford CCRMA's website, converting class details into markdown-formatted resources for developers to easily search and retrieve C++ class information.

---

<div class="post-metadata">

**Author:** ![baramgb](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/baramgb/32/12822_2.png) [@baramgb](https://forum.juce.com/u/baramgb)\
**Post date:** [November 15, 2025, 4:31pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/8 "2025-11-15T16:31:54Z")

</div>

If the juce codebase is located in your projects root, there is no need for that MCP because your ai agent is able to read the code. I’ve never fighted with deprecated juce code.

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [November 15, 2025, 5:41pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/9 "2025-11-15T17:41:04Z")

</div>

How can I tell the AI ​​agent that my JUCE codebase is located in the ~/Applications/JUCE folder on my Mac?

---

<div class="post-metadata">

**Author:** ![baramgb](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/baramgb/32/12822_2.png) [@baramgb](https://forum.juce.com/u/baramgb)\
**Post date:** [November 16, 2025, 11:10am UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/10 "2025-11-16T11:10:50Z")

</div>

I always have clonend juce into my projects folder by git submodule. In my CMakeLists.txt

‘addSubfolder(yourJucefolder)‘

I doubt an Agent can read files that are not in your projects folder.

---

<div class="post-metadata">

**Author:** ![AdamVenn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamvenn/32/17023_2.png) [@AdamVenn](https://forum.juce.com/u/AdamVenn)\
**Post date:** [November 16, 2025, 1:34pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/11 "2025-11-16T13:34:38Z")

</div>

You might try putting a symlink to the JUCE folder in the folder where the agent is looking. That’s normally pretty transparent on Mac.

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [November 16, 2025, 9:40pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/12 "2025-11-16T21:40:02Z")

</div>

Thanks for your feedback. Personally, I’d prefer to have only one instance of the basic JUCE folder on my Mac and have all my projects, including the Cursor Agent, reference it. I’ll look into it further.

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [November 16, 2025, 9:40pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/13 "2025-11-16T21:40:40Z")

</div>

I’ll try it, thanks for the tip!

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [March 19, 2026, 11:49pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/14 "2026-03-19T23:49:55Z")

</div>

Hi there !

For those who are interested, here is a link to my JUCE project generator (now quite advanced), compatible with Cursor / VS Code for macOS, Windows and Linux :

> **[GitHub - tensquaresoftware/Juce-Project-Generator: A portable Python-based JUCE 8 project generator...](https://github.com/tensquaresoftware/Juce-Project-Generator)**
>
> A portable Python-based JUCE 8 project generator featuring a 'Build-Ready' CMake architecture. Optimized for Cursor / VS Code & AI workflows, it automates cross-platform path handling, artifact management (VST3/AU/Standalone), and environment-based configuration for macOS, Windows, and Linux.

All the best from France.

Guillaume

---

<div class="post-metadata">

**Author:** ![TenSquareSoftware](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tensquaresoftware/32/21479_2.png) [@TenSquareSoftware](https://forum.juce.com/u/TenSquareSoftware)\
**Post date:** [July 10, 2026, 1:13pm UTC](https://forum.juce.com/t/edit-compile-and-debug-my-juce-project-in-cursor-on-macos/67578/15 "2026-07-10T13:13:58Z")

</div>

Hi everyone,

Quick follow-up on my **post above** about the Juce-Project-Generator.

That early tool has since been **retired** from my GitHub. I’ve spent the past months turning the idea into something more solid: **[Luthier](https://marketplace.juce.com/products/luthier)** — now at **v1.0.0** and listed on the **[JUCE Marketplace](https://marketplace.juce.com/products/luthier)**.

Same original goal: a **CMake-native JUCE starter project** you can open in **Cursor** , VS Code, or your agent of choice — without a `.jucer` file. Projucer-inspired workflow (form → validate → generate once), then you continue in your IDE. AU / VST3 / Standalone, multi-platform presets, optional `.vscode/` / `.cursorrules` helpers, and a write-only `.luthier.json` sidecar for reference or AI context.

**[Download](https://github.com/tensquaresoftware/luthier/releases)** — standalone apps for macOS, Windows, and Linux (MIT).

I built it primarily for my own plugin work (the Matrix-1000 editor mentioned in the opening post), but I’m sharing it in case anyone on a similar AI-assisted JUCE path finds it useful. Feedback welcome on **[GitHub Issues](https://github.com/tensquaresoftware/luthier/issues)**.

All the best from France,

Guillaume
