Re: [CMake] Win64 and InstallRequiredSystemLibraries.cmake

2008-11-13 Thread David Cole
Committed to CVS HEAD: http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/InstallRequiredSystemLibraries.cmake?root=CMake&r1=1.13&r2=1.14 Thanks for the report, David On Thu, Nov 13, 2008 at 3:42 PM, Clinton Stimpson <[EMAIL PROTECTED]>wrote: > > That fixes it for me too. > > Thanks, > Clin

Re: [CMake] Win64 and InstallRequiredSystemLibraries.cmake

2008-11-13 Thread Clinton Stimpson
That fixes it for me too. Thanks, Clint David Cole wrote: This fixes it for me: ... GET_FILENAME_COMPONENT(devenv_dir "${CMAKE_MAKE_PROGRAM}" PATH) GET_FILENAME_COMPONENT(base_dir "${devenv_dir}/../.." ABSOLUTE) IF(MSVC80) # Find the runtime library redistribution directory.

Re: [CMake] Win64 and InstallRequiredSystemLibraries.cmake

2008-11-13 Thread David Cole
This fixes it for me: ... GET_FILENAME_COMPONENT(devenv_dir "${CMAKE_MAKE_PROGRAM}" PATH) GET_FILENAME_COMPONENT(base_dir "${devenv_dir}/../.." ABSOLUTE) IF(MSVC80) # Find the runtime library redistribution directory. FIND_PATH(MSVC80_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft

Re: [CMake] Win64 and InstallRequiredSystemLibraries.cmake

2008-11-13 Thread Clinton Stimpson
I see in the cmake code that if I pick the Win64 generator, cmake takes a 64 bit view of the registry and tries to find things. That makes sense to me in general, such as finding 64 bit python, based on registry keys, etc... But Visual Studio itself is a 32 bit application, and the 64 bit r

Re: [CMake] Win64 and InstallRequiredSystemLibraries.cmake

2008-11-13 Thread David Cole
It's looking in the right place. You're using the 64-bit regedit. If you view it with the 32-bit regedit (found, paradoxically, at C:\WINDOWS\SysWOW64\regedit.exe) then you'll see it as 32-bit cmake is asking for it... Side note: you can always use Process Explorer from sysinternals.com to examine

Re: [CMake] Win64 and InstallRequiredSystemLibraries.cmake

2008-11-13 Thread Clinton Stimpson
The Process Explorer verifies its a 32 bit image. My CMakeLists.txt file === INCLUDE(InstallRequiredSystemLibraries) = end file In cmake-gui, if I pick the "Visual Studio 8 2005" generator, it sets MSVC80_REDIST_DIR correctly. If I go back File -> Delete Cache, then hit configure again, bu

[CMake] Win64 and InstallRequiredSystemLibraries.cmake

2008-11-13 Thread Clinton Stimpson
On 64 bit Windows... When I run cmake, the InstallRequiredSystemLibraries.cmake is not finding the MSVC80_REDIST_DIR automatically. It looks in [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0;InstallDir] for it, but its not there when I run regedit. Its actually in [HKEY_LOCAL_MACH

Re: [CMake] Win64

2008-02-04 Thread David Cole
CMAKE_CL_64 will be defined if you are running the configure for "NMake Makefiles" from a Win64 Visual Studio command prompt... or if you are running the configure for the "Visual Studio 8 2005 Win64" generator. I suspect you are using the "Visual Studio 8 2005" generator which will always produce

[CMake] Win64

2008-02-04 Thread Surya Kiran Gullapalli
Hello, I'm running cmake - 2.4.8 on win64 platform. Cmake was installed using the win32 installer. Now when i'm running cmake and doing some platform checks, I'm always getting the platform as x86 only. Like CMAKE_CL_64 is not defined. ENV{PROCESSOR_ARCHITECTURE} is x86. Even though at command p