Aquileo | Recent changes to wikihttps://sourceforge.net/p/gradle-cpp/wiki/Recent changes to wikienThu, 29 Jan 2026 18:24:58 -0000Aquileo | cpp-conan modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/<div class="markdown_content"><pre>--- 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" } ~~~ </pre> </div>Alexander KornilovThu, 29 Jan 2026 18:24:58 -0000https://sourceforge.net8d4db43a975d95a208dbc4cb472136f052acd11bAquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v15 +++ v16 @@ -14,7 +14,7 @@ plugins { id 'cpp-library' id 'cpp-unit-test' - id 'loggersoft.cpp-build-tuner' version '2.3' + id 'loggersoft.cpp-build-tuner' version '2.5' } ~~~ </pre> </div>Alexander KornilovThu, 29 Jan 2026 18:24:08 -0000https://sourceforge.net6f708e659246fd53d81a3423eb0452540182fc66Aquileo | cpp-front modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-front/<div class="markdown_content"><pre></pre> </div>Alexander KornilovWed, 10 Sep 2025 20:51:16 -0000https://sourceforge.netcb012521ba13656344fe231af4bab212ae8c624cAquileo | Home modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/Home/<div class="markdown_content"><pre>--- v7 +++ v8 @@ -9,6 +9,8 @@ --- [cpp-llvm](/p/gradle-cpp/wiki/cpp-llvm) --- +[cpp-front](/p/gradle-cpp/wiki/cpp-front) +--- [[members limit=20]] [[download_button]] </pre> </div>Alexander KornilovWed, 10 Sep 2025 20:47:32 -0000https://sourceforge.netedf0cf6004a798b5b5cfda7aa005ce7fe8325bcfAquileo | cpp-front modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-front/<div class="markdown_content"><h2 id="h-purpose">Purpose</h2> <p>The plugin aims to support <a class="" href="https://github.com/hsutter/cppfront" rel="nofollow">cppfront/cpp2</a> language in Gradle C++ projects.</p> <p>Main features:<br/> * integration with Gradle C++ plugins: application, library and unit-test<br/> * embedded cppfront compiler for Windows/Linux x86-64 (current version is v0.8.1)<br/> * support of main compiler features in plugin configuration<br/> * parallel compilation</p> <h2 id="h-required-plugins">Required plugins</h2> <p>The <code>cpp-front</code> requires to work other Gradle core plugins: <code>cpp-application</code>/<code>cpp-library</code>/<code>cpp-unit-test</code>.</p> <h2 id="h-usage">Usage</h2> <div class="codehilite"><pre><span></span><code>plugins { `cpp-application` `cpp-unit-test` id("net.sf.loggersoft.cpp-front") version "0.1" } </code></pre></div> <h2 id="h-configuration">Configuration</h2> <div class="codehilite"><pre><span></span><code>cppFront { //source.from(fileTree("dir" to "src/main/cpp2.bak", "includes" to listOf("*.cpp2"))) //source.setFrom(fileTree("dir" to "src/main/cpp2/win", "includes" to listOf("*.cpp2"))) //testSource.from(fileTree("dir" to "src/main/cpp2/win", "includes" to listOf("*.cpp2"))) // The compiler binary file or path to home (inside expected 'bin' and 'include' subdirectories) //compilerHint = "/usr/bin/cppfront" //compilerHint = "C:\\Software\\cppfront\\bin\\cppfront.exe" //rawArgs = listOf("-verb") //pureCpp2 = true //importStd = true //includeStd = true //emitCleanCpp1 = true //noExceptions = true //noRtti = true //noComparisonChecks = true //noDivZeroChecks = true //noNullChecks = true //noSubscriptChecks = true } </code></pre></div> <p><strong>source</strong> - the main source set of the project (default is <code>src/main/cpp2</code>).<br/> <strong>testSource</strong> - the test source set of the project (default is <code>src/test/cpp2</code>).<br/> <strong>compilerHint</strong> - the path to home directory of cppfront toolchain (<code>bin</code> inside expected) or full path to cppfront compiler binary. <br/> <strong>rawArgs</strong> - the raw command line arguments for cppfront compiler. Should begins from <code>-</code><br/> <strong>pureCpp2</strong> - allow Cpp2 syntax only - also sets -import-std.<br/> <strong>importStd</strong> - import all std:: via 'import std;' - ignored if -include-std is set.<br/> <strong>includeStd</strong> - #include all std:: headers.<br/> <strong>emitCleanCpp1</strong> - emit clean Cpp1 without #line directives.<br/> <strong>noExceptions</strong> - disable C++ EH - failed 'as' for 'variant' will assert.<br/> <strong>noRtti</strong> - disable C++ RTTI - using 'as' for <code>std::any</code> will assert.<br/> <strong>noComparisonChecks</strong> - disable mixed-sign comparison safety checks.<br/> <strong>noDivZeroChecks</strong> - disable integer division by zero checks.<br/> <strong>noNullChecks</strong> - disable null safety checks.<br/> <strong>noSubscriptChecks</strong> - disable subscript safety checks.</p> <h2 id="h-tasks">Tasks</h2> <p><strong>cppFrontVersion</strong> - information about cppfront toolchain</p> <div class="codehilite"><pre><span></span><code>$<span class="w"> </span>gradle<span class="w"> </span>cppFrontVersion &gt;<span class="w"> </span>Task<span class="w"> </span>:cppfront-app:cppFrontVersion cpp-front<span class="w"> </span>compiler: <span class="w"> </span>version:<span class="w"> </span>v0.8.1<span class="w"> </span>Build<span class="w"> </span>9B08:1148 <span class="w"> </span>home:<span class="w"> </span>/home/akornilov/.gradle/plugins/cpp-front <span class="w"> </span>compiler:<span class="w"> </span>/home/akornilov/.gradle/plugins/cpp-front/bin/cppfront <span class="w"> </span>include<span class="w"> </span>directory:<span class="w"> </span>/home/akornilov/.gradle/plugins/cpp-front/include BUILD<span class="w"> </span>SUCCESSFUL<span class="w"> </span><span class="k">in</span><span class="w"> </span>817ms <span class="m">21</span><span class="w"> </span>actionable<span class="w"> </span>tasks:<span class="w"> </span><span class="m">1</span><span class="w"> </span>executed,<span class="w"> </span><span class="m">20</span><span class="w"> </span>up-to-date </code></pre></div> <h2 id="h-example">Example:</h2> <p>Full sources of simple <a class="" href="/p/gradle-cpp/code/ci/default/tree/cppfront-app/">cppfront-app</a>.</p></div>Alexander KornilovWed, 10 Sep 2025 20:46:46 -0000https://sourceforge.nete62c9c2c18970be28fbb0e1c01967a842e86f5c7Aquileo | cpp-llvm modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-llvm/<div class="markdown_content"><pre>--- v20 +++ v21 @@ -16,12 +16,14 @@ ~~~ plugins { id 'cpp-application' - id 'loggersoft.cpp-llvm' version '2.7' + id 'loggersoft.cpp-llvm' version '2.9' } ~~~ Supported versions --- +* 20.1.2 +* 17.0.6 - shared linkage is not temporarily supported for this version and above. * 14.0.6 * 13.0.0 * 12.0.0 </pre> </div>Alexander KornilovMon, 14 Apr 2025 17:46:44 -0000https://sourceforge.netede1a4b1c574a487dfa47c5f282182ce1bdab94aAquileo | Home modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/Home/<div class="markdown_content"><pre>--- v6 +++ v7 @@ -5,6 +5,8 @@ --- [cpp-ide-generator](/p/gradle-cpp/wiki/cpp-ide-generator) --- +[cpp-conan](/p/gradle-cpp/wiki/cpp-conan) +--- [cpp-llvm](/p/gradle-cpp/wiki/cpp-llvm) --- </pre> </div>Alexander KornilovThu, 06 Mar 2025 09:53:39 -0000https://sourceforge.nete528f585b3d711bae30eb28f99254f1eb45c98adAquileo | cpp-conan modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/<div class="markdown_content"><pre>--- 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). </pre> </div>Alexander KornilovThu, 06 Mar 2025 09:28:26 -0000https://sourceforge.net13a1b5c648fd6a6497aaffdee54c4f37848cab83Aquileo | cpp-conan modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-conan/<div class="markdown_content"><pre>--- 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. </pre> </div>Alexander KornilovThu, 06 Mar 2025 09:25:48 -0000https://sourceforge.netc0338cc5699d3c733cda9a55f478419726591cc6Aquileo | cpp-conan modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/%2520cpp-conan/<div class="markdown_content"><pre>--- v4 +++ v5 @@ -1,67 +0,0 @@ -Purpose ---- - -The plugin aims to provide basic integration with [conan](https://conan.io/) C/C++package manager. - -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 -* support of multiple options for each package -* automatic build of debug package version for MSVC -* integration of 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 ---- -The `cpp-conan` requires to work other Gradle core plugins: `cpp-application`/`cpp-library`/`cpp-unit-test`. - -Environment setup ---- - -* Install `conan` in your system follow [official instruction](https://docs.conan.io/2/installation.html) (make sure that it available via PATH) -* Create profile by [conan profile detect](https://docs.conan.io/2/reference/commands/profile.html) - -Usage ---- -~~~ -plugins { - `cpp-application` - `cpp-unit-test` - - id("net.sf.loggersoft.cpp-conan") version "0.1" -} -~~~ - -Configuration ---- -~~~ -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 "[&gt;1.0 &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 -} -~~~ - -**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**. -**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. - -Example: ---- -Full sources of simple [conan-app](/p/gradle-cpp/code/ci/default/tree/conan-app/). </pre> </div>Alexander KornilovWed, 05 Mar 2025 17:53:32 -0000https://sourceforge.netfe16c5cec8eecb8d3fd4c3bef3fa8e96963241dc