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.

How do I refresh the makefiles?

What command can I run from the command line t get CCS v5.1 to update the makefiles?  We parse makefiles to deliver source to our customers.

I am trying to do as much as I can from the command line so I can run builds nightly and do other activities with a single keystroke.  I wish that I had a command line manual instead of having to use the command line help.  Most of the time it fails do to some obtuse syntax problem and the response is more suited for the CCS developers rather than the user community.  I haven't seen anything looking like a good set of command line examples, especially window versions.

Also, what is the sequence for CCS V5.1 to write to .cproject and other project files?  Originally, I assumed that all files were written and/or updated every time a build was started.  Now, I don't think that it true.

  • Hi Bill,

    Not sure if you're already familiar with the CCS command-line tools for building projects.  You can find some basic information on them here http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create#Working_with_CCSv5.  For more detailed help, you can run each of the command-line tools with the '-ccs.help' flag.

    To answer your question - no there is no command line tool specifically for updating the makefiles.  But you can build a project using the 'projectBuild' tool, which causes all the makefiles to be regenerated.  You mentioned that you parse the generated makefiles - just keep in mind that the format/structure of the generated makefiles is not an external interface, and may change at any time.

    The .cproject/.project files only change when the user modifies project settings.  Some project settings are stored in .cproject, while others are stored in .project.  These files are meant to be source-controlled by the user, so they are expected to not change during project build.

    - Baltasar

  • Lee has told me that the projectBuild command causes all the makefiles to be regenerated. That's the answer I was looking for.