Skip to content
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
Closed

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

boneskull opened this issue Feb 20, 2016 · 4 comments
Assignees
Milestone

Comments

@boneskull
Copy link

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
Copy link
Member

Please re-test development version.

@boneskull
Copy link
Author

@ivankravets By this do you mean clone & install?

@ivankravets
Copy link
Member

@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
- see platformio/platformio-core#523
- temporarily modifies `.travis.yml` so it will hopefully build
@ivankravets
Copy link
Member

Please reopen this issue if you still have questions.

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

No branches or pull requests

3 participants