Fix Bug 961, add ldg-context.el and ldg-schedule.el to CMakeLists.txt

This commit is contained in:
Craig Earls 2013-05-09 13:40:14 -07:00
parent fdbae766c1
commit 60e606a651

View file

@ -15,7 +15,9 @@ set(EMACS_LISP_SOURCES
ldg-state.el
ldg-test.el
ldg-texi.el
ldg-xact.el)
ldg-xact.el
ldg-context.el
ldg-schedule.el)
# find emacs and complain if not found
find_program(EMACS_EXECUTABLE emacs)
@ -26,10 +28,10 @@ macro(add_emacs_lisp_target el)
# add rule (i.e. command) how to generate the byte-compiled file
add_custom_command(
OUTPUT ${el}c
COMMAND ${EMACS_EXECUTABLE}
-L ${CMAKE_CURRENT_BINARY_DIR}
COMMAND ${EMACS_EXECUTABLE}
-L ${CMAKE_CURRENT_BINARY_DIR}
-l ${CMAKE_CURRENT_BINARY_DIR}/ldg-regex.el
-batch -f batch-byte-compile
-batch -f batch-byte-compile
${CMAKE_CURRENT_BINARY_DIR}/${el}
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${el}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}