How can I manually build a C++ project in Linux?

Answered

I want to work on the project in CLion on my Mac but to compile it on my Linux VM. What is the best way to do it without installing another copy of CLion on the VM?

1
2 comments

Turns out I can use CMake directly with

cmake -B bin .  && cmake --build bin
1

Hello!

>I want to work on the project in CLion on my Mac but to compile it on my Linux VM

You can use the full remote mode which is designed for such scenarios: https://www.jetbrains.com/help/clion/remote-projects-support.html

1

Please sign in to leave a comment.