News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Modification of Global variable for wxWigets

Started by phkninja, April 17, 2006, 03:48:03 AM

Previous topic - Next topic

phkninja

I was wondering if it is possible to permanantly modify the location string for thewxWindows global Variable WXDIR.
Code::Blocks is currently configured to use C:\wxWidgets-2.6.2 for WXDIR, and im using wxWidgets-2.6.3. Do i have to change WXDIR every time i create a project or is it possible to change it so the template automatically use the directory i provide.

I searched for template and wxwigets and couldnt find the answer, so im hoping this isnt a question that was already answered.

killerbot


thomas

WXDIR is not a global variable (at least not the one officially used for wxWidgets). WXDIR is the project variable used in the RC2 templates. This can be set in the rightmost tab in project options.

The name of the global variable used to describe the path to wxWidgets is simply wx (or #wx in the compiler/linker path dialog). This can be changed according to Lieven's post.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."