<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:03:56 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-1792] Add CMake flag for skipping tests compilation</title>
                <link>https://jira.mongodb.org/browse/CXX-1792</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;is there a way like -DENABLE_TESTS=OFF for libmongoc to avoid the compilation of the tests altogether?&lt;/p&gt;

&lt;p&gt;I can&apos;t seem to find one in the code nor any question related to it here.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</description>
                <environment></environment>
        <key id="805248">CXX-1792</key>
            <summary>Add CMake flag for skipping tests compilation</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="kyle.kloberdanz@mongodb.com">Kyle Kloberdanz</assignee>
                                    <reporter username="ehadoux">Emmanuel Hadoux</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Jun 2019 16:41:15 +0000</created>
                <updated>Thu, 10 Aug 2023 13:33:23 +0000</updated>
                            <resolved>Thu, 10 Aug 2023 13:33:23 +0000</resolved>
                                    <version>3.4.0</version>
                                    <fixVersion>3.9.0</fixVersion>
                                    <component>Build</component>
                    <component>Testing</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5624515" author="xgen-internal-githook" created="Wed, 9 Aug 2023 21:01:22 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kyle Kloberdanz&apos;, &apos;email&apos;: &apos;kyle.kloberdanz@mongodb.com&apos;, &apos;username&apos;: &apos;kkloberdanz&apos;}
&lt;p&gt;Message: Skip building tests by default (#993)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1792&quot; title=&quot;Add CMake flag for skipping tests compilation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1792&quot;&gt;&lt;del&gt;CXX-1792&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2702&quot; title=&quot;Do not build tests or examples on default source install&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2702&quot;&gt;&lt;del&gt;CXX-2702&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tests will not be compiled by default.&lt;br/&gt;
To enable building tests, build with -DBUILD_TESTING=ON&lt;/p&gt;

&lt;p&gt;---------&lt;/p&gt;

&lt;p&gt;Co-authored-by: vector-of-bool &amp;lt;vectorofbool@gmail.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/7b01ed292151a24bb7901e3b1236ad5a3a910c9e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/7b01ed292151a24bb7901e3b1236ad5a3a910c9e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2418055" author="ehadoux" created="Thu, 12 Sep 2019 15:17:58 +0000"  >&lt;p&gt;No worries, thanks for your work.&lt;/p&gt;</comment>
                            <comment id="2418054" author="clyde.bazile" created="Thu, 12 Sep 2019 15:16:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ehadoux&quot; class=&quot;user-hover&quot; rel=&quot;ehadoux&quot;&gt;ehadoux&lt;/a&gt;, thanks for bringing this to our attention. C++ Driver currently does not support this option but we will consider it for a future release. We&apos;ve placed this in the backlog for the time being but feel free to follow this issue for updates.&lt;/p&gt;</comment>
                            <comment id="2417555" author="ehadoux" created="Thu, 12 Sep 2019 09:42:04 +0000"  >&lt;p&gt;Hi&#160;@Clyde Bazile,&lt;/p&gt;

&lt;p&gt;I was indeed referring to libmongocxx. Is there any sort of plan to add the option to it?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Emmanuel&lt;/p&gt;</comment>
                            <comment id="2415218" author="clyde.bazile" created="Tue, 10 Sep 2019 20:03:45 +0000"  >&lt;p&gt;Hi, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ehadoux&quot; class=&quot;user-hover&quot; rel=&quot;ehadoux&quot;&gt;ehadoux&lt;/a&gt;, are you referring to libmongoc or libmongocxx? For libmongoc you can add -DENABLE_TESTS=OFF to the cmake arguments when you build the driver. The C++ Driver does not have this option.&lt;/p&gt;

&lt;p&gt;Thanks, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=clyde.bazile&quot; class=&quot;user-hover&quot; rel=&quot;clyde.bazile&quot;&gt;clyde.bazile&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2377515">CXX-2702</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CXX-2622</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6loi:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>