# Compiling on MacOS via the command-line / cmake

**URL:** https://iplug2.discourse.group/t/compiling-on-macos-via-the-command-line-cmake/671
**Category:** macOS
**Created:** [12 July 2022 09:33 UTC](https://iplug2.discourse.group/t/compiling-on-macos-via-the-command-line-cmake/671 "2022-07-12T09:33:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tremblap](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/tremblap/32/129_2.png) [@tremblap](https://iplug2.discourse.group/u/tremblap)
#### Post date: [12 July 2022 09:33 UTC](https://iplug2.discourse.group/t/compiling-on-macos-via-the-command-line-cmake/671/1 "2022-07-12T09:33:49Z")

</div>

Hello!

So I have an ‘old’ project I’d like to compile on MacOS but because I’m on Catalina I only have the x-code command-line tools. I search this forum and cannot find a simple answer to using (c)make to compile a project on MacOS.

Has anyone done it successfully? I reckon so since it is now on GitHub CI but I hope there is a simpler way to get my simple plug to be simply compiled 🙂

Any pointers welcome

p

---

<div class="post-metadata">

### Author: ![tremblap](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/tremblap/32/129_2.png) [@tremblap](https://iplug2.discourse.group/u/tremblap)
#### Post date: [12 July 2022 09:36 UTC](https://iplug2.discourse.group/t/compiling-on-macos-via-the-command-line-cmake/671/2 "2022-07-12T09:36:46Z")

</div>

oh and yes I saw that 2 year old thread that finishes with the sentence that the learning curve is steep… I’m a little afraid…

> [@Creating an iPlug2 CMake module](https://iplug2.discourse.group/t/creating-an-iplug2-cmake-module/117/18):
>
> The learning curve is pretty steep at first, but I’m really liking the repeatability of it. It’s fitting in really well with our CI/CD system (GitLab CI) and making build-and-test on every push a practical possibility. We were doing it before, but keeping the Bash script and Windows batch file in sync (and alllll the project files) was not always easy.
