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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 93K
  • Win 32K
  • Mac 22K
  • Linux 38K
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 0 6 6 8 15 4 7 9 8 7 6 7 9 4 9 12 2 7 0 5 10 7 7 11 5 5 5 6 11 7 7 10 10 4 2 3 7 4 7 8 7 7 5 7 7 6
Mac 0 4 2 3 3 3 2 1 2 2 1 2 3 0 0 2 1 3 3 2 4 4 1 5 3 2 5 6 2 2 4 2 1 1 3 4 2 4 1 6 1 1 7 2 3 1
Linux 2 10 6 10 3 3 5 9 9 1 4 7 7 4 6 4 7 8 7 4 5 8 7 8 10 7 10 5 8 11 13 6 8 2 4 5 6 11 6 10 4 7 8 8 4 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.