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.

Creating a project from the command line with correct includes and library paths

I am working on an application that invokes the code composer command line in order to create a project with some arguments, the problem is that I need the project to be fully created from the command line without the user needing to do extra work, meaning that I need to pass to the project creation build command the project include paths and the library paths, after some searching I found this page: Create and Build Projects Using Command Line (ti.com) but after inspecting the page and some experiments with the command line tool  I did not find way to pass the needed arguments.

1) Is this a limitation in the command line api, meaning that the api can not create a project with includes and library paths or am i missing something?

2) If this truly a limitation, is there another way to achieve the same goal?

Thanks in advance.

  • I am not at work at the moment but looking at the documentation at that link you should be able to use

    -ccs.setCompilerOptions

    -ccs.setLinkerOptions

    In the examples on the page it shows doing this with gcc but you should be able to do something like this:

    -ccs.setCompilerOptions "--include_path=${CCS_BASE_ROOT}/arm/include"

    Regards,

    John