Search code examples
emacscedet

[cedet]: how to add a new ede target?


I can't find an easy way to add ede targets to my projects. I am looking for the way to add an install target or even a test target to run unittest.

How do you do that with ede-project-manager ?


Solution

  • If you are using one of the EDE projects that supports it, the operation can be found in the menu.

    Step 1: Open a file in a project directory. Step 2: Choose the menu item "Project->Project Options->Add target"

    It will ask if you want to add the current file into that target.

    You can also do:

    M-x ede-new-target RET
    

    Some EDE project types don't support this concept. Most notably the built-in Emacs and Linux project types, or the ede-cpp-root project, which is a quick hack to support the basics of the Semantic parsing infrastructure.