Skip to content

Integration with CLion

James Tai edited this page Jun 27, 2021 · 1 revision

To run C/C++ solutions in CLion, run the command coman cmake to generate a CMakeLists.txt build script. Then, open the project in CLion, open CMakeLists.txt, and click "Load CMake project" if it appears at the top. Now, you can click the play button next to int main() to run a file.

Note: Whenever you create or delete a solution file, you will need to rerun coman cmake to regenerate the CMakeLists.txt file.

Currently, there is no way to run tests in CLion. You will have to do that with coman test in the terminal.

Clone this wiki locally