MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014686 | CMake | CMake | public | 2014-01-07 19:41 | 2014-06-02 08:38 |
Reporter | azdagron | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | Windows 7 | OS Version | 6.1.7601 |
Product Version | CMake 2.8.12 | ||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||
Summary | 0014686: FindBoost.cmake does not provide a way to use libraries built by boost with the runtime-debugging=off bjam parameter | ||||
Description | FindBoost.cmake unconditionally adds the "g" portion to the debug ABI tag indicating that it wants the versions of the libraries using the debug runtime. When bjam is provided the runtime-debugging=off command-line option, the release version of the runtime is used instead | ||||
Steps To Reproduce | 1) bjam link=static runtime-link=shared runtime-debugging=off (produces a binary on windows with no "-*g-" in the name, e.g. libboost_date_time-vc110-mt-d-1_55.lib) 2) use FindBoost as follows: set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) find_package(Boost 1.55.0 REQUIRED COMPONENTS date_time) | ||||
Additional Information | I propose the inclusion of a Boost_USE_RUNTIME_DEBUGGING option to mirror that provided to bjam with conditionally skips the addition of "g" to the debug ABI tag: +if(Boost_USE_RUNTIME_DEBUGGING) if(WIN32) if(MSVC OR "${CMAKE_CXX_COMPILER}" MATCHES "icl" OR "${CMAKE_CXX_COMPILER}" MATCHES "icpc") set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}g") endif() endif() +endif() | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-01-07 19:41 | azdagron | New Issue | |||
2014-01-07 19:44 | azdagron | Note Added: 0034912 | |||
2014-01-08 09:12 | Brad King | Description Updated | bug_revision_view_page.php?rev_id=1358#r1358 | ||
2014-01-08 09:12 | Brad King | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=1360#r1360 | ||
2014-01-08 09:12 | Brad King | Additional Information Updated | bug_revision_view_page.php?rev_id=1362#r1362 | ||
2014-01-08 09:14 | Brad King | Note Added: 0034914 | |||
2014-01-08 11:19 | azdagron | Note Added: 0034915 | |||
2014-01-08 11:35 | Brad King | Note Added: 0034916 | |||
2014-01-09 10:09 | Brad King | Assigned To | => Brad King | ||
2014-01-09 10:09 | Brad King | Status | new => resolved | ||
2014-01-09 10:09 | Brad King | Resolution | open => fixed | ||
2014-01-09 10:09 | Brad King | Fixed in Version | => CMake 3.0 | ||
2014-01-09 10:09 | Brad King | Target Version | => CMake 3.0 | ||
2014-06-02 08:38 | Robert Maynard | Note Added: 0036072 | |||
2014-06-02 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|