This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Project File Dependancies

In a Keil uVision IDE project it is possible to enter a list of source files that are to be compiled / assembled into a program. After a build is completed the IDE will display the various include file dependancies in the project file list window. These will display similar to the picture shown here:

i.stack.imgur.com/EXO3P.png

Does anyone know of a way to extract this information out of the Keil tool?

Michael Karas

Note: Cross Posted at www.8052.com/.../188738

Parents
  • You have to pass it the include directory, ending with a / to mark that it's not a file.

    > scripts/includes.awk src/main.c inc/
    src/hsk_isr/hsk_isr.h: src/hsk_isr/hsk_isr.isr
    
    src/hsk_flash/hsk_flash.h: src/hsk_isr/hsk_isr.isr
    
    src/hsk_timers/hsk_timer01.c: inc/Infineon/XC878.h src/hsk_timers/hsk_timer01.h
    ...
    

Reply
  • You have to pass it the include directory, ending with a / to mark that it's not a file.

    > scripts/includes.awk src/main.c inc/
    src/hsk_isr/hsk_isr.h: src/hsk_isr/hsk_isr.isr
    
    src/hsk_flash/hsk_flash.h: src/hsk_isr/hsk_isr.isr
    
    src/hsk_timers/hsk_timer01.c: inc/Infineon/XC878.h src/hsk_timers/hsk_timer01.h
    ...
    

Children
No data