<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CMake on saoe: The Nifty Oddity</title>
    <link>https://www.saoe.net/tags/cmake/</link>
    <description>Recent content in CMake on saoe: The Nifty Oddity</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <managingEditor>info@saoe.net (Sascha Offe)</managingEditor>
    <webMaster>info@saoe.net (Sascha Offe)</webMaster>
    <copyright>© 2013-2024 Sascha Offe</copyright>
    <lastBuildDate>Fri, 27 Mar 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.saoe.net/tags/cmake/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building SDL 3</title>
      <link>https://www.saoe.net/blog/building-sdl/</link>
      <pubDate>Thu, 12 Jun 2025 20:18:07 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/building-sdl/</guid>
      <description>&lt;p&gt;The &lt;strong&gt;&lt;a href=&#34;https://www.libsdl.org/&#34; target=&#34;_blank&#34;&gt;&lt;em&gt;Simple DirectMedia Layer&lt;/em&gt; (SDL)&lt;/a&gt;&lt;/strong&gt; recently released its&#xA;&lt;a href=&#34;https://discourse.libsdl.org/t/announcing-the-sdl-3-official-release/57149&#34; target=&#34;_blank&#34;&gt;new major version 3&lt;/a&gt;&#xA;(as version 3.2.0) and that was a good oppurtunity to check it out and play a bit with it.&#xA;But before I could do that, I had to build the library first.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building wxWidgets</title>
      <link>https://www.saoe.net/blog/building-wxwidgets/</link>
      <pubDate>Thu, 12 Jun 2025 20:18:07 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/building-wxwidgets/</guid>
      <description>&lt;p&gt;A short guide on how to build &lt;a href=&#34;https://wxwidgets.org/&#34; target=&#34;_blank&#34;&gt;&lt;strong&gt;wxWidgets&lt;/strong&gt;&lt;/a&gt; (the cross-platform GUI toolkit) from source&#xA;(the &lt;a href=&#34;https://wxwidgets.org/downloads/&#34; target=&#34;_blank&#34;&gt;recommended&lt;/a&gt; way), on Windows, by using CMake and Visual Studio.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to use CMake</title>
      <link>https://www.saoe.net/blog/how-to-use-cmake/</link>
      <pubDate>Fri, 30 May 2025 17:45:28 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/how-to-use-cmake/</guid>
      <description>&lt;p&gt;This is just a reminder for some syntax/parameter details on how to invoke CMake (i.e. the actual &lt;em&gt;cmake&lt;/em&gt; program),&#xA;mainly from the CLI, to configure/generate/build a project &amp;ndash; it&amp;rsquo;s &lt;em&gt;not&lt;/em&gt; a tutorial on how to write a &lt;code&gt;CMakeLists.txt&lt;/code&gt; file!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building Qt 6 on Windows with Visual Studio</title>
      <link>https://www.saoe.net/blog/building-qt-6-on-windows-with-visual-studio/</link>
      <pubDate>Sun, 09 May 2021 19:24:52 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/building-qt-6-on-windows-with-visual-studio/</guid>
      <description>&lt;p&gt;Time for another short guidance on how to build your own copy of the &lt;a href=&#34;https://www.qt.io/product/framework&#34; target=&#34;_blank&#34;&gt;&lt;strong&gt;Qt framework&lt;/strong&gt;&lt;/a&gt; from source.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Prepare a CMake project for find_package()</title>
      <link>https://www.saoe.net/blog/prepare-cmake-project-for-find-package/</link>
      <pubDate>Wed, 24 Mar 2021 00:00:00 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/prepare-cmake-project-for-find-package/</guid>
      <description>&lt;p&gt;Although I&amp;rsquo;ve already published an article on &lt;a href=&#34;https://www.saoe.net/blog/using-cmake-with-external-projects/&#34;&gt;how to bring an external CMake project into your own CMake project&lt;/a&gt;,&#xA;I recently realized that I haven&amp;rsquo;t written about how one can prepare a CMake project for the use with &lt;code&gt;find_package()&lt;/code&gt; &amp;mdash; despite the fact&#xA;that I&amp;rsquo;ve used it already for quite a while in &lt;em&gt;RandFill&lt;/em&gt; for my own &lt;em&gt;WPDLib(rary)&lt;/em&gt;; so let me make up leeway for that oversight with this post.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to use CMake to setup Visual Studio for using the Clang compiler</title>
      <link>https://www.saoe.net/blog/how-to-use-cmake-to-setup-visual-studio-for-using-the-clang-compiler/</link>
      <pubDate>Sun, 07 Feb 2021 17:23:07 +0100</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/how-to-use-cmake-to-setup-visual-studio-for-using-the-clang-compiler/</guid>
      <description>&lt;p&gt;This is a brief post on how to use CMake to setup a Visual Studio 2019 solution on Windows&#xA;that will use the LLVM Clang compiler instead of the orginal Visual C++ one.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using CMake with External Projects</title>
      <link>https://www.saoe.net/blog/using-cmake-with-external-projects/</link>
      <pubDate>Sat, 03 Aug 2019 12:40:23 +0200</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/using-cmake-with-external-projects/</guid>
      <description>&lt;p&gt;The reason for this post is that I spent a considerable amount of time&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; the last two days to&#xA;convince CMake&amp;rsquo;s &lt;em&gt;External Project&lt;/em&gt; feature to do what I wanted. And without the help of the usual&#xA;suspects (Stackoverflow, old mails, blog articles, code snippets, etc.), I might still not be done.&#xA;So I thought I could pay back the general public by posting some notes on this topic 😉&#xD;&#xA;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building Qt for static linking</title>
      <link>https://www.saoe.net/blog/building-qt-for-static-linking/</link>
      <pubDate>Tue, 31 Mar 2015 02:38:17 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/building-qt-for-static-linking/</guid>
      <description>&lt;p&gt;One of the drawbacks of using such a comprehensive framework as Qt is the massively increased size of you program.&#xA;When my pet project &lt;em&gt;&lt;a href=&#34;https://www.saoe.net/software/randfill/&#34;&gt;RandFill&lt;/a&gt;&lt;/em&gt; was only using the plain Win32-API, it was a single executable file of a couple of hundred kilobytes.&lt;/p&gt;&#xA;&lt;p&gt;Now, using dynamically linked Qt, the whole package (with DLLs, MSVC redistributables, etc.) is bigger than 20 megabytes as a 64-bit build!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Journal #3</title>
      <link>https://www.saoe.net/blog/journal-3/</link>
      <pubDate>Sun, 15 Jun 2014 20:40:05 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/journal-3/</guid>
      <description>&lt;p&gt;Konnichiwa, time for another status report.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CMake, Visual Studio and Qt 5 with MOC...</title>
      <link>https://www.saoe.net/blog/cmake-visual-studio-and-qt-5-with-moc/</link>
      <pubDate>Sun, 15 Jun 2014 14:22:12 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/cmake-visual-studio-and-qt-5-with-moc/</guid>
      <description>&lt;p&gt;After &lt;a href=&#34;https://www.saoe.net/blog/686/&#34;&gt;building a 64-bit version of Qt with/for Microsoft Visual Studio&lt;/a&gt;,&#xA;building a &lt;a href=&#34;https://www.saoe.net/blog/715/&#34;&gt;simple Qt test program&lt;/a&gt; and doing&#xA;&lt;a href=&#34;https://www.saoe.net/blog/778/&#34;&gt;first steps with the CMake build system&lt;/a&gt;, the next hurdle appeared&#xA;on the horizon in the form of support for Qt and its Q_OBJECT features (I am currently fighting more&#xA;with the changes I made to my build environment than improving the actual program code&amp;hellip;).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Generating 64-bit projects for Visual Studio with CMake</title>
      <link>https://www.saoe.net/blog/generating-64-bit-projects-for-visual-studio-with-cmake/</link>
      <pubDate>Sat, 31 May 2014 15:18:42 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/generating-64-bit-projects-for-visual-studio-with-cmake/</guid>
      <description>&lt;p&gt;Describes a few tips on how to generate a 64-bit project for Visual Studio with CMake.&lt;/p&gt;</description>
    </item>
    <item>
      <title>On CMake</title>
      <link>https://www.saoe.net/blog/on-cmake/</link>
      <pubDate>Sun, 04 May 2014 13:31:36 +0000</pubDate><author>info@saoe.net (Sascha Offe)</author>
      <guid>https://www.saoe.net/blog/on-cmake/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve changed the build process of the &lt;em&gt;RandFill&lt;/em&gt; project &lt;a href=&#34;https://bitbucket.org/saoe/randfill/commits/b2852ddec22d27436a80e1db56a4f8dc8ed1d2fe&#34; target=&#34;_blank&#34;&gt;recently&lt;/a&gt;&#xA;from using the Visual Studio files (*.sln, *.vcxproj, etc.) to maintaining and generating those with &lt;em&gt;CMake&lt;/em&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
