platformio/platformio-core

Platformio 4.3+ generates unusable CMake files in CLion

Open

#3,476 opened on Apr 25, 2020

View on GitHub
 (9 comments) (0 reactions) (1 assignee)Python (791 forks)batch import
help wantedide:clionintegration

Repository metrics

Stars
 (7,329 stars)
PR merge metrics
 (Avg merge 109d 16h) (5 merged PRs in 30d)

Description

Under Platformio 4.2, when running platformio init --ide=clion I get a CMakelists.txt that starts with the following line and has numerous build targets, including ones for uploading a filesystem, rebuilding the project index, etc:

cmake_minimum_required(VERSION 3.2)

Under Platformio 4.3+, the cmake_minimum_version becomes <3.2 and the build targets are replaced with something unusable.

Contributor guide