Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

[UPDATED] EnvVars plugin

<< < (2/3) > >>

MortenMacFly:

--- Quote from: Game_Ender on May 30, 2007, 03:22:20 pm ---Really this is a flaw/missing feature in CB almost all other IDE's I have used let you set these on a per executable basis.  These being Eclipse, XCode and VS.

--- End quote ---
What are you talking about? This is what I have implemented and what I want to be tested - did you try before you speech?! :?
With regards, Morten.

Game_Ender:
:oops: Sorry about that, should of  payed closer attention.  Building and beta testing as we speak.

Game_Ender:
I have more debugging I can do but right now it looks like you don't unset all the variables when you change what set your project is using.  Also I can't seem to set LD_LIBRARY_PATH, it might be because my run shows something like "LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH" and that might be over riding the variable.

dmoore:
I'm having the same troubles with LD_LIBRARY_PATH (trying to set it to /usr/local/lib so I can run a GSL app from within CB). anyone have a solution for this?

yop:
Oh, and another one that I came across and didn't pay much attention to (sorry  :oops:). In the .cbp  file the envars plugin writes multiple entries (one after each save after the "project has changed" prompt). This is the Extensions part of my project that I can see this behavior (I had to save it a few times testing a QtWorkbench feature).

--- Code: --- <Extensions>
<envvars />
<code_completion>
<search_path add="$(#qt.include)" />
<search_path add="$(#qt.include)/QtCore" />
<search_path add="$(qt.include)/QtGui" />
</code_completion>
<debugger />
<envvars />
<qtworkbench>
<enabled value="true" />
</qtworkbench>
<envvars />
<envvars />
<envvars />
<envvars />
</Extensions>

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version