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: CCS v7.1.0.00016 / TI Arm compiler / Project Build Dependencies

Part Number: CCSTUDIO


Tool/software: Code Composer Studio

I am trying to understand how CCS / TI Compiler works with setting up Project->Build->Dependencies? Does not seem to work as expected.

Example workspace with two defined projects:

lib-doit - builds as a static library

TestApp - builds as executable for TMC4C129NCPDT

I setup the TestApp Project->Build->Dependencies to depend on the lib-doit.

Looking at the TestApp Project after, it looks like CCS added the following:

Project->Build->ARM Compiler->Include Options
"${INHERITED_INCLUDE_PATH}"

Project->Build->ARM Linker->File Search Path
"${INHERITED_LIBRARIES}"
"${INHERITED_LIBRARY_PATH}"

If I hover the mouse over the "..." next to the above items, it does show "Inherited from project lib-doit".

When I build the TestApp, it does not appear any of the INHERITED variables are defined or added to the compiler line or linker line. How do you get this working??

Don ...

P.S. I have attached the example workspace that I have described.

testapp.zip

  • Don Carlson2 said:
    When I build the TestApp, it does not appear any of the INHERITED variables are defined or added to the compiler line or linker line. How do you get this working??

    Don, actually these variables are not being used by CCS at this time. Please see this related post that mentions that. The Simplelink SDKs were going to use this feature but then decided not to, so the variables are seen as added to the projects, but currently they don't resolve to anything or do anything. 

    Dependencies should still work though in the sense that a dependent project should build prior to the main project. Let us know if you see any issues with that.