Francesco Montorsi wrote:
> 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...

The default is debug, which is found in %WXWIN%. Others need to be specified 
with BUILD=

> 
> 
>>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...

He also talks about "and in VC using response files" to make this happen.
I don't know what that is. I do know that Cmake produces targets that run *.bat 
batch files, and produce files.
Those targets are part of the VC projects files. I will try to find what is 
happening in case of nmake generated makefile.
If such a target can produce some file, which is include in the nmake files 
somehow, it might be possible.

Klaas



-- 
Unclassified

-------------------------------------------------------------------------
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