Docker toolchain CLion

Description

  1. Setup container to build/run SW: C++ develop container (Docker)
  2. Add docker toolchain in CLion (Settings):

Note

To write app output into a file and not the console, you have to create a CMake Application (Configuration) and enter the following:

  • Executable: “/usr/bin/sh”
  • Program arguments: “-c ./app > file.txt”