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.

CCS/CCSTUDIO: Build configuration in headless build is ignored

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

Hello,

I am trying to do a headless build on a project that has multiple configurations. 

I am using command line prompt on windows 7 (64 bit) with Code Composer Studio version 6.2.

When doing a project build with, say, CONFIG-A (set using "-css.configuration CONFIG-A"), the headless build is successful and generates the required files.  However, when I try to build with configuration CONFIG-B, it still executes the build with configuration CONFIG-A. Both the build commands are given after importing the project.

Am I missing something? Is this a CCS6.2 issue?

  • hello,

    Raj K1 said:
    Is this a CCS6.2 issue?

    no, it should work in CCSv6.2

    Raj K1 said:
    Am I missing something?

    I think the issue is a typo in the command:

    Raj K1 said:
    (set using "-css.configuration CONFIG-A")

    note the typo above. It should be:

    -ccs.configuration 

    Because of the typo, the parameter is likely being ignored. Hence it will always default to the last configuration used (CONFIG-A)

    Thanks

    ki

  • Thanks Ki-Soo! That worked.