<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/tmp/santos &#187; article</title>
	<atom:link href="http://www.tmpsantos.com.br/category/article/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tmpsantos.com.br</link>
	<description>Thiago Marcos P. Santos</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:33:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>qmake template</title>
		<link>http://www.tmpsantos.com.br/en/2010/08/qmake-template/</link>
		<comments>http://www.tmpsantos.com.br/en/2010/08/qmake-template/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 21:36:54 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[article]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[buildsystem]]></category>
		<category><![CDATA[qmake]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=687</guid>
		<description><![CDATA[Write a buildsystem is always the first step (and sometimes the most boring) when starting a new software project. Qt provides it&#8217;s own tool in order to make a single build tree work properly in all supported platforms: qmake. Instead of create a qmake structure from scratch for your brand new project, this template aims [...]]]></description>
			<content:encoded><![CDATA[<p>Write a buildsystem is always the first step (and sometimes the most boring) when starting a new software project. Qt provides it&#8217;s own tool in order to make a single build tree work properly in all supported platforms: qmake. Instead of create a qmake structure from scratch for your brand new project, this template aims to give you a solid base to rely upon, meeting some basic requirements:</p>
<p><strong>Shadow build</strong> &#8211; No dirty source tree anymore after compiling your code. Build your code inside your tree is optional, you just need to create a build directory and call your project&#8217;s configure script instead. There are many situations when this is specially necessary: building the same tree for different platforms or when you source code is located on a slow storage device (such as network drives and encrypted partitions).</p>
<p style="text-align: left;"><strong>Automated tests integration</strong> &#8211; Test driven development is being more common every day and has proven to be an important tool to detect regressions. This qmake template provides more then a simple way to run your tests (by typing &#8220;make check&#8221;), but a visual report of your tests coverage using <a href="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</a>.</p>
<div id="attachment_692" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/lcov.png"><img class="size-medium wp-image-692 " src="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/lcov-300x212.png" alt="" width="300" height="212" /></a><p class="wp-caption-text">LCOV showing a unit test coverage</p></div>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><strong>Code documentation</strong> &#8211; Developers are mostly lazy when writing documents, but not if you provide a easy and beautiful way to check the results of good written code documentation. After hitting &#8220;make doc&#8221;, a HTML page is automatically generated gathering all information extracted from qdoc3 markups of your source files.</p>
<div id="attachment_699" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/doc.png"><img class="size-medium wp-image-699" src="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/doc-300x212.png" alt="" width="300" height="212" /></a><p class="wp-caption-text">Documentation extracted from Foobar class</p></div>
<p style="text-align: left;"><strong>Localization support</strong> &#8211; A modern buildsystem must provide a clever way of translators update the language files. We must remember that translators aren&#8217;t necessarily developers and they may not want to dig your code looking for translatable strings. This template provides integration with lupdate and lrelease i18n tools of Qt framework, creating all .ts files necessary to Qt Linguist.</p>
<div id="attachment_704" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/linguist.png"><img class="size-medium wp-image-704" src="http://www.tmpsantos.com.br/wp-content/uploads/2010/08/linguist-300x207.png" alt="" width="300" height="207" /></a><p class="wp-caption-text">Use Qt Linguist to edit generated translation files</p></div>
<p style="text-align: left;"><strong>Debugging friendly</strong> &#8211; This is quite obvious: a build system must be able to generate a debug release. And you also don&#8217;t need to install your software (at least in a Linux box) in order to run a quick and dirty test, due to some tricky linker flags.</p>
<p style="text-align: left;"><strong>Packaging</strong> &#8211; Your software must be redistributable, so we added a Debian packaging example to this template to demonstrate how packable this buildsystem is, specially for Debian-based system. Does anyone want to contribute with the RPM packaging?</p>
<h2>Final considerations</h2>
<p>I haven&#8217;t made tests on others platforms but Linux. I&#8217;m pretty sure of unless you are using GCC, some features such as unit tests coverage report cannot be done with the current implementation. <img src='http://www.tmpsantos.com.br/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>The latest templete snapshot is available for download <a href="http://www.tmpsantos.com.br/cgi-bin/gitweb.cgi?p=qmake_template.git;a=snapshot;h=HEAD;sf=tgz">here</a>. You can also browse the <a href="http://www.tmpsantos.com.br/cgi-bin/gitweb.cgi?p=qmake_template.git">git repository</a>. Please remember: patches and suggestions are welcome.</p>
<p>More information about usage can be found at the <a href="http://www.tmpsantos.com.br/cgi-bin/gitweb.cgi?p=qmake_template.git;a=blob;f=BUILD;hb=HEAD">BUILD</a> file in the git repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2010/08/qmake-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git and Gitweb on DreamHost</title>
		<link>http://www.tmpsantos.com.br/en/2009/05/git-gitweb-on-dreamhost/</link>
		<comments>http://www.tmpsantos.com.br/en/2009/05/git-gitweb-on-dreamhost/#comments</comments>
		<pubDate>Tue, 19 May 2009 00:08:28 +0000</pubDate>
		<dc:creator>Thiago</dc:creator>
				<category><![CDATA[article]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[pt_br]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.tmpsantos.com.br/?p=188</guid>
		<description><![CDATA[I&#8217;ve made a nice compilation in Brazilian Portuguese about Git installation on DreamHost. I don&#8217;t think that there is need to translate this material to English because we already have good references about this subject here: DreamHost Wiki Autopragmatic Craig Jolicoeur]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made a nice compilation in Brazilian Portuguese about Git installation on DreamHost. I don&#8217;t think that there is need to translate this material to English because we already have good references about this subject here:</p>
<ul>
<li><a href="http://wiki.dreamhost.com/Git">DreamHost Wiki</a></li>
<li>Autopragmatic</li>
<li><a href="http://craigjolicoeur.com/blog/2008/04/hosting-git-repositories-on-dreamhost/">Craig Jolicoeur</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.tmpsantos.com.br/en/2009/05/git-gitweb-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

