Overview of C/C++ Remote Development

See Also 

 

Remote development enables you to run the IDE locally in your familiar desktop environment, while using the compute power and developer tools of a remote server to build your applications.

Once the remote build host is configured and connected through the IDE, you can build, run, and debug projects as you normally do on your local system. The IDE runs the remote host's tools on your project files, enabling you to build binaries for the remote server platform. The remote host might also have more advanced hardware, such as multicore processors to enable fast parallel processing of your builds.

When you use a remote build host, the local and remote hosts both need to access the project files. This can be accomplished through file sharing or securely copying the files. Before the IDE can use file sharing between the local and remote systems, the shared file system or folder must be set up and accessible to both systems. Remote files are accessed through SFTP or another file sharing mechanism available in the operating system the host is running, for example, Network File System (NFS), Samba, or WebDAV.

If file sharing is not possible, you can use Automatic Copying option to copy the files to the server using SSH. The IDE manages the project files in both locations, so you do not need to transfer any files yourself. If a remotely built project generates files that are dependencies for the project, the IDE prompts you to download the generated files to the local system.

See C/C++ Remote Development Modes for more information about ways to do remote development.

To use remote hosts for developing C, C++, or Fortran projects, you should perform the following tasks.

  1. Configure a remote build host.
  2. Set up a local project to use the remote build host.
  3. Build and run your code as you normally do.
  4. Optionally change remote host properties.
See also
  Configuring a Remote Build Host
Configuring Build Tools for C/C++/Fortran Projects
C/C++ Project Properties Dialog Box: Build
Sharing Files With Remote Build Hosts
Using Full Remote Mode with Version Control Systems
Opening a Terminal Window for a Build Host
Managing Build Hosts

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.