New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-generated CMakeLists.txt is not appropriate for VCS (clion) #523

Closed
boneskull opened this Issue Feb 20, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@boneskull

boneskull commented Feb 20, 2016

I execute the following:

$ platformio init --ide clion --board d1_mini

CMakeLists.txt is generated. It contains a lot of stuff, but also:

set(ENV{PATH} "/Users/boneskull/.nvm/v0.10.31/bin:/Users/boneskull/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/usr/local/git/bin:/usr/local/MacGPG2/bin:./node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/local/heroku/bin:/usr/local/opt/coreutils/libexec/gnubin")

and references to every single library I have installed, regardless of whether or not my project uses them.

@ivankravets ivankravets self-assigned this Feb 21, 2016

@ivankravets ivankravets modified the milestone: 2.8.5 Feb 21, 2016

@ivankravets

This comment has been minimized.

Member

ivankravets commented Feb 26, 2016

Please re-test development version.

@boneskull

This comment has been minimized.

boneskull commented Mar 1, 2016

@ivankravets By this do you mean clone & install?

@ivankravets

This comment has been minimized.

Member

ivankravets commented Mar 1, 2016

@boneskull

clone repo
platformio init --ide clion -b YOUR_BOARD
open CLion

I don't see here other normal solution. We will contact with CLion vendor and discuss "PlatformIO IDE for CLion".

The other hook: I can add new target to CLion named "Rebuild C/C++ Project Index" which will regenerate CMakeLists*.txt files.

WDYT?

@ivankravets ivankravets reopened this Mar 1, 2016

boneskull added a commit to boneskull/ntp-clock that referenced this issue Mar 1, 2016

use platformio fix for CMakeLists.txt
- see platformio/platformio-core#523
- temporarily modifies `.travis.yml` so it will hopefully build
@ivankravets

This comment has been minimized.

Member

ivankravets commented Mar 7, 2016

Please reopen this issue if you still have questions.

@ivankravets ivankravets closed this Mar 7, 2016

ivankravets added a commit that referenced this issue Mar 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment