legacy-dotfiles/emacs.d/50-skeletons.el
Tom Willemsen 372171f7ed EMACS: Discovered skeletons
Added a skeleton for my cmake projects
2011-04-17 00:24:14 +02:00

12 lines
368 B
EmacsLisp

(define-skeleton cmake-project-skeleton
"A cmake project template file"
"Name: "
"cmake_minimum_required(VERSION 2.6)\n"
"project(" str ")\n"
"\n"
"set(" str "_VERSION_MAJOR 0)\n"
"set(" str "_VERSION_MINOR 0)\n"
"set(" str "_VERSION_PATCH 0)\n"
"\n"
"set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})\n"
"add_subdirectory(src)")