Develop Linux app with CLion on a Mac or Windows system using Docker

Publié le: 06 octobre 2022
sur la chaîne: TechHara
2,442
38

Let's be honest. Linux is a great server platform for running apps and services in enterprise settings, but it lags behind in terms of convenience when it comes to day-to-day use. In school or work, however, we are often required to develop for Linux platform.

In this video, I will show you how to develop, debug, and deploy a C/C++ Linux program with CLion running on a Mac or Windows system via Docker.

project repo: https://github.com/TechHara/clion_docker
Docker: https://www.docker.com
CLion: https://www.jetbrains.com/clion/

Docker build command
$ docker build -t linux_cpp_dev_env .

Docker run command
$ docker run -it --rm -v `pwd`:/work linux_cpp_dev_env

Build command
$ cmake -Bbuild && make -Cbuild


Sur cette page du site, vous pouvez voir la vidéo en ligne Develop Linux app with CLion on a Mac or Windows system using Docker durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur TechHara 06 octobre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,442 fois et il a aimé 38 téléspectateurs. Bon visionnage!