7

How to integrate SCons and emacs + cedet without breaking semantic and auto-complete?

tshepang
  • 12,111
  • 21
  • 91
  • 136
frp
  • 1,119
  • 1
  • 10
  • 30
  • 1
    Could you be a little more descriptive? How does what you have tried previously break semantic and auto-complete? I'm unsure of how SCons would even affect those. – Travis B. Hartwell Jun 18 '11 at 05:56
  • For example, I tried to set compile-command to scons. It breaks semantic and auto-complete, because semantic (and auto-complete) uses EDE to get information about, for example, include paths. – frp Jun 18 '11 at 07:55

1 Answers1

3

I don't think there exists SCons integration for cedet. However, it is easy to set up an EDE project manually.

An lisp-snippet for a C++-project is given below.

(ede-cpp-root-project "myProject"
           :name "myProject"
           :file "my_project.txt"
           :include-path '("myproject/include")
           :system-include-path '("/usr/include/c++/4.5.1"
                                  "/usr/include/"))
mirk
  • 5,302
  • 3
  • 32
  • 49