Aquileo | Recent changes to cpp-build-tunerhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/Recent changes to cpp-build-tunerenThu, 29 Jan 2026 18:24:08 -0000Aquileo | 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-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v14 +++ v15 @@ -14,7 +14,7 @@ plugins { id 'cpp-library' id 'cpp-unit-test' - id 'loggersoft.cpp-build-tuner' version '2.0' + id 'loggersoft.cpp-build-tuner' version '2.3' } ~~~ </pre> </div>Alexander KornilovWed, 19 Feb 2025 10:11:15 -0000https://sourceforge.netcc228038526c927d67467dca3a5c020b956c6404Aquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v13 +++ v14 @@ -1,4 +1,4 @@ -**Purpose +Purpose --- The plugin provides basic build tuning according to the current profile (Debug/Release) and used toolchain. Also, some customization is available via the plugin configuration section. </pre> </div>Alexander KornilovMon, 10 Feb 2025 18:33:12 -0000https://sourceforge.neta69a7e4864b4268cec1bbe4f9b13d65ec4c75cdfAquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v12 +++ v13 @@ -65,7 +65,7 @@ * **defines** (container) - the list of defines (macros). * **preferCLang** (boolean) - prefers the CLang version of artifacts from the dependencies list if possible ('-2' suffix of version). * **standard** (integer) - is a revision number of the standard for the C++ programming language (e.g. 17). -* **generateCompileCommands** (boolean) - generate compile commands into *compilecommands.json* according to [clang specification](https://clang.llvm.org/docs/JSONCompilationDatabase.html) +* **generateCompileCommands** (boolean) - generate compile commands into *compile_commands.json* according to [clang specification](https://clang.llvm.org/docs/JSONCompilationDatabase.html) Run application --- </pre> </div>Alexander KornilovMon, 10 Feb 2025 18:32:07 -0000https://sourceforge.neta386bc617cbd641272eef66d7b49abfc57367013Aquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v11 +++ v12 @@ -1,4 +1,4 @@ -Purpose +**Purpose --- The plugin provides basic build tuning according to the current profile (Debug/Release) and used toolchain. Also, some customization is available via the plugin configuration section. @@ -65,7 +65,7 @@ * **defines** (container) - the list of defines (macros). * **preferCLang** (boolean) - prefers the CLang version of artifacts from the dependencies list if possible ('-2' suffix of version). * **standard** (integer) - is a revision number of the standard for the C++ programming language (e.g. 17). -* **generateCompileCommands** (boolean) - generate compile commands into compile_commands.json according to [clang specification](https://clang.llvm.org/docs/JSONCompilationDatabase.html) +* **generateCompileCommands** (boolean) - generate compile commands into *compilecommands.json* according to [clang specification](https://clang.llvm.org/docs/JSONCompilationDatabase.html) Run application --- </pre> </div>Alexander KornilovMon, 10 Feb 2025 18:31:33 -0000https://sourceforge.net531b6cc5d3594ae2829cc8f08216d3b2b50ef657Aquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v10 +++ v11 @@ -14,7 +14,7 @@ plugins { id 'cpp-library' id 'cpp-unit-test' - id 'loggersoft.cpp-build-tuner' version '1.9' + id 'loggersoft.cpp-build-tuner' version '2.0' } ~~~ @@ -53,6 +53,7 @@ dependencies.common = ['loggersoft.jvm:class-reader:0.1'] preferCLang = true standard = 17 + generateCompileCommands = true } ~~~ @@ -64,6 +65,7 @@ * **defines** (container) - the list of defines (macros). * **preferCLang** (boolean) - prefers the CLang version of artifacts from the dependencies list if possible ('-2' suffix of version). * **standard** (integer) - is a revision number of the standard for the C++ programming language (e.g. 17). +* **generateCompileCommands** (boolean) - generate compile commands into compile_commands.json according to [clang specification](https://clang.llvm.org/docs/JSONCompilationDatabase.html) Run application --- </pre> </div>Alexander KornilovMon, 10 Feb 2025 18:08:52 -0000https://sourceforge.netb2fc91a816e6d22ea72892066a1d389b7b6539afAquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v9 +++ v10 @@ -14,7 +14,7 @@ plugins { id 'cpp-library' id 'cpp-unit-test' - id 'loggersoft.cpp-build-tuner' version '1.7' + id 'loggersoft.cpp-build-tuner' version '1.9' } ~~~ @@ -52,6 +52,7 @@ dependencies.common = ['loggersoft.jvm:class-reader:0.1'] preferCLang = true + standard = 17 } ~~~ @@ -62,6 +63,7 @@ * **dependencies** (container) - the list of dependencies. * **defines** (container) - the list of defines (macros). * **preferCLang** (boolean) - prefers the CLang version of artifacts from the dependencies list if possible ('-2' suffix of version). +* **standard** (integer) - is a revision number of the standard for the C++ programming language (e.g. 17). Run application --- </pre> </div>Alexander KornilovWed, 16 Sep 2020 17:37:51 -0000https://sourceforge.net49ecdac90b2bcd03b654a1a387d8cbb8b0ca418eAquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v8 +++ v9 @@ -14,7 +14,7 @@ plugins { id 'cpp-library' id 'cpp-unit-test' - id 'loggersoft.cpp-build-tuner' version '1.5' + id 'loggersoft.cpp-build-tuner' version '1.7' } ~~~ @@ -76,7 +76,7 @@ Supported system properties (via command-line interface) --- -* **toolchain** - override default toolchain. Possible values are: 'gcc', 'mingw', 'clang', 'visualcpp'. +* **toolchain** - override default toolchain. Possible values are: `gcc`, `mingw`, `clang`, `visualcpp` (`msvc`). * **version** - override project version. How to use Gradle command-line interface to change Java system properties: </pre> </div>Alexander KornilovWed, 29 Jan 2020 11:50:23 -0000https://sourceforge.net2e0962722ac7feb87086a4a1b4abeed98b52d862Aquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v7 +++ v8 @@ -14,13 +14,13 @@ plugins { id 'cpp-library' id 'cpp-unit-test' - id 'loggersoft.cpp-build-tuner' version '1.3' + id 'loggersoft.cpp-build-tuner' version '1.5' } ~~~ Supported toolchains --- -MSVC and GCC compatible toolchains. +MSVC and GCC compatible toolchains (CLang). Profit --- @@ -72,3 +72,45 @@ ~~~ gradle run --args="arg1 arg2 ..." ~~~ + +Supported system properties (via command-line interface) +--- + +* **toolchain** - override default toolchain. Possible values are: 'gcc', 'mingw', 'clang', 'visualcpp'. +* **version** - override project version. + +How to use Gradle command-line interface to change Java system properties: +~~~ +gradle -D&lt;property name=""&gt;=&lt;value&gt; +~~~ + +Examples: +~~~ +gradle build -Dtoolchain=mingw +gradle publish -Dversion=0.5 +gradle publish -Dversion=0.5-? +~~~ + +Variate version +--- + +Variate version can be used to publish artifacts are built by different toolchains. +Version format is: &lt;version&gt;-&lt;variant&gt; + +Variants: + +* 1 - MinGW +* 2 - CLang +* ? - Auto choose according current toolchain. + +Example: + +`version = 0.1-?` + +The final version will be: + +* GCC/MSVC: **0.1** +* MinGW: **0.1-1** +* CLang: **0.1-2** + +So all binaries can be stored in single Artifactory at the same time. &lt;/variant&gt;&lt;/version&gt;&lt;/value&gt;&lt;/property&gt;</pre> </div>Alexander KornilovWed, 29 Jan 2020 10:18:37 -0000https://sourceforge.net5501feb170ed8e04b663a3e4542102df88fdb0daAquileo | cpp-build-tuner modified by Alexander Kornilovhttps://sourceforge.net/p/gradle-cpp/wiki/cpp-build-tuner/<div class="markdown_content"><pre>--- v6 +++ v7 @@ -14,7 +14,7 @@ plugins { id 'cpp-library' id 'cpp-unit-test' - id 'loggersoft.cpp-build-tuner' version '1.1' + id 'loggersoft.cpp-build-tuner' version '1.3' } ~~~ @@ -43,6 +43,15 @@ } libDirs.common = ['../build/debug', '../release'] + + defines { + common = ['DEF_COMMON_1', ' DEF_COMMON_2 = 7 '] + windows = [' DEF_WINDOWS_1', ' DEF_WINDOWS_2=9'] + linux = ['DEF_LINUX_1 ', ' DEF_LINUX_2 =3 '] + } + + dependencies.common = ['loggersoft.jvm:class-reader:0.1'] + preferCLang = true } ~~~ @@ -50,6 +59,9 @@ * **gtest** (string) - the version of Google Test for test binary. At the moment only version 1.8.1 for GCC, MinGW-W64, and MSVC is supported. * **libraries** (container) - the list of libraries for the linker. The field has three parameters (list of strings) inside: common - libraries which will be used on any platform, windows - only on Windows and linux - only on Linux. * **libDirs** (container) - the list of directories on the local file system to search the linker libraries. Inside has the same platform-specific structure as the libraries container (see above). +* **dependencies** (container) - the list of dependencies. +* **defines** (container) - the list of defines (macros). +* **preferCLang** (boolean) - prefers the CLang version of artifacts from the dependencies list if possible ('-2' suffix of version). Run application --- </pre> </div>Alexander KornilovWed, 04 Dec 2019 17:43:03 -0000https://sourceforge.net2509e352b7efb27e79f3c1425c0b9b039e5fd378