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.

CCS4 command line build - dependencies not handled correctly

In the CCS4 IDE the Referenced Project dependencies are handled correctly. For example, I have a workspace in which project eNBPhyTx_DSP0C0 has build-configuration 4_eNB_Digital_IQ, and it has a dependency on project DSPCOMM which has a build-configuration 1_eNB_Digital_IQ. Note the build-configuration names are different. In the IDE the project builds correctly. But in the command line build the dependency is not handled correctly:

 

!WARNING: Build-configuration '4_eNB_Digital_IQ' does not exist for project 'DSPCOMM'. Defaulting to the active build-configuration - '1_eNB_Digital_IQ'.

**** Build of configuration 1_eNB_Digital_IQ for project DSPCOMM ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
gmake: Nothing to be done for `all'.
Build complete for project DSPCOMM

 

It tries to use build-configuration 4_eNB_Digital_IQ instead of 1_eNB_Digital_IQ. This seems like an error to me. The information is available in .cdtbuild of eNBPhyTx_DSP0C0:

<listOptionValue builtIn="false" value="DEPENDENCIES=DSPCOMM:1_eNB_Digital_IQ;Infrastructure:1_eNB_Digital_IQ;OSAbstraction:Debug;INFR_AMC3C87F_BSL:Debug;INFR_TIDirectIO:Debug;TI_LTE_SC_eNB_DL:Debug;"/>

The same error occurs for the other dependencies since they also have different build-configuration names.

  • I want to clarify something - the incorrect handling of dependencies on the command line occurs when using the -ccs.projects option. The command line works correctly when using the -ccs.workspace option. Here are the options I used with the command line build:

     -ccs.projects eNBPhyTx_DSP0C0 -ccs.configuration 4_eNB_Digital_IQ

     

  • Don,

    I could reproduce this in CCSv4.2.3 and I am also checking CCSv5. I am still doing some tests here and will get back to you.

    Regards,

    Rafael