From: Francesco M. <f18...@ya...> - 2006-11-09 12:12:41
|
Klaas Holwerda ha scritto: > John Labenski wrote: > >> $nmake WX_VERSION=27 WX_DEBUG=0 -f makefile.vc > > Oke if that is the way, better cjhange it to the lattest official release i think. > > I wonder why it is not possible to detect the version (as i do in Cmake from the library names ). > > C:\wxMSW-2.7.2\lib\vc_lib\mswd\build.cfg > > Contains this after wxWidgets is build: > > WXVER_MAJOR=2 > WXVER_MINOR=7 > WXVER_RELEASE=2 > > So the information is there, wonder why Franscesco is not using this, maybe it is not doable in nmake. right - DOS and NMAKE don't give you enough tools to do that. And I also see another major problem: if you have multiple wx builds then you're going to have multiple build.cfg files in different subfolders of vc_lib; how can you choose one among them ? There's no notion of "default build" on Windows... so autodetection of the build configuration is possible only on linux with autoconf format... > wx-config.exe ( recently mentioned on the dev list )does it like that. right... but it needs a shell / make tool which supports backtick expansion (aka command expansion), which is not the case for most of win32 MAKEs... Francesco |