Skip to content

Instantly share code, notes, and snippets.

@andreinechaev
Created March 18, 2018 21:48
Show Gist options
  • Save andreinechaev/8f1389761049d20490e33b4babca7d0f to your computer and use it in GitHub Desktop.
Save andreinechaev/8f1389761049d20490e33b4babca7d0f to your computer and use it in GitHub Desktop.
CMake build sys for Subl
{
"cmd": [
"mkdir -p build && cd build && cmake .. && make && cd .. && ./build/`cat CMakeLists.txt | grep 'project(' | sed 's/project(//' | cut -f1 -d ')'`"
],
"selector": "source.c++",
"shell": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment