ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 95K
  • Win 33K
  • Mac 22K
  • Linux 39K
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6
Windows 5 5 7 3 11 6 7 3 10 7 9 3 5 6 8 5 3 7 7 4 6 2 4 4 0 0 0 0 5 5 10 4 2 6 4 3 6 0 0 2 3 6 5 6 10 9
Mac 1 0 3 4 0 1 1 1 2 2 4 4 5 1 1 6 1 2 4 5 2 1 1 0 0 0 0 2 1 3 1 2 0 2 2 1 2 0 0 0 2 5 5 1 2 2
Linux 3 7 7 4 6 5 9 7 10 6 7 10 7 7 0 3 3 8 5 7 8 5 7 4 0 0 0 0 6 4 3 4 3 4 4 5 3 0 0 9 6 4 7 9 9 2

Readme

Source
raw.​githubusercontent.​com

CMake

Gitter

  • Simple auto-indentation support.
  • Syntax highlighting for CMakeLists.txt files and *.cmake files, based on CMake 3.0.
  • Syntax highlighting for CMakeCache.txt files.
  • Syntax highlighting for .h.in and .hpp.in files.
  • Basic snippets.
  • Basic keybindings.

Available Snippets

All (recent) built-in commands from cmake are provided as a basic snippet.

Available Key Bindings

  • Select a word, and press $ to wrap the selection as a variable substitution. The newly inserted text will stay selected, so that you can press the double-quotes character " to enclose the selection in double-qoutes too. Press tab to get out of the selection if you don't want double-quotes.
  • Select a word, and press ctrlshift, to wrap the selection as a generator expression with an argument.
  • Select a word, and press ctrlshift. to wrap the selection as a generator expression without an argument.