platformio/platformio-core

Platformio 4.3+ generates unusable CMake files in CLion

Open

#3.476 geöffnet am 25. Apr. 2020

Auf GitHub ansehen
 (9 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (791 Forks)batch import
help wantedide:clionintegration

Repository-Metriken

Stars
 (7.329 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 109T 16h) (5 gemergte PRs in 30 T)

Beschreibung

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