# -*- mode: snippet -*- # name: CMakeLists template # key: cml # -- CMAKE_MINIMUM_REQUIRED(VERSION 2.8) # CMake version PROJECT($1) # project name set (CMAKE_CXX_STANDARD 11) # standard version add_executable($2 src/$3.cpp ) # executable name # build sources target_include_directories($2 PRIVATE include) # includes