Everyone who had to debug an application with gdb understands how valuable this feature is. But the true feature of CLion is the integrated debugger which allows you to advance step by step into the application code directly from the IDE. The CLion code editor is very comfortable and has all the features of a modern IDE, such as autocomplete, automatic indentation, navigation between functions, compilation error highlighting, and so on. CLion is in fact "only" a graphic overlay to a build system such as CMake. In the opposite to VisualStudio or XCode which have their own build system, CLion is based on already existing build systems, such as Gradle or CMake. That's were CLion and CMake come in.ĬLion is a multiplatform development environment (IDE). In short, you often find yourself having to use and maintain two or three projects to compile a single application for several OSes. Naturally, you can install gcc under Windows and macOS as well, but the process is cumbersome, in particular if you use external libraries such as Pthread, openSSL, libUSB, and so on. Microsoft recommends using VisualStudio and its cl compiler, macOS recommends using the Xcode IDE and the Clang compiler, while under Linux you traditionally use the gcc compiler and a simple text editor. Moreover, each OS implements the Posix standard slightly differently.īut the main difficulty is to have to use several IDEs and compilers. During the development phase, you must manage the differences between the OSes, for example both type of directory separators ( / vs. We thought that this could also be of interest to our customers.Ĭ++ is a very powerful programming language, but it is complex to use, in particular if you work with several OSes. We performed this modification because some members of the Yoctopuce development team use these products daily. Let's start by stating that we are not in any way affiliated or sponsored by JetBrains, the company developing CLion. If it's not the case, we recommend that you start by reading our post " How to start in C++ with Yoctopuce modules" which explains how our library works. Note: We assume that you already have a some knowledge of the C++ language and of our programming library. This IDE is very practical, so much so that we updated our C++ examples for them to work directly in this IDE. This week, we are going to show you how to use our C++ library with the CLion IDE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |