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

已回答

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

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

请先登录再写评论。