C++ Weekly - Ep 191 - Cevelop IDE With CMake Based Projects

Поділитися
Вставка

КОМЕНТАРІ • 49

  • @hudsonmiranda
    @hudsonmiranda 4 роки тому +10

    Currently I find that the VSCode + official C++ and CMake extensions are quite enough for CMake-based projects. It is all open-source and multiplatform as well. There is also plenty of other useful extensions for Git.

    • @akj7
      @akj7 4 роки тому

      Just use CLion. It supports CMake natively and the IDE changes its settings based on the cmake options.

  • @KennyMinigun
    @KennyMinigun 4 роки тому +9

    3:59 As for C++ standard, there is actually a dedicated CMake variable called CMAKE_CXX_STANDARD

  • @TheSulross
    @TheSulross 4 роки тому +12

    And the Java JVM makes for a memory heavy foot print - and is not always very crisp in execution speed. But Java does make it easy to build extensible plugin architecture. Still would prefer to see an IDE written in modern C++

    • @platin2148
      @platin2148 4 роки тому

      TheSulross i suspect Qt Creator would count as very modern i mean it uses templates and C++11 in Qt 5 and in 6 i think there is 17 planned?

    • @platin2148
      @platin2148 4 роки тому

      Not to say that modern C++ doesn't really make things more Performant e.g Look at chromes memory issues these are coming from "modern" code.
      (Std stuff everywhere)

    • @skyboosm
      @skyboosm 4 роки тому

      I don't think making a plugin architecture is really a whole that more difficult to set-up for C++ than for java. If you want to support native code plugins (ie plugins written in pure C++ should work), then you will have a bit more work but that would still sits in the fairly reasonable range. Otherwise there are plenty alternatives for pretty fast scripting languages with syntax relatively close to C++ (thinking about angel script), which would be about the same cost than doing in it java (maybe a little less, maybe a little more)

    • @platin2148
      @platin2148 4 роки тому

      skyboosm ahh it's horrible with c++ better use c interfaces there abi is at least stable. And it's also possible to use a gcc lib from the msvc compiler and not this exclusivity stuff that C++ has because the never got to stable abi because the need to add more and more senseless features.

    • @skyboosm
      @skyboosm 4 роки тому +1

      Platin 21 You can expose a C interface with a C++ wrapper around it, that way the ABI is stable but users don't have to deal with the C interface and can use the proper C++ one. That's why it's more work than in java

  • @grimonce
    @grimonce 2 роки тому +1

    I guess for crossplatform I could use Eclipse CDT4 - Ninja?
    Anyway, from the book Advanced C++ cookbook (Advanced C++), it says that following the shown path ends up with the creation of Eclipse-compatible project created from Cmake file. This however has no loopback or feedback into the original Cmake file and basically we have to maintain both eclipse-friendly and cmake projects independently.
    The book suggests using cmake4eclipse 3rd party plugin.
    I would have hoped that Cevelop used it by default.
    Seems like this is not the case, I am gonig to try PlatformIO (VS Code) and CodeLite.

  • @coder3101
    @coder3101 4 роки тому +7

    I use CLion it's great for Linux and on windows I use Visual studio. But these days I use VSCode with ccls which is faster and better than Microsoft C++ Linter

    • @victotronics
      @victotronics 4 роки тому +1

      CLion is a toy. 1. Open a file 2. Do a "git pull" of your repo 3. Save your file, and CLion will gladly overwrite your pulled version. Has apparently never heard of repositories.

  • @juergenm6107
    @juergenm6107 4 роки тому +1

    I'm still happy with Qt Creator as a general purpose IDE with build in Cmake support, clang tidy and clang formater.

  • @Orionus83
    @Orionus83 4 роки тому +3

    What about QtCreator? In my opinion - one of the best multiplatform IDE for C++.

    • @slipcurve1410
      @slipcurve1410 4 роки тому +1

      QtCreator is great! I enable clang code model plugin, clang tidy and a dark colour mode and I'm good to go. And often I don't even use qt.

  • @HaraldAchitz
    @HaraldAchitz 4 роки тому

    As long as I used eclipse for C++ development, and I did this for several years, I imported the CMake projects as simple Makefile projects, pointed the Debug build to the folder where the debug build was, release build where the release build was, added CMake as external tool and added the include and other properties to the project so that the indexer worked.
    Not as comfortable as CLion these days that uses the generate build command json, but worked reliable. Setup of a project too some minutes, ok. but autocomplete , the gui debugger, Git tools, browsing the code, ... it worked.
    And I never used CDevelop but eclipse with CDT, since I could not figure out what CDevelop would give me that the default CDT tools don't have. (+ some plugins, like unit testing, ....)
    There is, btw, a tutorial on the cmake page how to use eclipse, that might be more informative than that one from CDevelop
    gitlab.kitware.com/cmake/community/wikis/doc/editors/Eclipse-UNIX-Tutorial

  • @victotronics
    @victotronics 4 роки тому +1

    What a disaster product. OS X 10.13: I get an alert about "no main class" when I start Cevelop fro the very first time. Their FAQ page has something about Java versions, but the link they give is completely out of date.
    Yet another IDE that I can write off within 5 minutes of trying it.

  • @OperationDarkside
    @OperationDarkside 4 роки тому +2

    I'm using Eclipse for C++ on Ubuntu. It was a pain to setup and link stuff like OpenGL, but now it's fine. But I don't really want to setup a second project in there. Way too much work

  • @ttfd
    @ttfd 3 роки тому

    I cannot create plain C project in the latest version of Cevelop: New -> Project -> C Project -> "CUTE" or Makefile project; I don't want Makefile, hence I'm selecting CUTE, but IDE is blocking the Finish button...

    • @user-cq7db9ij1o
      @user-cq7db9ij1o 3 роки тому

      Did you solve it ?
      How is your experience with Cevelope?

  • @wreckgar23
    @wreckgar23 4 роки тому

    Been using cevelop for a while and like it, but since our build system switched to conan I can't directly get to the cmake generator

  • @Rand0081
    @Rand0081 4 роки тому

    What kind of refactoring does it offer? Because for the moment it is just repeating clang-tidy warnings I already know, and failing to accept std::optional.

  • @mizatokimiya739
    @mizatokimiya739 4 роки тому

    More episodes for cevelop plz. Want to know it's power more

  • @danielphd5072
    @danielphd5072 4 роки тому +1

    Thanks Jason for this new Informative Episod of C++ Weekly. #cpp #cplusplus

  • @danielrhouck
    @danielrhouck 4 роки тому

    Is there a way to report closed captioning issues? It looks like it was written by a human, but one with no experience with the subject matter so made some basic mistakes from not knowing jargon.

  • @YesImKishore
    @YesImKishore 4 роки тому

    Which terminal is that and how did you setup that prompt style?

  • @KennyMinigun
    @KennyMinigun 4 роки тому

    Hey Jason,
    Can you also try QtCreator with its Clang Tools plugin? doc.qt.io/qtcreator/creator-clang-tools.html

  • @DerAlbi
    @DerAlbi 4 роки тому

    Never had problems with Eclipse but their Codan-Indexer is just unusable beyond c++14. Thats the biggest downside for me - buggy highlighting and autocompletion. But there is no alternative for ARM development except some visual studio stuff. correct me if i am wrong.. PLEASE

    • @GreenJalapenjo
      @GreenJalapenjo 4 роки тому

      I do a lot of arm development with a cross compiler, a makefile, and vim. Most of the time, it works like a charm.

    • @SylphDS
      @SylphDS 4 роки тому

      Depending on the type of development you are doing, PlatformIO might be useful to you.

  • @AntiProtonBoy
    @AntiProtonBoy 4 роки тому

    I dig your terminal theme. Mind sharing what that theme is called?

    • @coder3101
      @coder3101 4 роки тому

      You will get close to it with "agnoster" in zsh. You can further customise it yourself.

    • @AntiProtonBoy
      @AntiProtonBoy 4 роки тому

      @@coder3101 cheers

  • @platin2148
    @platin2148 4 роки тому

    It's eclipse based get away daemon i have a C++ Spec.
    Also isn't cmake also pretty horrible i get my holy code snippets to protect me from that stuff.

  • @antoniocs8873
    @antoniocs8873 4 роки тому +2

    02:06 - If the project has instructions on something that you say is a terrible idea, why make a video about the project? Are you running out of ideas for C++ videos you have to do a video on something like this?
    Aren't there enough C++ ides out there? MSVC community is free and can work with clang and cmake for example.

    • @JoshuaKisb
      @JoshuaKisb 4 роки тому

      do you mean visual studio?

    • @esra_erimez
      @esra_erimez 4 роки тому +2

      I can't read Jason's mind, but I suspect that the one configuration issue is outweighed by the benefit of the C++ code recommendations. JetBrain's CLion has code recommendations from Clang, but it isn't free and open source. As a CLion user, I can tell you that this feature has proven to be valuable. I'm glad Jason did this video, and I'm going to be exploring Cevelop how that I know of its existence.

    • @cunningham.s_law
      @cunningham.s_law 4 роки тому

      If a subset of A is bad, is A bad?

    • @antoniocs8873
      @antoniocs8873 4 роки тому

      @@JoshuaKisb Microsoft Visual C++ which is part of Visual studio yes

    • @antoniocs8873
      @antoniocs8873 4 роки тому +1

      @@cunningham.s_law if A is also based on Eclipse, probably!