-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
CMakeLists.txt add_executable has only one source file #421
Comments
This is OK. CLion uses Cmake as core build system and depends on it. However, PlatformIO has own build system and doesn't depend on Cmake. PlatformIO generates minimal settings in |
But without them code completion in clion is not completely available for all files. |
Sure? Could you provide me simple projects with more that 1 file where I will see problems with autocompletion and etc. Thanks. |
Sure, but it is not exactly code completion thats not working but rather the code insights on the side of the code (where the line numbers are). With SampleClass.cpp added to add_executable: Sample project: |
Thanks, will fix it. |
Thanks :) |
@hameno please re-test it with the latest http://docs.platformio.org/en/latest/installation.html#d-development-version |
Looks good! |
What about files in ./lib folder? Code insights doesn't work in this folder. |
@diejmon have you tried to re-init project as described in docs? |
@ivankravets yes, just tried this again. If I add all files in ./lib folder to |
@diejmon I've got you. Please file a new issue https://github.com/platformio/platformio-core Thanks! |
@ivankravets Thanks for fast response! Will create a new issue soon. |
Hello,
I'm not sure if this is a bug, missing feature oder just expected but when I run
platformio init --board uno --ide clion
only one cpp file from my src folder is added to the
add_executable
setting.I would expect all cpp files to be added there.
The text was updated successfully, but these errors were encountered: