Developer Tools

From Mca2
Jump to navigationJump to search


Compiler Errors

For all emacs/xemacs users who want the *compilation* Buffer mouse click to find the erroneous files correctly, add the following to your ".emacs" or".xemacs/init.el" file:

;; adding the mcahome to the compilation search path
(when (getenv "MCAHOME")
      (add-to-list 'compilation-search-path (substitute-in-file-name "$MCAHOME/")))

And don't forget to call emacs/xemacs from the command line after setting of the mca-variables.

Compile Command

If you mainly develop MCA2 applications it might be helpful to alter the compile command which emacs uses by default:

 '(compile-command "scons -k -C $MCAHOME"))

If you already have a custom-set-variables section in your emacs/xemacs config file simply insert a new line with the following content:

'(compile-command "scons -k -C $MCAHOME")