Code::Blocks Forums

User forums => Help => Topic started by: phkninja on April 17, 2006, 03:48:03 am

Title: Modification of Global variable for wxWigets
Post by: phkninja on April 17, 2006, 03:48:03 am
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.
Title: Re: Modification of Global variable for wxWigets
Post by: killerbot on April 17, 2006, 09:36:42 am
settings menu -> global variables
Title: Re: Modification of Global variable for wxWigets
Post by: thomas on April 17, 2006, 12:23:49 pm
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.