![clion docker clion docker](https://www.jetbrains.com/clion/whatsnew/img/2021.2/wsl_distributions.png)
In my project, for example, I want to incorporate the Boost library, which is one of the largest C++ libraries out there. The best feature of CMake is, that it can detect libraries and compilers on your system and automatically configure them for you. Makefiles) themselves but most devs have moved on to cmake which in turn automates the configuration of makefiles. Some people still write the config-files for make (aka. make is a build automation tool that basically calls commands and sets parameters for them. This made it necessary to come up with ways to simplify this process if the language was going to have a future and that’s where make came in. Since C++ is a platform-independent language, every platform has to come up with build-tools (aka.
![clion docker clion docker](https://raw.githubusercontent.com/shuhaoliu/docker-clion-dev/master/configs/deployment-auto-config.png)
Most C++ projects start with a good CmakeLists file. If you use a compiler-version lower than 9, keep in mind though that Cxx20 will not be available to you and you should replace C++20 mentions with C++14 or C++17, in your CMakeLists.txt. If, for example, gcc-9 is not available for you, use an older version, or simply go with the version provided as default (replacing gcc-9 by gcc).
#CLION DOCKER INSTALL#
If you have any problems running the command line instructions listed in this article, try and install the packages they belong to, by calling apt-get update apt-get install git cmake build-essential tar curl g++ gcc-9 clang-10 There were multiple obvious problems with the project and I started to tackle them one by one to transform the project into something of an acceptable state. Even though the project was supposed to be private on Github, I wanted to keep a version history of a somewhat sane state so I had to clean it up first. But then I felt a little ashamed because I realized in what a terrible shape the project was. In a recent post on I have talked about the idea of putting every single project you have ever worked on into your Github account as a backup so I considered doing that first. Old build artifacts scattered everywhere.
#CLION DOCKER CODE#
A CmakeLists file that only had the code required to make the Boost integration work and polluted the main folder.It was set up in classic bare C++-project fashion: I recently scrolled through the source code of old projects of mine and came across a C++-project I hadn’t looked at in a while. There are many articles out there explaining some combination of the tools mentioned in the title.