You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2016/11/03 22:58:58 UTC
[jira] [Created] (THRIFT-3958) CMake WITH_MT option for windows
static runtime linking does not support the cmake build type RelWithDebInfo
James E. King, III created THRIFT-3958:
------------------------------------------
Summary: CMake WITH_MT option for windows static runtime linking does not support the cmake build type RelWithDebInfo
Key: THRIFT-3958
URL: https://issues.apache.org/jira/browse/THRIFT-3958
Project: Thrift
Issue Type: Bug
Components: C++ - Compiler, C++ - Library
Affects Versions: 0.9.3
Environment: Visual Studio 2010, CMake 3.6
Reporter: James E. King, III
Assignee: James E. King, III
Priority: Trivial
There is code in DefinePlatformSpecifc.cmake (note the file name has a typo in it) that allows one to set -DWITH_MT=ON and that will force the build to use a static runtime link. This works for debug and release builds, but not for RelWithDebInfo builds because the list in the cmake file is incomplete.
It would be nice to switch to the ucm.cmake tools to make this a bit easier, but to fix this just a couple lines need to be added to that define cmake.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)