As the running an analysis becomes more expensive time-wise, one may find the ability to compile and run a program on a remote machine useful.
Happen to be we have a Mac Pro station which we use to run analysis. To me it is only useful if I can easily run my code using the LAN on that machine. Fortunately it seems that CLion has a full hand of remote development tools as it shares a lot of deployment tools with PHPStorm.
The procedure of performing a remote run, is as follows:
1. Define the credentials (for SSH session) to connect to the remote machine (Go to Preferences > SSH Configurations to add your credentials)
2. Make a remote toolchain (https://www.jetbrains.com/help/clion/remote-projects-support.html#remote-toolchain)
3. Make a CMake profile for remote run configuration