Jaakko Salli ha scritto:
> Hi all,
Hi,
    just back from holidays so, sorry for the delay.


> 
> I'm compiling a component for wxWidgets 2.7.0,
> and it seems that bakefile-generated makefiles
> are not generated correctly for it. In the
> resulting makefile.vc, for instance, I would
> need to manually adjust WX_VERSION to 27 before
> it builds.
you can fix this using:

  <set var="WX_VERSION_DEFAULT">27</set>

just after

  <include file="$(WXCODE_BAKEFILEDIR)/defaults.bkl"/>


> I did double-check that my WXWIN was
> set to directory with correct wxWidgets version.
makefile.vc is not able to understand the wx version from the location 
of wxWidgets (like all other formats except autoconf); so it needs 
WX_VERSION to be correctly set.

> Also, can anyone tell me why makefile command-
> line uses different symbols than when building
> wxWidgets itself? Atleast for makefile.vc, I
> need to specify WX_DEBUG=1 instead of DEBUG=1,
> and so forth.
This is a known "problem". the logic behind this is acceptable for a 
generic wx-based application: you want wxWidgets-specific settings to be 
separed from the app-specific settings. This is why I've never asked 
Vaclav to change these names in wx presets.

OTOH, since WX_UNICODE and WX_DEBUG must be always set to the same 
values of the app's own unicode and debug options (otherwise you'll get 
linking errors), I tried to make it possible to rename from a bakefile 
an option defined in another bakefile.
I managed to allow it in a transparent way. But the patch which does 
that 
(http://sourceforge.net/tracker/index.php?func=detail&aid=1363938&group_id=83016&atid=568031)
 
lies in the patch tracker...

Francesco


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to