09202024

Last update2016/05/28 14:38

Back 現在地: Home パートナー Strategic Test パートナー Atollic 4.project directoryの外にあるファイルをどのように組み込むことができますか?

4.project directoryの外にあるファイルをどのように組み込むことができますか?

4.project directoryの外にあるファイルをどのように組み込むことができますか?

By default, all files in the project directory is considered to take part in the project, and no files outside the project directory is considered to take part in the project.

To include a file in the project, that is located outside the project directory, perform the following steps:

  1. Use the menu command "File, New, Other..." to open the "New" wizard.
  2. Expand the "General" node and double-click on "File".
  3. Click on the "Advanced >>" button that is displayed in the new dialog box.
  4. Select the checkbox "Link to file in the file system" and browse to the file external to the project directory.
  5. Finally click on the "Finish" button.

A symbol link to the external file is now displayed in the Project Explorer view file tree.

If you want the new file to take part in building (compilation and linking), also perform the following steps:

  1. Right-click on the symbolic link that was created in the Project Explorer view file tree.
  2. In the context menu, select the menu command "Exclude from build..."
  3. Unselect the checkboxes in the dialog box, to make the file take part in the project build