<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to cpp-conan</title><link>https://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/</link><description>Recent changes to cpp-conan</description><atom:link href="https://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 29 Jan 2026 18:24:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/feed" rel="self" type="application/rss+xml"/><item><title>cpp-conan modified by Alexander Kornilov</title><link>https://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -29,7 +29,7 @@
     `cpp-application`
     `cpp-unit-test`

-    id("net.sf.loggersoft.cpp-conan") version "0.1"
+    id("net.sf.loggersoft.cpp-conan") version "0.3"
 }
 ~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Kornilov</dc:creator><pubDate>Thu, 29 Jan 2026 18:24:58 -0000</pubDate><guid>https://sourceforge.net8d4db43a975d95a208dbc4cb472136f052acd11b</guid></item><item><title>cpp-conan modified by Alexander Kornilov</title><link>https://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -29,7 +29,7 @@
     `cpp-application`
     `cpp-unit-test`

-    id("net.sf.loggersoft.cpp-conan") version "0.3"
+    id("net.sf.loggersoft.cpp-conan") version "0.1"
 }
 ~~~

@@ -56,7 +56,7 @@
 }
 ~~~

-**requires** - the package dependency with mandatory version and arbitrary options as pairs of string key and string/ boolean value. The option `shared` can be passed  in this way: `shared true/false`.
+**requires** - the package dependency with mandatory version and arbitrary options as pairs of string key/value. The option `shared` can be passed  in this way: `shared true/false`.
 **testRequires** - the package dependency required only for test (e.g. `gtest`). The format is the same with **requires**.
 **build** - the build policy, for more details see [here](https://docs.conan.io/2/reference/commands/install.html).
 **remote** - look in the specified remote server(s), for more details see [here](https://docs.conan.io/2/reference/commands/install.html).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Kornilov</dc:creator><pubDate>Thu, 06 Mar 2025 09:28:26 -0000</pubDate><guid>https://sourceforge.net13a1b5c648fd6a6497aaffdee54c4f37848cab83</guid></item><item><title>cpp-conan modified by Alexander Kornilov</title><link>https://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -6,10 +6,10 @@
 Main features:
 * direct integration via Gradle DSL (without `conan.txt` and generation step)
 * separate packages list for test
-* shared version of package can be used with runtime dependency
+* shared version of package can be used as runtime dependency
 * support of multiple options for each package
 * automatic build of debug package version for MSVC
-* integration of project toolchain and C++ standard
+* integration with project toolchain and C++ standard
 * compatible with [IDE generation plugin](https://sourceforge.net/p/gradle-cpp/wiki/cpp-ide-generator/) and [compilation database generator](https://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/)

 Required plugins
@@ -29,7 +29,7 @@
     `cpp-application`
     `cpp-unit-test`

-    id("net.sf.loggersoft.cpp-conan") version "0.1"
+    id("net.sf.loggersoft.cpp-conan") version "0.3"
 }
 ~~~

@@ -56,8 +56,8 @@
 }
 ~~~

-**requires** - the package dependency with mandatory version and arbitrary options as pairs of string key/value. Option `shared` can be passed  in this way: `shared true/false`.
-**testRequires** - the package dependency required only for test (e.g. `gtest`). Format is the same with **requires**.
+**requires** - the package dependency with mandatory version and arbitrary options as pairs of string key and string/ boolean value. The option `shared` can be passed  in this way: `shared true/false`.
+**testRequires** - the package dependency required only for test (e.g. `gtest`). The format is the same with **requires**.
 **build** - the build policy, for more details see [here](https://docs.conan.io/2/reference/commands/install.html).
 **remote** - look in the specified remote server(s), for more details see [here](https://docs.conan.io/2/reference/commands/install.html).
 **offline** - do not use remote, resolve exclusively in the cache.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Kornilov</dc:creator><pubDate>Thu, 06 Mar 2025 09:25:48 -0000</pubDate><guid>https://sourceforge.netc0338cc5699d3c733cda9a55f478419726591cc6</guid></item><item><title>cpp-conan modified by Alexander Kornilov</title><link>https://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="purpose"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;The plugin aims to provide basic integration with &lt;a class="" href="https://conan.io/" rel="nofollow"&gt;conan&lt;/a&gt; C/C++package manager.&lt;/p&gt;
&lt;p&gt;Main features:&lt;br/&gt;
* direct integration via Gradle DSL (without &lt;code&gt;conan.txt&lt;/code&gt; and generation step)&lt;br/&gt;
* separate packages list for test&lt;br/&gt;
* shared version of package can be used with runtime dependency&lt;br/&gt;
* support of multiple options for each package&lt;br/&gt;
* automatic build of debug package version for MSVC&lt;br/&gt;
* integration of project toolchain and C++ standard&lt;br/&gt;
* compatible with &lt;a class="" href="https://sourceforge.net/p/gradle-cpp/wiki/cpp-ide-generator/"&gt;IDE generation plugin&lt;/a&gt; and &lt;a class="" href="https://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/"&gt;compilation database generator&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="required-plugins"&gt;Required plugins&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;cpp-conan&lt;/code&gt; requires to work other Gradle core plugins: &lt;code&gt;cpp-application&lt;/code&gt;/&lt;code&gt;cpp-library&lt;/code&gt;/&lt;code&gt;cpp-unit-test&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="environment-setup"&gt;Environment setup&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Install &lt;code&gt;conan&lt;/code&gt; in your system follow &lt;a class="" href="https://docs.conan.io/2/installation.html" rel="nofollow"&gt;official instruction&lt;/a&gt; (make sure that it available via PATH)&lt;/li&gt;
&lt;li&gt;Create profile by &lt;a class="" href="https://docs.conan.io/2/reference/commands/profile.html" rel="nofollow"&gt;conan profile detect&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="usage"&gt;Usage&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;plugins {
    `cpp-application`
    `cpp-unit-test`

    id("net.sf.loggersoft.cpp-conan") version "0.1"
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 id="configuration"&gt;Configuration&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;conan {
    //requires("zstd") version "1.5.6" option ("shared" to "true")
    //requires("zstd") version "1.5.6" shared true
    requires("zstd") version "1.5.6"

    requires("boost") version "1.86.0" option ("zstd" to "false") option ("lzma" to "false")

    //requires("bzip2") version "1.0.8"
    //requires("boost") version "1.70.0#revision2"
    //requires("poco") version "[&amp;gt;1.0 &amp;lt;1.9]" option ("shared" to "true")

    //testRequires("gtest") version "1.15.0" shared true
    testRequires("gtest") version "1.15.0"

    build = "~zlib"
    //remote = "https://center2.conan.io"
    //offline = true
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;requires&lt;/strong&gt; - the package dependency with mandatory version and arbitrary options as pairs of string key/value. Option &lt;code&gt;shared&lt;/code&gt; can be passed  in this way: &lt;code&gt;shared true/false&lt;/code&gt;.&lt;br/&gt;
&lt;strong&gt;testRequires&lt;/strong&gt; - the package dependency required only for test (e.g. &lt;code&gt;gtest&lt;/code&gt;). Format is the same with &lt;strong&gt;requires&lt;/strong&gt;.&lt;br/&gt;
&lt;strong&gt;build&lt;/strong&gt; - the build policy, for more details see &lt;a class="" href="https://docs.conan.io/2/reference/commands/install.html" rel="nofollow"&gt;here&lt;/a&gt;.&lt;br/&gt;
&lt;strong&gt;remote&lt;/strong&gt; - look in the specified remote server(s), for more details see &lt;a class="" href="https://docs.conan.io/2/reference/commands/install.html" rel="nofollow"&gt;here&lt;/a&gt;.&lt;br/&gt;
&lt;strong&gt;offline&lt;/strong&gt; - do not use remote, resolve exclusively in the cache.&lt;/p&gt;
&lt;h2 id="example"&gt;Example:&lt;/h2&gt;
&lt;p&gt;Full sources of simple &lt;a class="" href="/p/gradle-cpp/code/ci/default/tree/conan-app/"&gt;conan-app&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Kornilov</dc:creator><pubDate>Wed, 05 Mar 2025 17:52:50 -0000</pubDate><guid>https://sourceforge.net2f23767aa59c309873df07a957aed6b3dab87ccd</guid></item></channel></rss>