View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012567 | CMake | Documentation | public | 2011-11-09 20:52 | 2013-03-04 08:38 | ||||
Reporter | Mateusz Loskot | ||||||||
Assigned To | Rolf Eike Beer | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Windows | OS | Windows 7 Professional | OS Version | Windows 6.1 | ||||
Product Version | CMake 2.8.6 | ||||||||
Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | ||||||
Summary | 0012567: MSVC11 variable is not documented, nor some other versions | ||||||||
Description | This version of CMake supports generator for Visual Studio 11 (current Developer Preview): C:\>cmake --help | grep "Visual Studio 11" Visual Studio 11 = Generates Visual Studio 11 project files. Visual Studio 11 Win64 = Generates Visual Studio 11 Win64 project However, MSVC11 variable is not set. So, CMake-provided modules like FindBoost.cmake can not perform libraries lookup effectively, because they rely on MSVCXY variable: ... elseif (MSVC90) set(_boost_COMPILER "-vc90") elseif (MSVC10) set(_boost_COMPILER "-vc100") ... It also looks FindBoost.cmake is lacking of elseif (MSVC11) set(_boost_COMPILER "-vc110") By the way, the documentation mentions only MSVC and MSVC80 variables: http://cmake.org/cmake/help/cmake-2-8-docs.html#variable:MSVC80 [^] It does not document variables for other versions of Visual C++ like MSVC71. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | 0001-add-documentation-for-all-MSVCxxx-version-variables-.patch [^] (2,164 bytes) 2012-09-09 08:03 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0027741) Mateusz Loskot (reporter) 2011-11-09 21:03 |
I apologies for this premature report. CMake does set the boolean variable MSVC11. The problem is only with lack of update in FindBoost.cmake. I'll submit patch. Please, close this ticket, it's invalid. |
(0027746) David Cole (manager) 2011-11-10 11:02 |
You do have a valid point about MSVC80 being the only documented version-specific MSVC* variable, though... We should add docs for the others, too. |
(0027969) David Cole (manager) 2011-12-13 19:26 |
Unset target version field; too late for a fix to go into 2.8.7; deferred until a future version. |
(0030620) David Cole (manager) 2012-08-13 15:40 |
Sending old, not-recently-updated issues to the backlog. (The age of the bug alone means that nobody is actively working on it...) If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing. |
(0030963) Rolf Eike Beer (developer) 2012-09-09 08:04 |
David, is this patch enough to fix this issue? |
(0030974) Brad King (manager) 2012-09-10 08:45 |
Thanks, Eike, that looks good to us. |
(0031019) Rolf Eike Beer (developer) 2012-09-12 15:55 |
Fix merged to next: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c10cb2fed7916af9983df814870d6d8de49a868a [^] |
(0032447) Robert Maynard (manager) 2013-03-04 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-11-09 20:52 | Mateusz Loskot | New Issue | |
2011-11-09 21:03 | Mateusz Loskot | Note Added: 0027741 | |
2011-11-10 07:59 | Brad King | Status | new => resolved |
2011-11-10 07:59 | Brad King | Resolution | open => no change required |
2011-11-10 07:59 | Brad King | Assigned To | => Brad King |
2011-11-10 10:59 | David Cole | Fixed in Version | => CMake 2.8.7 |
2011-11-10 10:59 | David Cole | Target Version | => CMake 2.8.7 |
2011-11-10 11:02 | David Cole | Note Added: 0027746 | |
2011-11-10 12:00 | Brad King | Assigned To | Brad King => David Cole |
2011-11-10 12:00 | Brad King | Status | resolved => feedback |
2011-11-10 12:00 | Brad King | Resolution | no change required => reopened |
2011-11-10 12:01 | Brad King | Status | feedback => assigned |
2011-11-10 12:01 | Brad King | Summary | MSVC11 variable is not set => MSVC11 variable is not documented, nor some other versions |
2011-12-13 19:26 | David Cole | Note Added: 0027969 | |
2011-12-13 19:26 | David Cole | Fixed in Version | CMake 2.8.7 => |
2011-12-13 19:26 | David Cole | Target Version | CMake 2.8.7 => |
2012-08-13 15:40 | David Cole | Status | assigned => backlog |
2012-08-13 15:40 | David Cole | Note Added: 0030620 | |
2012-09-09 08:03 | Rolf Eike Beer | File Added: 0001-add-documentation-for-all-MSVCxxx-version-variables-.patch | |
2012-09-09 08:04 | Rolf Eike Beer | Note Added: 0030963 | |
2012-09-10 08:45 | Brad King | Note Added: 0030974 | |
2012-09-10 08:45 | Brad King | Assigned To | David Cole => Rolf Eike Beer |
2012-09-10 08:45 | Brad King | Status | backlog => assigned |
2012-09-10 08:45 | Brad King | Resolution | reopened => open |
2012-09-10 08:45 | Brad King | Target Version | => CMake 2.8.10 |
2012-09-12 15:55 | Rolf Eike Beer | Note Added: 0031019 | |
2012-09-12 15:55 | Rolf Eike Beer | Status | assigned => resolved |
2012-09-12 15:55 | Rolf Eike Beer | Resolution | open => fixed |
2012-09-12 15:55 | Rolf Eike Beer | Category | CMake => Documentation |
2012-09-12 15:55 | Rolf Eike Beer | Fixed in Version | => CMake 2.8.10 |
2013-03-04 08:38 | Robert Maynard | Note Added: 0032447 | |
2013-03-04 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |