mbed-os / tools / export / cmake /
@Martin Kojtal Martin Kojtal authored on 20 Feb 2020
..
CMakeLists.txt.tmpl Add combined hex target to CMake 5 years ago
README.md add cmake exporter for CLion use 6 years ago
__init__.py tools: fix SPDX identifiers 4 years ago
README.md

CLion CMakeLists.txt Generator

This exporter generates a CMakeLists.txt file that can be used to develop mbed using IntelliJ CLion.

It will not create a functional CMake build system that mimics the mbed build system, but rather uses the mbed-cli itself to compile the targets. The generated files help CLion to understand the includes and dependencies of your code.

Run the following command to create/overwrite your CMakeLists.txt.

mbed export -i cmake_gcc_arm

Run the command again if files or libraries have been added or removed.