CodeCompass
CodeCompass copied to clipboard
Finding CodeCompass binary path
Multiple plugins need to know the absolute path of the CodeCompass binary that is being run, in places where they don't reach argv[0].
What do plugins need this information for?
What do plugins need this information for?
It's usually that the plugin needs to run another binary on a relative path to the CC binary (e.g. the competence plugin wants to run JPlag, Java and C# plugins need to run their own parser components in their respective languages), and this can't be done if the CC binary is not run from the install directory.