Skip to content

Commit

Permalink
Made compatible with Marmalade code repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
alamaison committed Oct 13, 2012
1 parent 98ff649 commit 7eaa6d0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
12 changes: 7 additions & 5 deletions README.md
Expand Up @@ -17,7 +17,8 @@ is left to the major-mode [`cmake-mode`][1].
Installing
----------

Copy this file somewhere on your Emacs load path.
Copy this file somewhere on your Emacs load path or use [Marmalade][2]
and the package manager to install it.

Either auto-load the mode in your init file by adding the line:

Expand All @@ -41,13 +42,13 @@ Features

# The compile command #

This mode makes the [compile command][2], `M-x compile`, build the
This mode makes the [compile command][3], `M-x compile`, build the
project by default via CMake in a `bin` subdirectory of the project
source root directory.

# Flymake #

This mode integrates with [Flymake][3] so that, when `flymake-mode` is
This mode integrates with [Flymake][4] so that, when `flymake-mode` is
enabled, the entire project is built whenever the buffer is saved and
any errors are higlighted in the buffer. This is different from
Flymake's typical behaviour which builds only the file for the buffer
Expand All @@ -56,5 +57,6 @@ in question. CMake doesn't provide a way to build one file at a time


[1]: http://www.cmake.org/CMakeDocs/cmake-mode.el
[2]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Compilation.html
[3]: http://www.gnu.org/software/emacs/manual/html_node/flymake/index.html
[2]: http://marmalade-repo.org/
[3]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Compilation.html
[4]: http://www.gnu.org/software/emacs/manual/html_node/flymake/index.html
9 changes: 6 additions & 3 deletions cmake-project.el
@@ -1,10 +1,11 @@
;;; cmake-project.el -- integrates C/C++ projects that use CMake with Emacs
;;; cmake-project.el --- Integrates CMake build process with Emacs

;; Copyright (C) 2012 Alexander Lamaison

;; Author: Alexander Lamaison <alexander.lamaison03@imperial.ac.uk>
;; Maintainer: Alexander Lamaison <alexander.lamaison03@imperial.ac.uk>
;; Version: 0.1
;; URL: http://github.com/alamaison/emacs-cmake-project
;; Version: 0.2
;; Keywords: c cmake languages tools

;; This is free software: you can redistribute it and/or modify
Expand All @@ -23,7 +24,7 @@
;;; Commentary:
;;
;; Projects using CMake do not integrate well into the Emacs ecosystem
;; which often assumes the existsnce of Makefiles. This library
;; which often assumes the existence of Makefiles. This library
;; improves that situation somewhat.
;;

Expand Down Expand Up @@ -137,3 +138,5 @@ build tools such as the CompileCommand and Flymake."
(ad-activate 'flymake-get-file-name-mode-and-masks))))

(provide 'cmake-project)

;;; cmake-project.el ends here

0 comments on commit 7eaa6d0

Please sign in to comment.