Create a Local/Remote C/C++ Project

About this task

After you Create a Connection to a Remote System, you are ready to create a Local/Remote C/C++ Project.

Procedure

  1. To create a new Local/Remote C/C++ Project, begin by going to File ->New -> Local/Remote C/C++ Project.:

  1. Select a project type.
    1. For Local projects, enter the Project Name, press Next
    2. For Synchronized projects, enter the Project Name and Remote Location, press Next
      Synchronized Project: specify project location
      .
      • Use default location: enable/disable using the default location for project location
      • Push on save: enable/disable pushing local changes to the remote location when a file is saved
      • Pull from remote on project creation: enable/disable pulling files from remote location on project creation
      .
    3. For Remote Only projects, enter the Project Name and Remote Location, press Next.
      Remote Only Project: Specify project location
    4. For Network File System projects, enter the Project Name and Remote Location, press Next
      • Use default location: enable/disable using the default location for project location
      • Validate mount location: enables/disables a check to verify that the mount location specified is valid.
  2. Select the Language options, and Toolchain options that best suite your project.
    Project Options Page
    Note: The tool chains available at this step will depend on the type of project, as well as the operating system of the remote system. The XL C/C++ Tool Chain is only available when the remote system is an AIX or Linux on Power system.
  3. Press Finish, or optionally specify additional Project Options:
    Additional Project Options
    • Build Command: the command to be used to build your project
    • Build Directory: the location where the build command is to be issued
    • Compiler Executable Directory: the location where the XL compiler executable can be found. The default install location is chosen by default.
    • Import an off-line index: import a previously generated off-line index. To import an off-line index from the remote system for the new project, browse for the off-line index zip file. For more information, see Creating/Importing an Offline Index.
    • Do not index project until project has been built: prevent the indexer from launching until the project has been built.
    Note: The Compiler Executable Directory field will not be visible when the Remote Linux GCC Tool Chain is specified.
  4. Click on Advanced... to edit the configuration for the C/C++ Indexing service and/or the Build service. For more information, see Local/Remote C/C++ Project Wizard - Service Providers..
    When you have finished your edits, click OK
  5. Click Finish in the Local/Remote C/C++ Project wizard to create the project. Creating the project may take a few minutes. Once the project has boon created it will appear in the Project Explorer view.
    Once you have created a Local/Remote C/C++ project, you are ready to create a C or C++ source file.

Feedback