<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:00:54 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CXX-957] Allow a user to decide whether to build static or shared libraries</title>
                <link>https://jira.mongodb.org/browse/CXX-957</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Currently, both the static and shared libraries are built when configuring and compiling with CMake. Usually, projects will allow you to specify whether you want to build the static or shared library, or both. For example, with autoconf, the configure script allows you to specify the flags &lt;tt&gt;&amp;#45;&amp;#45;enable-static&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;enable-shared&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;disable-static&lt;/tt&gt;, or &lt;tt&gt;&amp;#45;&amp;#45;disable-shared&lt;/tt&gt;. Similarly, CMake has a standard option, &lt;tt&gt;BUILD_SHARED_LIBS&lt;/tt&gt;, which is usually specified during the configuration step, e.g. &lt;tt&gt;cmake -DBUILD_SHARED_LIBS=ON ..&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;It would be useful the user could decide whether to build the C++ driver as a shared or static library. Sometimes it is useful to have only the static libraries installed. For example, when both the dynamic and static libraries are installed, a linker flag such as &lt;tt&gt;&amp;#45;lmongocxx&lt;/tt&gt; will automatically choose the dynamic library. The only way to specify the static library in this case is to provide the full path to the static library instead of the flag with just the library name.&lt;/p&gt;

&lt;p&gt;This is not a major issue because the dynamic libraries can simply be removed after the installation step is complete. However, it would be nice if you could decide at configuration time which libraries (dynamic or static) you wanted to build so as to avoid unnecessary build steps.&lt;/p&gt;</description>
                <environment>Linux/Unix</environment>
        <key id="296611">CXX-957</key>
            <summary>Allow a user to decide whether to build static or shared libraries</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="jwang">Jonathan Wang</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Jun 2016 20:36:08 +0000</created>
                <updated>Tue, 29 Nov 2016 19:32:17 +0000</updated>
                            <resolved>Wed, 19 Oct 2016 21:56:42 +0000</resolved>
                                    <version>3.0.1</version>
                                    <fixVersion>3.1.0</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1444927" author="xgen-internal-githook" created="Tue, 29 Nov 2016 18:47:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;acmorrow&apos;, u&apos;name&apos;: u&apos;Andrew Morrow&apos;, u&apos;email&apos;: u&apos;acm@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-957&quot; title=&quot;Allow a user to decide whether to build static or shared libraries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-957&quot;&gt;&lt;del&gt;CXX-957&lt;/del&gt;&lt;/a&gt; Honor BUILD_SHARED_LIBS to a sufficient degree&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/f4a8e108a4b61558a5cc49e69d322428846d5fe3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/f4a8e108a4b61558a5cc49e69d322428846d5fe3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1413191" author="david.golden" created="Wed, 19 Oct 2016 21:56:42 +0000"  >&lt;p&gt;Ticket was automatically moved to &quot;Needs Triage&quot; when the legacy &quot;Resolved&quot; status was deleted from our workflow template.  Moving to Closed status instead.&lt;/p&gt;</comment>
                            <comment id="1381163" author="acm" created="Sat, 10 Sep 2016 14:30:33 +0000"  >&lt;p&gt;Resolved by commit &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/f4a8e108a4b61558a5cc49e69d322428846d5fe3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/f4a8e108a4b61558a5cc49e69d322428846d5fe3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1379719" author="acm" created="Thu, 8 Sep 2016 17:23:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/525&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/525&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1306314" author="acm" created="Fri, 24 Jun 2016 20:47:02 +0000"  >&lt;p&gt;Thanks, this is a good suggestion. We are planning some CMake work for the 3.1.0 release, so I will schedule this there.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrdsun:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1244">Platforms 2016-09-19</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>