platformio/platformio-core

Platformio 4.3+ generates unusable CMake files in CLion

Open

#3476 aperta il 25 apr 2020

Vedi su GitHub
 (9 commenti) (0 reazioni) (1 assegnatario)Python (791 fork)batch import
help wantedide:clionintegration

Metriche repository

Star
 (7329 star)
Metriche merge PR
 (Merge medio 109g 16h) (5 PR mergiate in 30 g)

Descrizione

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.

Guida contributor