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.

File moved from project root to src and the .obj file is no longer in the /Debug directory, but in the /Debug/src directory.

Hello, 

I had a .h and .c file in the root of the project directory, then moved them into ./src directory.  The Code Composer can open these files, but when I compile, I get the .obj files listed in the /Debug/src directory. The out file had been just in the /Debug directory.  I was looking in the wiki page

Projects_and_Build_Handbook_for_CCS#Project_Files_and_Build_System_Overview

but I am not sure what I'm looking for. Can someone please give me a heads up for where that setting is? I would like the .obj file to stay in the original file location  with all of the other files generated if possible.

I'm using Code Composer Studio version 6.

  • Jim Macomber said:
    but when I compile, I get the .obj files listed in the /Debug/src directory.

    That is the default and expected behavior for CCS. 

    Jim Macomber said:
    I would like the .obj file to stay in the original file location  with all of the other files generated if possible.

    You can customize the location of .obj (and other compiler generated) files using compiler options. Go to Project Properties->Build->Compiler->Advanced Options->Directory Specifier. Change the "Mode" from automatic to manual. Then you can specify in which directory to place the object files.

  • That did it, thank you!