> -----Original Message-----
> From: Brad King [mailto:[email protected]]
> Sent: Monday, June 15, 2015 4:11 PM
> To: Stuermer, Michael SP/HZA-ZSEP
> Cc: [email protected]
> Subject: Re: [cmake-developers] [PATCH] fixed msvc 64 bit build
> 
> On 06/15/2015 07:58 AM, Stuermer, Michael SP/HZA-ZSEP wrote:
> > This is just a one-char-bugfix, WIN32 instead of _WIN32 macro was
> used.
> 
> Thanks.  There are several instances of this in Source/*.  I've fixed
> the one you pointed out and more:
> 
>  Fix preprocessor checks WIN32 => _WIN32
>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=83af11d4
> 
> There is one other in Source/kwsys that I've fixed in upstream KWSys:
> 
>  http://review.source.kitware.com/19926
> 
> and will integrate back to CMake after testing there.
> 
> > Are there any regular Win64 builds done actually?
> 
> Yes.  We have nightly testing for it which has been clean.
> It is also my main Windows development architecture.
> 
> The "WIN32" symbol is normally defined by CMAKE_CXX_FLAGS if the
> default flags are used for MSVC.  How did you configure the build?
> 
> -Brad

My setup was roughly:
 - Visual Studio 2013
 - CMake 3.0.2
 - Qt4.8.6
 - Qt dialog enabled
 - Documentation enabled
 - cpack with NSIS & WIX enabled
 - no special compiler configuration or so ...

I can not really reproduce if there was something broken in my CMake 
installation as I replaced it after successful build, but I didn't change any 
flags deliberately.

It doesn't really matter, but isn't the "WIN32" symbol defined in a common 
place for both 32 and 64 bit configurations? This makes it a bit interesting, 
as the 32 bit build worked flawlessly.

Michael

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to