The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13664
======================================================================
Reported By: Dave Abrahams
Assigned To:
======================================================================
Project: CMake
Issue ID: 13664
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-11-08 16:13 EST
Last Modified: 2012-11-08 16:13 EST
======================================================================
Summary: Emacs integration should be easier
Description:
Integrating CMake with compilation-mode is obscenely difficult
Steps to Reproduce:
It's not much code, but the fact that we have to load and trawl the
cmake_install.cmake file is just... wrong.
(defun cmake-project-filename ()
(let ((filename (match-string-no-properties 1)))
(save-match-data
(with-temp-buffer
(insert-file-contents-literally "cmake_install.cmake")
(goto-char (point-min))
(re-search-forward "Install script for directory: \\(.+\\)")
(cons filename (match-string-no-properties 1))))))
(push 'cmake compilation-error-regexp-alist)
(push '(cmake "^\\(?:CMake Error at \\| \\)\\(.+?\\):\\([0-9]+\\)
([A-Za-z_][A-Za-z0-9_]*)"
(cmake-project-filename) 2)
compilation-error-regexp-alist-alist)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-11-08 16:13 Dave Abrahams New Issue
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers