When building a project that uses a DSP/BIOS configuration file (e.g. C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642/bigtime.pjt), the project doesn't seem to be up to date. When building the same project again, some files, especially the source files generated from the DSP/BIOS configuration file are compiled again, which in turn causes a linker run. Only when building for the 3rd time, the project is considered to be up to date and no action is performed.
I can somehow understand that the dual role of the *cfg.* files as both, generated files and source files can cause this behaviour. However, shouldn't CCS be clever enough to handle these files correctly? Do I need to build two times to have an entirely up to date project or ist it safe to assume it is already up to date after the first run? Running for a 2nd time is annoying because it must be done two times and it leaves only a partial build log in cc_build_debug.log. Is there any way to set up the projects so that CCS handles the generated files correctly? Below is the console output of three consecutive build runs.
**** 1st build run ************************************************************
---------------------------- bigtime.pjt - Debug ---------------------------- [bigtime.cpp] "Q:\Language\TI\c6x.615\bin\cl6x" -g -pdr -fr"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642/Debug" -i"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642" -i"." -d"_DEBUG" -mv6400 -@"evmDM642/Debug.lkf" "bigtime.cpp" [bigtimecfg.s62] "Q:\Language\TI\c6x.615\bin\cl6x" -g -pdr -fr"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642/Debug" -i"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642" -i"." -d"_DEBUG" -mv6400 -@"Debug.lkf" "bigtimecfg.s62" [bigtimecfg_c.c] "Q:\Language\TI\c6x.615\bin\cl6x" -g -pdr -fr"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642/Debug" -i"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642" -i"." -d"_DEBUG" -mv6400 -@"Debug.lkf" "bigtimecfg_c.c" [Linking...] "Q:\Language\TI\c6x.615\bin\cl6x" -@"Debug.lkf"
Build Complete, 0 Errors, 0 Warnings, 0 Remarks. *
*** 2nd build run ************************************************************
---------------------------- bigtime.pjt - Debug ---------------------------- [bigtime.cpp] "Q:\Language\TI\c6x.615\bin\cl6x" -g -pdr -fr"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642/Debug" -i"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642" -i"." -d"_DEBUG" -mv6400 -@"evmDM642/Debug.lkf" "bigtime.cpp" [bigtimecfg.s62] "Q:\Language\TI\c6x.615\bin\cl6x" -g -pdr -fr"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642/Debug" -i"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642" -i"." -d"_DEBUG" -mv6400 -@"Debug.lkf" "bigtimecfg.s62" [bigtimecfg_c.c] "Q:\Language\TI\c6x.615\bin\cl6x" -g -pdr -fr"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642/Debug" -i"C:/CCStudio_v3.3/bios_5_33_04/packages/ti/bios/examples/basic/bigtime/evmDM642" -i"." -d"_DEBUG" -mv6400 -@"Debug.lkf" "bigtimecfg_c.c" [Linking...] "Q:\Language\TI\c6x.615\bin\cl6x" -@"Debug.lkf"
Build Complete, 0 Errors, 0 Warnings, 0 Remarks.
**** 3rd (& subseqent) build run(s) *******************************************
---------------------------- bigtime.pjt - Debug ---------------------------- Build Complete, 0 Errors, 0 Warnings, 0 Remarks.