I have try to create a Tools item like this:
$(CODEBLOCKS)\test.bat [[CompileOptionsBase().GetCompilerOptions();]]
and the content of test.bat is:
But the pop-up window does not show the compiler options but just say "echo is off".
I want the compiler options is because I am trying to create a clang-check item in Tools, clang-check need to know the current compiler options.
So, is there any way to do this?
Could NOT get yours to work; but, this did using the ToolPlus Plugin
Edit: Just got the echo message like you did with your command.
$(CODEBLOCKS)\test.bat [[ print(GetProjectManager().GetActiveProject().GetTitle()); ]]
Tim S.
$(CODEBLOCKS)\test.bat "[[ print(CompileOptionsBase().GetCompilerOptions()); ]]"
This time I got:
"(null : 0x00000000)"
Does CompileOptionsBase().GetCompilerOptions() work in my case ?