Other Parts Discussed in Thread: CCSTUDIO
Hello,
From looking at this post http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/203240/900507.aspx#900507 I have learned how to change the .ccsproject file so that I can select "Debug" or "Release" as the default configuration. I am using 5.3.0.00090.
In a command line build batch file, I wish to do these steps:
1. import a project into a workspace
2. clean the project
3. build the debug configuration
4. build the release configuration
Step 2 is causing issues because it will clean whatever the default configuration is. So it will clean either "Debug" or "Release".
Is there a command-line argument for the cleaning step to force it to clean a specific configuration?
The steps we are using are below.
Thanks,
Geraldine
::import the project to the workspace
%ECLIPSE_DIR%\eclipsec.exe -nosplash -data %MY_WORKSPACE% -application com.ti.ccstudio.apps.projectImport -ccs.location %PROJECT_PATH% > import.log
::clean project debug configuration from the workspace
%ECLIPSE_DIR%\eclipsec.exe -nosplash -data %MY_WORKSPACE% -application com.ti.ccstudio.apps.projectBuild -ccs.projects %PROJECT_NAME% -ccs.clean > clean.log
::build project debug configuration from the workspace
%ECLIPSE_DIR%\eclipsec.exe -nosplash -data %MY_WORKSPACE% -application com.ti.ccstudio.apps.projectBuild -ccs.projects %PROJECT_NAME% -ccs.configuration Debug > build_debug.log
::build project release configuration from the workspace
%ECLIPSE_DIR%\eclipsec.exe -nosplash -data %MY_WORKSPACE% -application com.ti.ccstudio.apps.projectBuild -ccs.projects %PROJECT_NAME% -ccs.configuration Release > build_release.log