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.

CCSv5

My Debug directory has no include directory, source (.c / .cpp) files or header files, only object files. I'm assuming that my Debug directory should have the source files and include directory and pretty much image my non-Debug directory structure. I'm guessing that I must have missed something during my initial setup of the project. 

My workspace directory structure looks like the following:                                                                                                                                                                       workspace/projectName/Debug/usr/local/stevesProject/src/---- dir1/src/xxx.o

                                                                                                                   dir2/src/xxx.o

                                                                                                                            to

                                                                                                                   dir10/src/xxx.o

 

workspace/projectName/usr/local/stevesProject/src/---- include/xxx.h

                                                                                                     dir1/src/xxx.cpp, xxx.h, xxx.o

                                                                                                     dir2/src/xxx.cpp, xxx.h, xxx.o

                                                                                                                                to

                                                                                                     dir10/src/xxx.cpp, xxx.h, xxx.o

Should I be building out of the non-Debug directory or the Debug directory?

Thank You.                                            

  • Ok, sorry for the above brain fade. After thinking about it a bit more, I believe I understand the Debug vs. Source directories. If I am correct, the Debug directory should not have any source or include files in it, so obviously I will build out of my Source (non-Debug) directory. In addition, once I do a 'release' build I should have a 'release' directory added to my list. 

  • You are correct. It was a bit hard to understand your setup in your original post. However, CCS will by default create a <Build ConfigurationName> directory (e.g. Debug) in root of your project to store build generated files (e.g. .obj files or .map and .out file). In most cases when doing a project clean contents of this directory are removed. 

     

    Martin