Hello,
I am new to slickedit, so please forgive me if this question has a simple answer. I was wondering if slick edit has a way to create a tagging database from the command line arguments given to GCC. For example, I'm trying to navigate the source code for the eCos operating system. Similar to Linux, it has layers upon layers of macros for various cpus and architectures. Most of it's source code doesn't apply to my project. Many macros are reused across all the cpu architectures.
If slickedit were to do a static analysis of the code it would find the same macros for each cpu architecture.
The important things is that there are lots and lots of macros. I don't want to have to create a special
file with my projects custom defines because there are too many of them. Instead, ecos has a configuration tool
that build the Makefiles for each sub component in the build.
In my mind it would be easy to create a gcc wrapper script that Make would call instead of GCC directly.
This script would have all the -D defines and -I include paths use for each C file. After recording this information, the script to just passes to GCC. When the build is finished you would have the accurate defines for the build. Then, some magical script could build the tag database from this information.
I imagine such a tool/script would be perfect for Linux kernel builds too.
Does this exist in slicked?
Thanks,
Stephen