Browse files

Made compatible with Marmalade code repository.

  • Loading branch information...
1 parent 98ff649 commit 7eaa6d09a4f5a994801920217e5096bc77b3df97 @alamaison committed Oct 13, 2012
Showing with 13 additions and 8 deletions.
  1. +7 −5 README.md
  2. +6 −3 cmake-project.el
View
12 README.md
@@ -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:
@@ -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
@@ -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
View
9 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
@@ -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.
;;
@@ -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.