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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

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

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.