IBM InfoSphere Streams Version 4.1.0

Configuring a remote C/C++ project

You can configure the location of include, source, and build files for a remote C++ project. You can also configure the remote C++ project to build automatically when you edit a .hpp or a .cpp file.

Procedure

  1. Configure the include path of the remote C++ project.
    1. In the Project Explorer view, right-click the remote C++ project that you created, and click Properties.
    2. Expand Remote Development and select Remote Paths and Symbols.
    3. On the Remote Includes tab, under Languages, select GNU C++, and then click Add.
    4. In the Remote Include Directory window, click Browse.
    5. Select the include folder from the remote SPL Project/impl/include, and then click OK.
  2. Configure the source location for the remote C++ project.
    1. In the Project Explorer view, right-click the remote C++ project that you created, and click Properties.
    2. Expand C/C++ General and select Paths and symbols.
    3. On the Source Location tab, click Link Folder.
    4. Select the Link folder in file system check box.
    5. In the Choose file system list, select Remote Tools.
    6. Click Browse, then select the Remote Tools connection from the list at the top of the window.
    7. Select the remote SPL Project/impl/src directory, and click OK twice.
  3. Configure the build directory for the C++ project.
    1. In the Project Explorer view, right-click the C++ project that you created, and click Properties.
    2. Select C/C++ Build.
    3. On the Build Settings tab, clear the Generate Makefiles automatically option.
    4. In the Build directory field, specify the remote SPL Project/impl as the build directory.
      Note: You enter this directory manually as the provided buttons do not allow for browsing to the remote server.
  4. Optional: Build the C++ project automatically when a .cpp or .hpp file is changed:
    1. In the Project Explorer view, right-click the C++ project that you created, and click Properties.
    2. Expand C/C++ Build.
    3. On the Behavior tab, select the Build on resource save (Auto build) check box.
  5. Optional: To create a makefile:
    1. In the Project Explorer view, right-click on the SPL Project/impl folder and click New > File.
    2. In the file name field, enter the makefile name and click OK.
    3. In the Project Explorer view, right-click on the C++ project that you created and click New > File.
    4. In the File window, click Advanced.
    5. Click Link to file in the file system.
    6. In Choose file system, select Remote Tools.
    7. Click Browse and select the connection at the top of the window.
    8. Select the remote SPL Project/impl folder and click OK. You can select only a folder in this window.
    9. Enter /Makefile at the end of the path to select the remote makefile, and then click Finish.