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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 84K
  • Win 29K
  • Mac 20K
  • Linux 35K
Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18
Windows 0 10 10 12 9 11 13 10 2 6 10 5 5 13 5 9 8 9 6 17 9 5 5 15 10 9 9 10 4 7 8 10 9 6 8 2 2 5 5 7 10 8 5 6 10 9
Mac 0 0 9 5 7 2 1 2 0 5 5 4 5 2 2 4 3 2 4 3 3 2 3 3 7 2 6 6 2 1 9 6 1 3 4 2 2 6 4 9 3 3 5 3 4 6
Linux 1 6 3 12 9 12 7 5 7 6 6 6 10 8 4 4 7 11 7 6 10 10 5 6 8 8 10 9 8 5 8 11 11 11 8 9 3 7 11 10 10 13 2 7 10 9

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.