Is there a way to have CCS copy the .out file to another directory after a successful build/link (as MS Visual Studio does with Build Events)?
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.
Hallo,
I use the command "copy D:/Job/PRJ/DSP/F28035/SW/CCS5_Prj/CLAMathLibV400/CLAMATHLIB_STD/bin/CLAmath.lib C:/", but console shows "The syntax of the command is incorrect.".
Are there any different command rules?
Yabin,
I found the best way to debug this is to run cmd.exe and copy your command line into the DOS window. Then try executing the command. If it doesn't work you should be able to see what happened. Unfortunately CCS does not give explicit error information.
Hi, MikeH:
I create a batch file which includes commands that I need. And this batch file will be invoked by CCS post build process.
I think the problem is CCS post build can't recognize "copy" command directly. (possibly because of file path issue) while cmd DOS shell can recognize it directly.
Now it works and thank you all the same.
Yanbin
2013-03-22
Yabin,
I think there is a bug in CCS (I am using CCSv5.3). I can use the following command for a PRE-build step and it works fine.
copy ARL100_DSPFW_v1.0.bin C:\ /Y
But when I move this same command to the POST build step command, it does not execute. There is no error message, but it does not do anything.
Also, I have not been able to figure out how to concatenate two command lines in the single post-build command window. I guess the only way is to use a single batch file.