MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014473 | CMake | CMake | public | 2013-10-10 06:20 | 2016-06-10 14:31 |
Reporter | Paul "TBBle" Hampson | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | moved | ||
Platform | x86_64 | OS | Windows | OS Version | 7 |
Product Version | CMake 2.8.11.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014473: Add CMAKE_CXX_LIBRARY_ARCHITECTURE support for Windows-MSVC Platform | ||||
Description | As it came up in issue 0014029, I discovered that currently no attempt is made to populate CMAKE_CXX_LIBRARY_ARCHTECTURE for the Windows-MSVC Platform. The attached patch should do so, for both MSVC and Clang-CL (pretending to be MSVC), based on the path to the MSVC-bundled runtime libraries. The main outstanding issue is that CMAKE_CXX_LIBRARY_ARCHITECTURE's not as useful on this platform as it could be, as there's no solid consensus on what this value should be (Microsoft appear to have changed their opinion about it as they've gone through Visual Studio and Platform SDK releases. I don't have Visual Studio 2013 here or extra platforms installed for the Visual Studio installations I do have, so it's possible the regex is missing some options. It'd be nice if the "/lib/" in the path match was part of the regex variable instead of being always present, as then "/VC/lib/(.*)" would be a safer match. http://cmake.org/Bug/view.php?id=14029 [^] | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | msvc, visual studio | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/4899/0001-MSVC-Populate-CMAKE_CXX_LIBRARY_ARCHITECTURE.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-10-10 06:20 | Paul "TBBle" Hampson | New Issue | |||
2013-10-10 06:20 | Paul "TBBle" Hampson | File Added: 0001-MSVC-Populate-CMAKE_CXX_LIBRARY_ARCHITECTURE.patch | |||
2013-10-10 06:24 | Paul "TBBle" Hampson | Tag Attached: msvc | |||
2013-10-10 06:24 | Paul "TBBle" Hampson | Tag Attached: visual studio | |||
2013-10-10 08:55 | Brad King | Note Added: 0034095 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042389 | |||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|