Sugest for Clion template

Hello,
I have a suggest for Clion IDE, can you change default template for CMakeListsPrivate.txt file from set(PLATFORMIO_CMD "D://programs//devel//Python//Python37-32//Scripts//platformio.exe") to set(PLATFORMIO_CMD "platformio.exe") or universal set(PLATFORMIO_CMD "platformio"), because after upgrade python and move project to another PC/OS Clion displays error:

System nie moľe odnale«† okre�lonej �cieľki.
CMakeFiles\PLATFORMIO_BUILD.dir\build.make:56: recipe for target 'CMakeFiles/PLATFORMIO_BUILD' failed
mingw32-make.exe[3]: *** [CMakeFiles/PLATFORMIO_BUILD] Error 1
mingw32-make.exe[2]: *** [CMakeFiles/PLATFORMIO_BUILD.dir/all] Error 2
CMakeFiles\Makefile2:108: recipe for target 'CMakeFiles/PLATFORMIO_BUILD.dir/all' failed
CMakeFiles\Makefile2:120: recipe for target 'CMakeFiles/PLATFORMIO_BUILD.dir/rule' failed
Makefile:130: recipe for target 'PLATFORMIO_BUILD' failed
mingw32-make.exe[1]: *** [CMakeFiles/PLATFORMIO_BUILD.dir/rule] Error 2
mingw32-make.exe: *** [PLATFORMIO_BUILD] Error 2

Thanks.

Thanks, please post this suggestion in Issues · platformio/platformio-core · GitHub as a new issue because the affected file is right there and @ivankravets can see it better.

1 Like