add local load-path to cmake build
This commit is contained in:
parent
53d3959e1b
commit
5a5ff2b2b6
4 changed files with 19 additions and 1 deletions
5
.dir-locals.el
Normal file
5
.dir-locals.el
Normal file
|
@ -0,0 +1,5 @@
|
|||
;; setting for elisp mode and elisp linter
|
||||
((emacs-lisp-mode . ((fill-column . 80)
|
||||
(indent-tabs-mode . nil)
|
||||
(elisp-lint-indent-specs . ((describe . 1)
|
||||
(it . 1))))))
|
5
el/.dir-locals.el
Normal file
5
el/.dir-locals.el
Normal file
|
@ -0,0 +1,5 @@
|
|||
;; setting for elisp mode and elisp linter
|
||||
((emacs-lisp-mode . ((fill-column . 80)
|
||||
(indent-tabs-mode . nil)
|
||||
(elisp-lint-indent-specs . ((describe . 1)
|
||||
(it . 1))))))
|
|
@ -4,6 +4,13 @@ mark_as_advanced(SC_EL_BYTECOMPILE)
|
|||
file(GLOB scel_sources
|
||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.el)
|
||||
|
||||
file(GLOB_RECURSE local-load-path
|
||||
LIST_DIRECTORIES true
|
||||
"~/.emacs.d/site-lisp/*"
|
||||
"~/.emacs.d/elpa/*")
|
||||
|
||||
set(all_scel_sources ${scel_sources} sclang-vars.el)
|
||||
|
||||
set(PKG_DATA_DIR ${CMAKE_INSTALL_PREFIX}/share/SuperCollider)
|
||||
|
||||
configure_file(sclang-vars.el.in
|
||||
|
@ -27,6 +34,7 @@ if (SC_EL_BYTECOMPILE)
|
|||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${el}c
|
||||
COMMAND ${EMACS_EXECUTABLE} -batch
|
||||
-L ${CMAKE_CURRENT_BINARY_DIR}
|
||||
-L ${local-load-path}
|
||||
-f batch-byte-compile
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${el}
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${el}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;;; sclang-help.el --- IDE for working with SuperCollider -*- coding: utf-8;
|
||||
;;; sclang-help.el --- IDE for working with SuperCollider -*- coding: utf-8; -*-
|
||||
;;
|
||||
;; Copyright 2003 stefan kersten <steve@k-hornz.de>
|
||||
|
||||
|
|
Loading…
Reference in a new issue