I want to compile and run (showing results in sublime console) customising sublime to use c++ and boost library. I am able to compile but no results are shown in the console. Can you help me?
I wrote the following
{
“cmd” : [“g++”,"${file_path}/${file_base_name}.cpp","-I/opt/local/include","-L/usr/local/lib","-o${file_path}/${file_base_name}.o"],
“selector” : “source.cpp”,
“working_dir”: “${file_path}”,
“shell”: true,
“variants”:
[
{
“name”: “Run”,
“cmd”: ["${file_path}/${file_base_name}.o"]
}
]
}