Created
March 18, 2018 21:48
-
-
Save andreinechaev/8f1389761049d20490e33b4babca7d0f to your computer and use it in GitHub Desktop.
CMake build sys for Subl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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