Created
December 27, 2011 22:57
-
-
Save syohex/1525414 to your computer and use it in GitHub Desktop.
Configuration of quickrun.el
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode:emacs-lisp -*- | |
;; require quickrun.el | |
(require 'anything) | |
(require 'quickrun) | |
(quickrun-add-command "c++/c11" | |
'((:command . "g++") | |
(:exec . ("%c -std=c++0x %o -o %n %s" | |
"%n %a")) | |
(:remove . ("%n")) | |
(:description . "Comple C++11 file with g++"))) | |
(quickrun-add-command "c++/g++-4.5" | |
'((:command . "g++-4.5") | |
(:exec . ("%c %o -o %n %s" | |
"%n %a")) | |
(:remove . ("%n")) | |
(:description . "Comple c++ file with g++-4.5"))) | |
(quickrun-add-command "c++/g++-4.6" | |
'((:command . "g++-4.6") | |
(:exec . ("%c %o -o %n %s" | |
"%n %a")) | |
(:remove . ("%n")) | |
(:description . "Comple c++ file with g++-4.6"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment