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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 76K
  • Win 26K
  • Mac 19K
  • Linux 32K
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 13 9 6 5 7 11 14 5 11 8 12 11 12 9 12 6 1 8 6 12 7 13 12 17 5 11 20 9 17 7 12 7 8 12 8 10 11 5 9 6 9 8 13 14 11 6
Mac 5 2 4 1 8 1 6 3 8 3 5 6 3 9 5 11 7 6 5 9 6 5 5 6 7 9 3 6 3 5 3 1 3 6 7 16 8 4 4 5 8 10 9 7 3 6
Linux 12 15 10 8 15 14 10 13 10 7 7 10 13 9 10 9 3 8 17 11 19 12 13 6 6 13 16 6 12 10 10 5 14 16 15 12 15 10 7 10 10 6 8 12 10 1

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.