View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010509CMakeCMakepublic2010-04-04 10:192016-06-10 14:31
ReporterDmytro Skrypnyk 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010509: CMAKE_CL_64 is only set if C is enabled, for only CXX projects the variable does not get set
DescriptionI discovered that CMake 2.8.1 doesn't set CMAKE_CL_64 variable for 64-bit compiler, but CMake 2.8.0 sets it as expected.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0020074)
Bill Hoffman (manager)
2010-04-05 11:38

What generator are you using?
(0020075)
Dmytro Skrypnyk (reporter)
2010-04-05 11:43

cmake -G "NMake Makefiles"
(0020076)
Bill Hoffman (manager)
2010-04-05 13:53

Can you create a small project:

project(foo)
add_library(bar bar.c)

Then run CMake on it with that generator, and tar up the build tree, and attach the tar gz, or zip to this bug?
(0020077)
Dmytro Skrypnyk (reporter)
2010-04-06 06:36

project(foo CXX)
add_library(bar bar.cpp)
if(CMAKE_CL_64)
  message("64-bit microsoft compiler found")
else(CMAKE_CL_64)
  message("64-bit microsoft compiler NOT found")
endif(CMAKE_CL_64)

If I remove "CXX" in project command then all ok.
(0041678)
Kitware Robot (administrator)
2016-06-10 14:27

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
2010-04-04 10:19 Dmytro Skrypnyk New Issue
2010-04-05 11:38 Bill Hoffman Note Added: 0020074
2010-04-05 11:38 Bill Hoffman Status new => assigned
2010-04-05 11:38 Bill Hoffman Assigned To => Bill Hoffman
2010-04-05 11:43 Dmytro Skrypnyk Note Added: 0020075
2010-04-05 13:53 Bill Hoffman Note Added: 0020076
2010-04-06 06:36 Dmytro Skrypnyk Note Added: 0020077
2010-04-06 08:56 Bill Hoffman Summary version 2.8.1 and CMAKE_CL_64 => CMAKE_CL_64 is only set if C is enabled, for only CXX projects the variable does not get set
2016-06-10 14:27 Kitware Robot Note Added: 0041678
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team