<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:58:43 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-270] Clarify SCons targets</title>
                <link>https://jira.mongodb.org/browse/CXX-270</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The &apos;all&apos; target doesn&apos;t actually build everything.&lt;/li&gt;
	&lt;li&gt;&apos;mongoclient-install&apos;: what else is there to install?&lt;/li&gt;
	&lt;li&gt;There is no Default target.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We should come up with a better set of install aliases, and ensure that the travis build actually builds every buildable target.&lt;/p&gt;</description>
                <environment></environment>
        <key id="145116">CXX-270</key>
            <summary>Clarify SCons targets</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="adam.midvidy">Adam Midvidy</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Wed, 2 Jul 2014 19:22:09 +0000</created>
                <updated>Mon, 8 Jan 2024 15:30:32 +0000</updated>
                            <resolved>Wed, 10 Sep 2014 21:05:53 +0000</resolved>
                                    <version>legacy-0.10.0</version>
                                    <fixVersion>legacy-1.0.0-rc1</fixVersion>
                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="715647" author="xgen-internal-githook" created="Wed, 10 Sep 2014 14:10:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;amidvidy&apos;, u&apos;name&apos;: u&apos;Adam Midvidy&apos;, u&apos;email&apos;: u&apos;amidvidy@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-270&quot; title=&quot;Clarify SCons targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-270&quot;&gt;&lt;del&gt;CXX-270&lt;/del&gt;&lt;/a&gt; change mongoclient target to driver, add examples to test target&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/820932a3b6c80dd347d0c0e95ae7eecc6a24a97f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/820932a3b6c80dd347d0c0e95ae7eecc6a24a97f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="710938" author="xgen-internal-githook" created="Wed, 3 Sep 2014 20:00:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;amidvidy&apos;, u&apos;name&apos;: u&apos;Adam Midvidy&apos;, u&apos;email&apos;: u&apos;amidvidy@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-270&quot; title=&quot;Clarify SCons targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-270&quot;&gt;&lt;del&gt;CXX-270&lt;/del&gt;&lt;/a&gt; update MCI config with new targets&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/e05c3ed67c0a0a665d22a3345549b5d4c862a8a6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/e05c3ed67c0a0a665d22a3345549b5d4c862a8a6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="710868" author="xgen-internal-githook" created="Wed, 3 Sep 2014 18:46:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;amidvidy&apos;, u&apos;name&apos;: u&apos;Adam Midvidy&apos;, u&apos;email&apos;: u&apos;amidvidy@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-270&quot; title=&quot;Clarify SCons targets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-270&quot;&gt;&lt;del&gt;CXX-270&lt;/del&gt;&lt;/a&gt; Clarify Scons Targets&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/ce94854737733b286a3924a576945a54c4ca6566&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/ce94854737733b286a3924a576945a54c4ca6566&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="710459" author="tyler@10gen.com" created="Wed, 3 Sep 2014 14:07:35 +0000"  >&lt;p&gt;Adam your strategy for all, default target, and mongoclient as well as renaming the clientTests and smokeClient to *examples look good.&lt;/p&gt;

&lt;p&gt;I like Samantha&apos;s suggestion regarding test targets. It makes a lot of sense because if &quot;scons test&quot; builds and runs all of the tests then &quot;scons unit&quot; and &quot;scons integration&quot; would be expected to build and run their respective groups of tests.&lt;/p&gt;

&lt;p&gt;Ping &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mira.carey%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mira.carey@mongodb.com&quot;&gt;mira.carey@mongodb.com&lt;/a&gt; any thoughts?&lt;/p&gt;</comment>
                            <comment id="709715" author="samantha.ritter@10gen.com" created="Tue, 2 Sep 2014 21:40:10 +0000"  >&lt;p&gt;That seems sane to me, but I wonder if it would make sense to have the targets that run the tests be the shorthand ones?&lt;/p&gt;

&lt;p&gt;scons build-unit (builds unittests only)&lt;br/&gt;
scons unit          (builds and runs unittests)&lt;/p&gt;

&lt;p&gt;I feel like I&apos;ve more commonly wanted to run the tests than only build them.  Do other people feel this way?&lt;/p&gt;</comment>
                            <comment id="709688" author="adam.midvidy" created="Tue, 2 Sep 2014 21:22:02 +0000"  >&lt;p&gt;I&apos;m thinking along the lines of:&lt;/p&gt;

&lt;p&gt;scons mongoclient // build libmongoclient.a&lt;br/&gt;
scons install --prefix=DIR // build and install libmongoclient.a to DIR&lt;/p&gt;

&lt;p&gt;default target would be mongoclient&lt;/p&gt;

&lt;p&gt;scons unit - build unittests&lt;br/&gt;
scons test-unit - run unittests&lt;br/&gt;
scons integration - build integration tests&lt;br/&gt;
scons test-integration - run integration tests&lt;/p&gt;

&lt;p&gt;scons test - run unit and integration tests&lt;/p&gt;

&lt;p&gt;rename clientTests to examples&lt;br/&gt;
rename smokeClient to run-examples&lt;/p&gt;

&lt;p&gt;scons all would be &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;mongoclient&amp;#39;, &amp;#39;unit&amp;#39;, &amp;#39;integration&amp;#39;, &amp;#39;examples&amp;#39;&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Comments? &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tyler%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;tyler@10gen.com&quot;&gt;tyler@10gen.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mira.carey%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mira.carey@mongodb.com&quot;&gt;mira.carey@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=samantha.ritter%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;samantha.ritter@10gen.com&quot;&gt;samantha.ritter@10gen.com&lt;/a&gt;&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|hrfqjb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4245</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>