Function: ede-cpp-root-project-p
ede-cpp-root-project-p is an autoloaded and byte-compiled function
defined in cpp-root.el.gz.
Signature
(ede-cpp-root-project-p OBJ)
Documentation
Return non-nil if OBJ is an object of type ede-cpp-root-project(var)/ede-cpp-root-project(fun).
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/cpp-root.el.gz
;;;###autoload
(defclass ede-cpp-root-project (ede-project eieio-instance-tracker)
((tracking-symbol :initform 'ede-cpp-root-project-list)
(include-path :initarg :include-path
:initform '( "/include" "../include/" )
:type list
:documentation
"The default locate function expands filenames within a project.
If a header file (.h, .hh, etc) name is expanded, and
the :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
buffer's `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
directory.")
(system-include-path :initarg :system-include-path
:initform nil
:type list
:documentation
"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.")
(spp-table :initarg :spp-table
:initform nil
:type list
:documentation
"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.
Use `:spp-files' to use these files directly.")
(spp-files :initarg :spp-files
:initform nil
:type list
:documentation
"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.
See `semantic-lex-c-preprocessor-symbol-map' for more on how this works.")
(header-match-regexp :initarg :header-match-regexp
:initform
"\\.\\(h\\(h\\|xx\\|pp\\|\\+\\+\\)?\\|H\\)$\\|\\<\\w+$"
:type string
:documentation
"Regexp used to identify C/C++ header files.")
(locate-fcn :initarg :locate-fcn
:initform nil
:type (or null function)
:documentation
"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 nil."
)
(compile-command :initarg :compile-command
:initform nil
:type (or null string function)
:documentation
"Compilation command that will be used for this project.
It could be string or function that will accept proj argument and should return string.
The string will be passed to `compile' function that will be issued in root
directory of project."
)
)
"EDE cpp-root project class.
Each directory needs a project file to control it.")