372171f7ed
Added a skeleton for my cmake projects
12 lines
368 B
EmacsLisp
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)")
|