Skip to content

Build: Build with CLion

Lars Toenning edited this page Jul 19, 2025 · 4 revisions

Download prerequisites

Clone the git repo

git clone https://github.com/swift-project/pilotclient.git
git submodule update --init

Install required third-party dependencies

python3 -m venv .venv
source .venv/bin/activate # on Linux und macOS
.venv\Scripts\activate.bat # on Windows 
pip install conan
conan install . --output-folder=build_conan --build=missing --deployer=full_deploy

Build

Open the pilotclient folder in CLion to load the project. That's it! You now have a working CLion environment to build and execute the project.

swift uses CMake presets to configure CMake. By default, the dev-debug profile will be loaded. While this profile contains the required config for most of swift's components, some features, like the X-Plane and Microsoft simulator plugins are disabled. For more information on how to extend the default profile to enable more features, see this page.

Different launch targets can be selected here:

clion_target_selection

For more information on CLion itself, see the CLion manual.

Clone this wiki locally