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.

include only header files from a certain directory



hi all,  im using ccsv6. I added few directories to my include path by using the include options under compiler setting. instead of getting only header files, i was getting all the source files too. Im porting the old project. I want to keep my directory structure unchanged. before i try and move all header files to one directory,  i wonder if there is a way to make "include option" only include the header files.

  • Having source files in your include directories is not an issue.

    The include directories only tell the compiler where to search for include files (files included in your source or header files using the #include directive).

    Stephen

  • so i need some source files under my include dirs. is there anyway to configure CCS to accept make file rules to build all the object files. It takes a long time to add all the individual source files from different directories. So i was just wondering if there is any easy way to do that?