visual studio express 2012 and cmake

advertisements

I am looking for a way to compile some libraries which come ready to be used through cmake, the problem is that I would like to use VC++ express 2012 (the first express version to allow x64 development) however when I run cmake I keep getting this:

CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 11".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Could not find cmake module file:C:/Users/Alexander Rojas/workspace/jthread-1.3.1/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not find cmake module file:C:/Users/Alexander Rojas/workspace/jthread-1.3.1/build/CMakeFiles/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!

I found that this path is the path to devenv.exe but this brand new vc doesn't have this program. Any ideas for a workaround?


So, in the file CMakeVS11FindMake.cmake I had to change all references of the registry key

HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0

to the key

HKEY_CURRENT_USER\\Software\\Microsoft\\WDExpress\\11.0_Config

(just adding them as an extra hint will work)