<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Meson on Francesco&#39;s blog</title>
		<link>https://blog.francescorocca.me/tags/meson/</link>
		<description>Recent content in Meson on Francesco&#39;s blog</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Wed, 29 Apr 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://blog.francescorocca.me/tags/meson/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>How to integrate Vcpkg with Meson Build system (Modern way)</title>
				<link>https://blog.francescorocca.me/posts/vcpkg-meson/</link>
				<pubDate>Wed, 29 Apr 2026 00:00:00 +0000</pubDate>
				<guid>https://blog.francescorocca.me/posts/vcpkg-meson/</guid>
				<description>&lt;p&gt;&lt;img src=&#34;https://images.pexels.com/photos/10194141/pexels-photo-10194141.jpeg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Photo by &lt;a href=&#34;https://www.pexels.com/photo/cubes-3d-render-digital-art-10194141/&#34;&gt;Steve A Johnson from Pexels&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Well, I already published a way to make Meson work with vcpkg and today I have a newer way to do the same.&lt;/p&gt;&#xA;&lt;p&gt;I was writing a simple SFTP client and I needed the libssh library. Here is the modern way to set it up:&lt;/p&gt;&#xA;&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Install &lt;a href=&#34;https://vcpkg.io/en/&#34;&gt;vcpkg&lt;/a&gt; as usual&lt;/li&gt;&#xA;&lt;li&gt;Install Visual Studio, Desktop C++ to make it works&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;step-by-step-guide&#34;&gt;Step-by-Step Guide&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;Install dependencies:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;&#xA;&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td class=&#34;lntd&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ vcpkg install libssh pkgconf&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;&lt;em&gt;Note: Remember to install &lt;code&gt;pkgconf&lt;/code&gt;; Meson needs it to find where the libraries are.&lt;/em&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to integrate Vcpkg with Meson Build system</title>
				<link>https://blog.francescorocca.me/posts/vcpkg-meson-native-file/</link>
				<pubDate>Wed, 14 May 2025 00:00:00 +0000</pubDate>
				<guid>https://blog.francescorocca.me/posts/vcpkg-meson-native-file/</guid>
				<description>&lt;p&gt;&lt;img src=&#34;https://images.unsplash.com/photo-1639762681485-074b7f938ba0?q=80&amp;amp;w=1332&amp;amp;auto=format&amp;amp;fit=crop&amp;amp;ixlib=rb-4.1.0&amp;amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Photo by &lt;a href=&#34;https://unsplash.com/@theshubhamdhage&#34;&gt;@theshubhamdhage&lt;/a&gt; from Unsplash.com&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;The worst part about developing on Windows is developing on Windows. Okay, jokes aside, life is generally easier on Linux.&lt;/p&gt;&#xA;&lt;p&gt;On Linux, package management is typically handled by the OS. You just download the library with the &lt;code&gt;-devel&lt;/code&gt; suffix, and in &lt;code&gt;meson.build&lt;/code&gt;, you add the &lt;code&gt;dependency()&lt;/code&gt; function to link it to your program.&lt;/p&gt;&#xA;&lt;p&gt;On Windows, however, you often find yourself hunting for sketchy installers, manually wiring up &lt;code&gt;INCLUDE&lt;/code&gt; and &lt;code&gt;LIB&lt;/code&gt; paths, or dealing with the dreaded &amp;ldquo;DLL hell&amp;rdquo;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
