Hello,
Is it possible to print (or export as a text file) the list of all headers for a single source file from the Include Browser of Code Composer Studio version 5.5.0.00077?
Showing repeats just once would be ideal.
Regards,
-Jim
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.
Hello,
Is it possible to print (or export as a text file) the list of all headers for a single source file from the Include Browser of Code Composer Studio version 5.5.0.00077?
Showing repeats just once would be ideal.
Regards,
-Jim
Hi Jim,
I don't think that is possible... or at least I have not found a way to export the contents of the Include Browser. If you want to generate file with a list of header files for a particular source file, perhaps it is better to simply enable the -ppd option for that particular file (using a file specific option). It is under 'Build -> Compiler -> Advanced Options -> Parser Processing Options'. You first have to switch the 'Mode' to manual before you can access the ppd option.
Hope this helps
ki
Alternatively, when CCS 5.5 builds a project it creates dependency files (.pp extension) in the build directory for each object file.Jim Warren said:Is it possible to print (or export as a text file) the list of all headers for a single source file from the Include Browser of Code Composer Studio version 5.5.0.00077?
These dependency files list the include files for a source file, e.g.:
../drive_task.c: C:/StellarisWare/inc/hw_types.h: C:/StellarisWare/inc/hw_memmap.h: C:/StellarisWare/driverlib/sysctl.h: C:/StellarisWare/driverlib/timer.h: C:/StellarisWare/driverlib/rom.h: C:/StellarisWare/boards/ek-evalbot/drivers/motor.h: C:/StellarisWare/boards/ek-evalbot/drivers/sensors.h: ../drive_task.h: ../pid.h:
Maybe this will give you the required information in text format.
[I haven't compared the include files listed in the dependency file against the Eclipse include browser to check if they give the same results]