Skip to content
Ferran Pujol Camins edited this page Apr 22, 2020 · 29 revisions

This is a work in progress guide

CLion is a commercial Cross-Platform IDE for C and C++ by JetBrains.

JetBrains supports non-commercial open-source projects by providing licenses to contributors free of charge. You can apply here.

Step-by-Step Setup

Follow the steps in Compiling on macOS For CLion 2020.1

Open CLion.

Select Open in the welcome window:

Navigate to the mixxx folder, select the CMakeLists.txt file and click Open.

Select Open as Project:

Open the preferences window and navigate to Build, Execution, Deployment > CMake.

Add the following options to the CMake options field:

macOS:

-DDEBUG_ASSERTIONS_FATAL=ON -DQt5_DIR=/usr/local/opt/qt5/cmake/Qt5/ -DCMAKE_PREFIX_PATH=/usr/local/opt/

Set the Generation path field to cmake_build:

CLion will generate the build files in this folder, which will be created in the root path of the project. Don't commit this folder. Configure git to exclude it. Open .git/info/exclude and append cmake-build/ in a new line.

Clone this wiki locally