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

CMake

by zyxar ST3

Sublime Text 2/3 - CMake Package

Details

Installs

  • Total 98K
  • Win 35K
  • Mac 23K
  • Linux 41K
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 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
Windows 4 5 3 7 9 8 5 5 2 3 4 5 7 3 5 2 3 7 8 5 3 9 2 9 5 3 3 6 10 0 3 3 7 7 3 7 5 6 7 10 8 10 10 3 4 3
Mac 0 2 0 4 3 0 2 7 5 0 1 3 2 3 1 2 2 2 1 1 1 2 0 3 1 1 0 2 1 1 3 2 2 4 1 6 2 3 5 0 3 5 5 1 5 1
Linux 2 0 3 8 2 5 5 6 5 2 4 5 12 7 1 2 8 6 7 5 12 12 3 2 3 3 7 18 8 1 3 0 4 2 7 10 8 5 2 4 3 5 3 1 9 5

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.