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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 78K
  • Win 26K
  • Mac 19K
  • Linux 33K
Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 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
Windows 5 15 18 4 4 10 11 4 7 9 6 11 6 12 9 16 15 14 12 10 9 16 9 13 5 4 5 6 3 9 8 10 7 3 11 10 13 15 9 5 14 10 6 8 11 3
Mac 7 9 7 1 3 4 3 8 7 3 1 2 4 8 8 6 4 3 7 5 7 4 9 3 1 2 3 3 1 6 3 4 1 5 2 9 5 3 4 5 3 6 1 4 7 3
Linux 7 7 10 5 9 10 14 10 11 12 5 2 9 16 20 9 12 8 8 14 10 11 9 15 6 7 10 19 13 9 15 3 7 6 10 19 15 12 13 6 10 11 9 13 9 4

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.