You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2018/01/14 13:15:41 UTC

[Bug 61997] New: cmake build environment for windows should have an option to choose static or shared msvc runtime

https://bz.apache.org/bugzilla/show_bug.cgi?id=61997

            Bug ID: 61997
           Summary: cmake build environment for windows should have an
                    option to choose static or shared msvc runtime
           Product: APR
           Version: HEAD
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: jking@apache.org
  Target Milestone: ---

Perhaps a failing on cmake's part for not adding this after years of asking,
but it is useful to have a cmake build option to change /MD to /MT and /MDd to
/MTd, for example:

option(MSVC_SHARED_RUNTIME "Link against the shared MSVC runtime" ON)

An example implementation of this can be found at:

https://github.com/apache/logging-log4cxx/pull/3/files#diff-91ef961b4f976f65e17a454702be8e4eR57

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org