title: How to set cmake CXX variable on windows
body: <p>I am getting the following error</p>
  
  <p>Working on: Microsoft Windows [Versión 6.1.7601]</p>
  
  <p>ErrorS:</p>
  
  <pre><code>CMake Warning at CMakeLists.txt:4 (project):
    To use the NMake generator, cmake must be run from a shell that can use the
    compiler cl from the command line.  This environment does not contain
    INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
    work.
  
  
  -- The C compiler identification is unknown
  -- The CXX compiler identification is unknown
  CMake Error at CMakeLists.txt:4 (project):
    The CMAKE_C_COMPILER:
  
      cl
  
    is not a full path and was not found in the PATH.
  
    Tell CMake where to find the compiler by setting either the environment
    variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
    the compiler, or to the compiler name if it is in the PATH.
  
  
  CMake Error at CMakeLists.txt:4 (project):
    The CMAKE_CXX_COMPILER:
  
      cl
  
    is not a full path and was not found in the PATH.
  
    Tell CMake where to find the compiler by setting either the environment
    variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
    to the compiler, or to the compiler name if it is in the PATH.
  
  
  -- Configuring incomplete, errors occurred!
  </code></pre>
  
  <p>If somone can help...</p>