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