title: Putting CEDET ede-cpp-root-project commands outside the .emacs file
body: <p>I have a working EDE project, but I would like to locate the command in a file in the source tree for that project and not in my .emacs file. Is this possible?  </p>
  
  <p>I have tried using <a href="http://www.emacswiki.org/emacs/DirectoryVariables" rel="nofollow">directory variables</a> and emacs loads the file, but it does have any affect.  To do this I placed the following code in .dir-locals.el in the project root:</p>
  
  <pre><code>((nil 
   . ((ede-cpp-root-project "MyProj"
       :name "MyProj Project"
       :file "/home/jlisee/projects/myproj_code/CMakeLists.txt"
       :include-path '( "/packages" )
       :system-include-path '( "/opt/myproj/local/include" )
       :spp-table '( ("CONST" . "const") )
       ))))
  </code></pre>