We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Thanks for this great tool.
I use debugging macros with ifdef like following:
#ifdef redback #define bug printf("line=%d\n",__LINE__); #define debug(args...) {cout<<":: "; dbg,args; cout<<endl;} struct debugger {template<typename T>debugger& operator , (const T& v) {cout << v << " "; return *this;}} dbg; #else #define bug #define debug(args...) #endif //debugging macros
In this case -Dredback flag is provided with compilation command. Other people uses -DONLINE_JUDGE
-Dredback
-DONLINE_JUDGE
Now, in my scenario, the following two command will be very useful,
$ cf test $ cf test -d
-D flag is provided for debugging compilation in 2nd options.
-D
To achieve this, one extra field debugging_before_script can be added to the templates.
debugging_before_script
{ "template": [ { "alias": "cpp", "lang": "54", "path": "...", "suffix": [ "cpp" ], "before_script": "g++ $%full%$ -o $%file%$.o -std=c++17", "debugging_before_script": "g++ $%full%$ -o $%file%$.o -std=c++17 -Dredback", "script": "./$%file%$.o", "after_script": "" } ], } }
The text was updated successfully, but these errors were encountered:
If this sounds good, I can start working on the source code.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hello,
Thanks for this great tool.
I use debugging macros with ifdef like following:
In this case
-Dredback
flag is provided with compilation command. Other people uses-DONLINE_JUDGE
Now, in my scenario, the following two command will be very useful,
-D
flag is provided for debugging compilation in 2nd options.To achieve this, one extra field
debugging_before_script
can be added to the templates.The text was updated successfully, but these errors were encountered: