This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Remove Includes folder from project tree

Hi,

With CCSv4.1, in C/C++ Project window, under the project name, there is a branch called "Includes", in it, there is one folder (bios_5_30\packages) that is inherited from the migration process, and also an empty folder, is it possible to remove them ? or I have to edit .cdtbuild manually ?

Thanks,

Yuhua

  • Yuhua,

    The directories listed there are defined by the compiler include directories, therefore you can remove unused directories from there simply by right-clicking on the project --> select Build Properties --> Under Compiler you select Include Options.

    Hope this helps,

    Rafael

     

  • Thanks, Rafael,

    I understand that C/C++ Projects --> "project name" --> Includes reflect the settings on "project name" -->Build Properities --> C/C++ Build --> Compiler --> Include Options, however, there is no bios_5_30\packages in "Include Options", to remove it, I simply edit file .cdtbuild and delete the following line: 

    <listOptionValue builtIn="false" value="&quot;${CCSv3_INSTALL_ROOT}/bios_5_30/packages&quot;"/>

    Somehow this line was set during the "Import Legacy Project" -- I guess small tweak is needed in migration.

    I also find out that the empty folder in "Includes" branch is "${COMMON_ROOT}", which is okay.

    Yuhua