Hi Dulvin,

I used CLion when working with Apache Arrow C++. You can give CMake presets
[1] a try. CLion started to support CMake presets last year (2021.2) and
your version (2022.1.2) should work fine [2]. And Apache Arrow provides
several CMake presets [3], which you can choose from depending on your
development area.

[1] CMake presets, https://www.jetbrains.com/help/clion/cmake-presets.html
[2] CLion CMake presets,
https://www.jetbrains.com/help/clion/cmake-presets.html
[3] Building Arrow C++, CMake presets,
https://arrow.apache.org/docs/developers/cpp/building.html#cmake-presets

Regards,
Yue

On Wed, Jun 8, 2022 at 8:31 AM Weston Pace <weston.p...@gmail.com> wrote:

> I tried to use CLion for a little while with mixed results.  CLion
> integrates well with cmake.  However, CLion seems to rely heavily on
> clang-tidy and I was unable to configure clang-tidy in such a way that
> it ran reasonably quickly.  I think part of the problem is that CLion
> wanted to use all of my system headers in addition to the headers in
> my conda environment (it should have only needed the latter) but I
> wasn't able to figure out how to limit which headers it included.
>
> In the end I had something that had reasonable auto-complete with
> pretty good static analysis.  However, the auto-complete was slower
> than what I have in VSCode.
>
> Also, CLion's clang-tidy seems to use its own rules file.  You will
> need to disable quite a few rules to get rid of all warnings.
>
> On Tue, Jun 7, 2022 at 2:07 PM Sutou Kouhei <k...@clear-code.com> wrote:
> >
> > Hi,
> >
> > I'm not a CLion user but could you share error messages,
> > logs or something from CLion?
> >
> > Thanks,
> > --
> > kou
> >
> > In <CAOJca9KHZJ0GLM3=fS=bztz4slx6fpnymyqjselc_jagjay...@mail.gmail.com>
> >   "Apache Arrow development using CLion" on Tue, 7 Jun 2022 22:44:48
> +0530,
> >   Dulvin Witharane <dulv...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I was looking to use CLion as the IDE for arrow development. Any
> guides to
> > > get started? Importing directly into CLion does not work as of now for
> me.
> > >
> > > Env:
> > > Architecture: Apple M1
> > > Os: Mac OS Monterey
> > > CLion Ver: CLion 2022.1.2
> > >
> > > Thanks & Regards,
> > > --
> > > *Witharane, D.R.H.*
> > >
> > > Software Engineer
> > > Colombo 03
> > > Mobile : *+94 7 <%2B94%2071%201127241>7 6746781*
> > > Skype  : dulvin.rivindu
> > > Facebook <https://www.facebook.com/people/Dulvin-Witharane/> |
> LinkedIn
> > > <https://lk.linkedin.com/in/dulvin>
>

Reply via email to