Using undc |
A command line tool for creating and building Understand for C++ databases is undc. This command line program parses your source code to populate the database with information that can be browsed or reported on.
A project database file (.udc) is created when a project is configured and analyzed using either the graphical interface of Understand for C++ or the command line tool “undc”.
The “undc” command line takes this form:
where database is the project database file and is a required argument.
Create a new database using the -create option and then load the files into the database with the -add option. To parse all files, specify -rebuild. Once the database is initially populated, subsequent parsing can be incremental, meaning that a file only needs to be re-parsed when it has changed, or something it depends on changes. For this incremental parsing, specify -refresh.
Refer to the sections that follow for details on all the available command line options and how to create and analyze a project.
Scientific Toolworks, Inc. http://www.scitools.com |