Created
November 7, 2012 16:04
-
-
Save AndiH/4032465 to your computer and use it in GitHub Desktop.
C++/ROOT: Build System (runs »root -l« for current file)
This file contains 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
Show hidden characters
{ | |
"path": "/Applications/Panda/extpkg/bin", // point this to the directory of your root / root.exe | |
"selector": "source.cpp, source.c, source.c++", | |
"working_dir": "${file_path}", | |
"cmd": ["root", "-l", "$file"], | |
"variants": [ | |
{ | |
"cmd": ["root", "-l", "$file+"], // delivers a command palette only option to run root with compiling the macro before executing it (the + option) - but doesn't run, since clang++ can't be found. If you want to fix it: fix it. | |
"name": "ROOT: Compile (+)" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment