View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013953 | CMake | CMake | public | 2013-02-26 02:47 | 2015-06-01 08:38 | ||||
Reporter | mseise | ||||||||
Assigned To | |||||||||
Priority | low | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Windows | OS | Windows | OS Version | 7 | ||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | CMake 3.0 | |||||||
Summary | 0013953: Visual Studio Express 2008 not found | ||||||||
Description | My Visual Studio Express 2008 environment is not found, thus the correct toolchain is not set up properly. The problem is in CMakeVS9FindMake.cmake The lines set( _CMAKE_MAKE_PROGRAM_NAMES devenv) if(NOT CMAKE_CROSSCOMPILING) set( _CMAKE_MAKE_PROGRAM_NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} VCExpress) endif() create the search String "devenvVCExpress" which is not found - for me the simple workaround set( _CMAKE_MAKE_PROGRAM_NAMES devenv) if(NOT CMAKE_CROSSCOMPILING) set( _CMAKE_MAKE_PROGRAM_NAMESVCExpress) endif() solved the issue. | ||||||||
Steps To Reproduce | Just use any cmake setup... | ||||||||
Additional Information | I have VS 2010 Professional and VC Express 2008 with 64 bit setup installed (for building python 2.7 bindings of ITK) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034483) Brad King (manager) 2013-11-19 11:29 |
The code in question does set( _CMAKE_MAKE_PROGRAM_NAMES devenv) if(NOT CMAKE_CROSSCOMPILING) set( _CMAKE_MAKE_PROGRAM_NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} VCExpress) endif() find_program(CMAKE_MAKE_PROGRAM NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} ... ) The second set() is appending to a ;-list which is evaluated as separate arguments to find_program. This is correct. I suspect you tried to debug this with the message command, but message(_CMAKE_MAKE_PROGRAM_NAMES=${_CMAKE_MAKE_PROGRAM_NAMES}) will not show the separating ";" because the unquoted argument will divide on ; and then the message command concatenates all arguments with no separation. Instead using message("_CMAKE_MAKE_PROGRAM_NAMES=${_CMAKE_MAKE_PROGRAM_NAMES}") shows that the list is intact. |
(0034484) Brad King (manager) 2013-11-19 11:30 |
Is this still an issue with the CMake 2.8.12.1, the current release? |
(0037761) Brad King (manager) 2015-01-21 09:07 |
The code in question no longer exists in CMake >= 3.0, so I'm assuming this is resolved. |
(0038852) Robert Maynard (manager) 2015-06-01 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-02-26 02:47 | mseise | New Issue | |
2013-11-19 11:29 | Brad King | Note Added: 0034483 | |
2013-11-19 11:30 | Brad King | Note Added: 0034484 | |
2015-01-21 09:07 | Brad King | Note Added: 0037761 | |
2015-01-21 09:07 | Brad King | Status | new => resolved |
2015-01-21 09:07 | Brad King | Resolution | open => fixed |
2015-01-21 09:07 | Brad King | Fixed in Version | => CMake 3.0 |
2015-06-01 08:38 | Robert Maynard | Note Added: 0038852 | |
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |