This class implements the
ede-cpp-root project type.
See ede-cpp-root, for information about using this project type.
(quote ("/include" "../include/"))
The default locate function expands filenames within a project.
If a header file (.h, .hh, etc.) name is expanded, and
:locate-fcn slot is
nil, then the include path is checked
first, and other directories are ignored. For very large
projects, this optimization can save a lot of time.
Directory names in the path can be relative to the current
default-directory (not starting with a /). Directories
that are relative to the project's root should start with a /, such
as "/include", meaning the directory
include off the project root
The system include path for files in this project.
C files initialized in an ede-cpp-root-project have their semantic
system include path set to this value. If this is
nil, then the
semantic path is not modified.
C Preprocessor macros for your files.
Preprocessor symbols will be used while parsing your files.
These macros might be passed in through the command line compiler, or
are critical symbols derived from header files. Providing header files
macro values through this slot improves accuracy and performance.
:spp-files to use these files directly.
C header file with Preprocessor macros for your files.
The PreProcessor symbols appearing in these files will be used while
parsing files in this project.
semantic-lex-c-preprocessor-symbol-map for more on how this works.
Regexp used to identify C/C++ header files.
(or null function)
The locate function can be used in place of ede-expand-filename so you can quickly customize your custom target to use specialized local routines instead of the EDE routines. The function symbol must take two arguments: NAME - The name of the file to find. DIR - The directory root for this cpp-root project.
It should return the fully qualified file name passed in from NAME.
If that file does not exist, it should return
nilif in PROJ the filename NAME is a header.