![]() Use the Mappings tab to change the default mappings (for example, to set a particular remote directory for the copied sources instead of the default tmp folder): When you create a connection entity for the remote toolchain, CLion puts it in the list of server access configurations in Settings | Build, Execution, Deployment | Deployment.ĬLion automatically configures the paths for your project code synchronization. Use the File Transfer tool window ( View | Tool Windows | File Transfer) to monitor the progress of file synchronization:Ĭheck and adjust the deployment configuration Select your remote toolchain in the Toolchain field: Go to Settings | Build, Execution, Deployment | Makefile. (Makefile) Select the remote toolchain in Makefile setting Go to Settings | Build, Execution, Deployment | CMake.Ĭlick to create a new CMake profile, and connect it to your remote toolchain using the Toolchain field:Īlternatively, set the remote toolchain as default and select Use default. (CMake) Create the corresponding CMake profile When set as default, the remote toolchain is used for all the projects you create and open in CLion.įor CMake projects, if you set the remote toolchain as default, the default CMake profile will connect to it automatically, so you do not need to configure a separate CMake profile for it. You can make the newly created toolchain the default one (for this, move it to the top of the toolchains list by clicking ). When the checks finish successfully, the toolchain is ready for use: You can also manage SSH configurations in Settings | Tools | SSH Configurations.Īfter establishing the connection, CLion attempts to detect the tools in default remote locations /usr/bin/cmake and /usr/bin/gdb (or using the full paths, if you have provided manually). ![]() ![]() Existing SSH configurations are available from the drop-down list. In the dialog that opens, create an SSH configuration and provide the credentials for accessing you remote machine. Go to Settings | Build, Execution, Deployment | Toolchains and select Remote Host from the list of toolchains or click and select Remote Host from the drop-down menu to create a new toolchain.Ĭlick next to the Credentials field. You can enable Rsync synchronization on Windows by selecting the Use Rsync for download/upload/sync checkbox in deployment settings.Ĭreate a toolchain with remote credentials This mechanism works slower than synchronization with the Rsync tool on macOS and Linux. on the main menu), then restart CLion with cache reset ( File | Invalidate Caches / Restart.).įor files synchronization on Windows, by default, CLion relies on its own Remote Host Access and compression on the host side using the tar utility. When working on a Windows client, keep in mind the following:ĭue to the IntelliJ platform issue, you need to set the property value =true in the idea.properties file (to access the property file, select Help | Edit Custom Properties.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |