Working with existing projects

It is great to see JetBrain attack C++! A few initial comments:

  • It would be great to be able to import existing projects. Usually I don't need CLion to build anything, I just need it to be able to browse pretty big source base and edit code. So I don't care about cmake, but need ability to export existing bunch of C/C++ source code. The only way for me to import a project was to get it from git.
  • It would be great to be able to specify include directories used by project because they may be different from defaults - sometimes I need to completely override defaults
  • It would be great to be able to specify custom #define for some symbols. Even better if it is possible to define them for a directory (so that it affects this directory and everything under it).
It seems that I can't login to the tracker system to enter these requests myself.
1 comment
Comment actions Permalink

The tracker was under mantenance and so that was the problem. Should be ok now.

1. We rely on build system to get some knowlegde about the project that can be useful for correct resolving, refactorings, etc. and so to provide you with smart actions. We plan to support more than just CMake after 1.0 release: http://youtrack.jetbrains.com/issue/CPP-274

2. Set include_directories command in CMakeLists.txt for this.


3. This can be achived with the CMake variable defines also

0

Please sign in to leave a comment.