Function: ede-cpp-root-target-p

ede-cpp-root-target-p is a byte-compiled function defined in cpp-root.el.gz.

Signature

(ede-cpp-root-target-p OBJ)

Documentation

Return non-nil if OBJ is an object of type ede-cpp-root-target(var)/ede-cpp-root-target(fun).

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/cpp-root.el.gz
;;; CLASSES
;;
;; EDE sets up projects with two kinds of objects.
;;
;; The PROJECT is a class that represents everything under a directory
;; hierarchy.  A TARGET represents a subset of files within a project.
;; A project can have multiple targets, and multiple sub-projects.
;; Sub projects should map to sub-directories.
;;
;; The CPP-ROOT project maps any file in C or C++ mode to a target for
;; C files.
;;
;; When creating a custom project the project developer an opportunity
;; to run code to setup various tools whenever an associated buffer is
;; loaded.  The CPP-ROOT project spends most of its time setting up C
;; level include paths, and PreProcessor macro tables.

(defclass ede-cpp-root-target (ede-target)
  ((project :initform nil
	    :initarg :project))
  "EDE cpp-root project target.
All directories need at least one target.")