Skip to content

Instantly share code, notes, and snippets.

@pestilence669
Last active May 5, 2017 11:04
Show Gist options
  • Save pestilence669/845196a23e26bbcfdad1a63ebee79ce2 to your computer and use it in GitHub Desktop.
Save pestilence669/845196a23e26bbcfdad1a63ebee79ce2 to your computer and use it in GitHub Desktop.
Basic build system (and run) for CMake for C & C++ within Sublime Text 3
{
"cmd": [
"mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make && ./main"
],
"shell": true,
"selector": ["source.cpp", "source.c", "source.c++"],
"working_dir": "${project_path}",
}
@osolovyoff
Copy link

'"mkdir -p build && cd build && cmake .."' is not recognized as an internal or external command,
operable program or batch file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment