The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15148 
====================================================================== 
Reported By:                a.grudin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15148
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-09-10 11:01 EDT
Last Modified:              2014-09-10 11:01 EDT
====================================================================== 
Summary:                    CMAKE_FORCE_C_COMPILER requests full path to cl.exe
Description: 
The CMake version 2.8 requires just relative path to cl.exe. Like:
include(CMakeForceCompiler)
CMAKE_FORCE_C_COMPILER("cl.exe" "ARM")

And it was convinient. But for new one the options requires to be absolute path.

CMAKE_FORCE_C_COMPILER("C:/Program Files (x86)/Microsoft Visual Studio
11.0/VC/WPSDK/WP80/bin/cl.exe" "ARM")

Steps to Reproduce: 
Command line:
cmake -G "Visual Studio 11 2012 ARM" -T"v110_wp80" ../Project


CMakeLists.txt:
include(CMakeForceCompiler)
CMAKE_FORCE_C_COMPILER("cl.exe" "ARM")
CMAKE_FORCE_CXX_COMPILER("cl.exe"  "ARM")
endif()

project(SE)

Additional Information: 
Also check system files when warning about unused and uninitialized variables.
CMake Error at CMakeLists.txt:385 (project):
  The CMAKE_C_COMPILER:

    cl.exe

  is not a full path and was not found in the PATH.



-- Configuring incomplete, errors occurred!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-09-10 11:01 a.grudin       New Issue                                    
======================================================================

-- 

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