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.

ccsv3.3 timake incremental build

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I am trying to use timake that comes with ccsv3.3 to do a command line incremental build:

timake SM.pjt Custom

and it does a full build every time.  Using the ccsv3.3 GUI the incremental build

works.  I am not using the '-a' flag.  If I check usage on timake I get the following

information which doesn't mention the ability to do an incremental build:

Usage: timake.exe pjt -lc | cfg [-a | -clean] [-nr]

The first parameter <pjt> is required and must be a valid project file (.pjt)

The second parameter must be one of the following:
-lc List configuration names
<cfg> A configuration name
If the second parameter is a configuration name there can be a third option.

The third option can be one of the following:
-a Rebuild all
-clean Remove all intermediate files
If the second parameter is a configuration name there can be a fourth option.

The fourth option can be:
-nr ignore recursive sub-projects

However, from the FAQ(http://processors.wiki.ti.com/index.php/CCStudio_FAQ) it implies

an incremental build will work with no -a flag:

The syntax for invoking the timake utility is:

>timake.exe PJT -lc | CFG [ -a | -clean ]

The first parameter is required.

  • PJT - The name of a Code Composer Studio project file (.pjt).

The second parameter must be one of the following:

  • lc: Lists the names of all configurations within the specified project. No build is performed.
  • CFG: The name of a project configuration. Performs an incremental build of the specified configuration. Only files that have been modified since the last build are recompiled. For additional information, see Building a Program.

When a project configuration (CFG) is specified as the second parameter, one of the following options can be specified as the third parameter:

  • -a: Rebuilds all files. By default, an incremental build is performed. This options forces the recompilation of all files.
  • -clean: Removes all intermediate files that may remain following a build.

Ex:

>timake.exe modem.pjt Debug -a
So, which is it?  Does timake with ccsv3.3 do an incremental build, and if so, what am I doing wrong?
Thanks, Jason
  • HI Jason,

    Jason Kalin said:

    I am trying to use timake that comes with ccsv3.3 to do a command line incremental build:

    timake SM.pjt Custom

    and it does a full build every time.

    This is not right. It should do an incremental build by default.

    Jason Kalin said:

    However, from the FAQ(http://processors.wiki.ti.com/index.php/CCStudio_FAQ) it implies

    an incremental build will work with no -a flag:

    This correct

    Jason Kalin said:
    -a: Rebuilds all files. By default, an incremental build is performed. This options forces the recompilation of all files.

    yeah the default (meaning NO -a option) is incremental build

    Jason Kalin said:
    Does timake with ccsv3.3 do an incremental build, and if so, what am I doing wrong?

    It should do an incremental build. I just tried it out with my 3.3. install and it did an incremental build if no -a was specified.

    Is there anything that could be messing with the timestamps of your files? Are you working out of version control?

    Thanks

    ki

  • Right, I am NOT using -a with timake.  The timestamps on the files appear fine - and, also, when I run the

    GUI CCS Studio v3.3 it does the incremental build correctly using the same project file.  No version control

    here.  Is there something in your environment that is different than my environment, perhaps?

    Thanks, Jason

  • Jason,

    Could you try building one of the example projects that comes with CCS? Any of the ones in the 'tutorials' folder should be fine. Let me know if you have the same issue. I ran the modem example in there and had no problems with incremental builds via timake.