You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
725 B
17 lines
725 B
# Install Vim files to a typical system integration directory.
|
|
# Packagers can set CMake_INSTALL_VIMFILES_DIR to control this.
|
|
if(NOT CMake_INSTALL_VIMFILES_DIR)
|
|
set(CMake_INSTALL_VIMFILES_DIR ${CMAKE_XDGDATA_DIR}/vim/vimfiles)
|
|
endif()
|
|
install(DIRECTORY vim/indent vim/syntax DESTINATION ${CMake_INSTALL_VIMFILES_DIR})
|
|
|
|
# Install Emacs files to a typical system integration directory.
|
|
# Packagers can set CMake_INSTALL_EMACS_DIR to control this.
|
|
if(NOT CMake_INSTALL_EMACS_DIR)
|
|
set(CMake_INSTALL_EMACS_DIR ${CMAKE_XDGDATA_DIR}/emacs/site-lisp)
|
|
endif()
|
|
install(FILES cmake-mode.el DESTINATION ${CMake_INSTALL_EMACS_DIR})
|
|
|
|
install(FILES cmake.m4 DESTINATION ${CMAKE_XDGDATA_DIR}/aclocal)
|
|
add_subdirectory (bash-completion)
|