View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015148CMakeCMakepublic2014-09-10 11:012015-03-02 08:57
Reportera.grudin 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformWindows PhoneOSWindows OS Version8
Product VersionCMake 3.0.1 
Target VersionFixed in Version 
Summary0015148: CMAKE_FORCE_C_COMPILER requests full path to cl.exe
DescriptionThe 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 ReproduceCommand 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 InformationAlso 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!
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0036776)
Brad King (manager)
2014-09-10 11:18

This requirement was intentionally introduced as part of cleanups made with an increment of the major version number.

FYI, explicit support for Windows Phone was recently added to Visual Studio generators in the development version. Nightly binaries are here:

 http://www.cmake.org/files/dev/?C=M;O=D [^]

One can run a command like

 cmake .. -G "Visual Studio 12 2013" -DCMAKE_SYSTEM_NAME=WindowsPhone -DCMAKE_SYSTEM_VERSION=8.1

If you try it out please come to the cmake-developers list with any feedback:

 http://www.cmake.org/mailman/listinfo/cmake-developers [^]
(0038116)
Robert Maynard (manager)
2015-03-02 08:57

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2014-09-10 11:01 a.grudin New Issue
2014-09-10 11:18 Brad King Note Added: 0036776
2014-09-11 13:04 Brad King Status new => resolved
2014-09-11 13:04 Brad King Resolution open => won't fix
2015-03-02 08:57 Robert Maynard Note Added: 0038116
2015-03-02 08:57 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team