View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014342CMakeCMakepublic2013-08-06 23:112016-06-10 14:31
ReporterCraig Scott 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOS64-bitOS Version7
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0014342: CMAKE_SYSTEM_PROCESSOR behaviour changed
DescriptionThe behaviour of the value of CMAKE_SYSTEM_PROCESSOR appears to have changed somewhere between 2.8.10.1 and 2.8.11.2. I build 32-bit apps on a 64-bit Windows 7 system and I use VS2008 (express version, no 64-bit compiler). With CMake 2.8.10.1, CMAKE_SYSTEM_PROCESSOR is reported to have the value x86, but with 2.8.11.2, now it has the value AMD64. I verified this with both versions of CMake and testing a trivial CMake project that simply prints the value of the variable.

According to the CMake documentation, on the one hand, the value should have always been AMD64 since the documentation says it just pulls the value from the PROCESSOR_ARCHITECTURE environment variable. On the other hand, this conflicts with the statement that it should reflect the target architecture. I think x86 would be the correct value here rather than simply reporting whatever PROCESSOR_ARCHITECTURE says, since that environment variable is not going to always match the target architecture.
TagsNo tags attached.
Attached Files

 Relationships
related to 0015170closedKitware Robot CMAKE_SYSTEM_PROCESSOR is broken on Windows 

  Notes
(0033676)
Craig Scott (reporter)
2013-08-06 23:16

FYI, I'm using the NMake Makefiles generator with cmake/cmake-gui launched from the VS2008 command prompt shell.
(0033677)
Rolf Eike Beer (developer)
2013-08-07 02:17

Just out of curiosity: have you build the CMake version yourself and have build a 64 bit one?
(0033678)
Craig Scott (reporter)
2013-08-07 02:26

Nope, I'm using the 32-bit pre-built binaries from Kitware's download area.
(0042345)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-08-06 23:11 Craig Scott New Issue
2013-08-06 23:16 Craig Scott Note Added: 0033676
2013-08-07 02:17 Rolf Eike Beer Note Added: 0033677
2013-08-07 02:17 Rolf Eike Beer Summary CMAKE_SYSTEM_PROCESS behaviour changed => CMAKE_SYSTEM_PROCESSOR behaviour changed
2013-08-07 02:26 Craig Scott Note Added: 0033678
2014-09-24 09:13 Brad King Relationship added related to 0015170
2016-06-10 14:29 Kitware Robot Note Added: 0042345
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team