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
Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 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
Windows 7 6 6 4 3 4 9 12 7 3 3 5 10 3 2 3 7 3 4 5 5 9 6 9 5 3 7 9 8 5 5 2 3 4 5 7 3 5 2 3 7 8 5 3 9 2
Mac 1 2 6 2 3 1 2 1 5 1 1 2 3 1 3 5 2 1 1 3 3 5 8 2 2 0 4 3 0 2 7 5 0 1 3 2 3 1 2 2 2 1 1 1 2 0
Linux 3 5 6 4 5 5 4 7 7 3 5 3 6 4 5 4 6 5 3 6 4 9 11 4 0 3 8 2 5 5 6 5 2 4 5 12 7 1 2 8 6 7 5 12 12 3

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.