native_toolchain_cmake
A library to invoke and build CMake projects for Dart Native Assets.
0.3.2
31K downloads/mo
#1829 most downloaded on pub.dev
rainyl/native_toolchain_cmake
What this package is like to depend on
Last release 5 days ago
19 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
19 releases · first in 2025
11 releases in the last 12 months
see the full history below
Release timeline
19 releases · Feb 2025 to Aug 2026Releases
latest 19-
0.3.219 Aug 2026Release notes
Open source →What's Changed
- Widen code_assets constraint to allow 2.x compatibility by @jakobkordez in #42
New Contributors
- @jakobkordez made their first contribution in #42
Full Changelog: v0.3.1...v0.3.2
Release notes
Open source →- widen the
code_assetsconstraint to>=1.0.0 <3.0.0to allowcode_assets2.x, which is compatible with both 1.x and 2.x
-
0.3.114 Aug 2026Release notes
Open source →- fix: fall back to the default
PATHEXTwhen resolving tools withwhereon Windows, fixes CMake/Ninja resolution in filtered environments such as build hooks, #40
- fix: fall back to the default
-
0.3.021 Jul 2026Release notes
Open source →What's Changed
- fix(builder): properly resolve user-defines for android_home on Windows by @rainyl in #38
- implement android SDK and NDK resolving to aligh with Flutter SDK by @rainyl in #39
Full Changelog: v0.2.7...v0.3.0
-
0.2.717 Jul 2026Release notes
Open source →- new: add
CMakeBuilder.runStandaloneto allow running builder withoutBuildInput inputandBuildOutputBuilder output
- new: add
-
0.2.630 Jun 2026Release notes
Open source →What's Changed
- Bump hooks from 1.0.3 to 2.0.2 by @dependabot[bot] in #35
Full Changelog: v0.2.5...v0.2.6
-
0.2.503 Apr 2026Release notes
Open source →Release notes
Open source →- fix: add encoding parameter (default is
systemEncoding) to runProcess for consistent output decoding
- fix: add encoding parameter (default is
-
0.2.406 Feb 2026Release notes
Open source →- new: add
parallelJobsandparallelUseAllProcessorsto support parallel build or set njobs explicitly.
- new: add
-
0.2.304 Feb 2026Release notes
Open source →What's Changed
- feat(builder): add skipGenerateIfCached parameter to CMakeBuilder by @rainyl in #26
- feat: check for prerelase vscode version if no stable version is found by @knopp in #27
- Pass environment through cmake executable resolve by @Gold872 in #28
New Contributors
Full Changelog: v0.2.2...v0.2.3
Release notes
Open source →- new: support skipping generate if cached
- feat: check for prelrease VS version if no stable version is found
- fix: pass environment variables from vcvars.bat to resolvers to allow finding cmake not in PATH
-
0.2.217 Dec 2025Release notes
Open source → -
0.2.112 Dec 2025Release notes
Open source →What's Changed
- fix: option to use Android NDK cmake and ninja, also define tool version by @jasaw in #22
- refactor: improved unit tests by @jasaw in #23
New Contributors
Full Changelog: v0.2.0...v0.2.1
Release notes
Open source →- support configuring cmake/ninja versions and android NDK version
- mock cmake/ninja when testing
-
0.2.016 Nov 2025 -
0.1.015 Aug 2025Release notes
Open source →- migrate to
hooksandcode_assets - fix: ambiguous ios/arm64 for iosSimulator/arm64
- bump hooks to 0.20.0
- migrate to
-
0.0.6-dev.123 Jul 2025 pre-release -
0.0.6-dev.008 May 2025 pre-release -
0.0.504 Apr 2025Release notes
Open source →- fix: only add
-Awhen using Visual Studio Generators - new: add
useVcvarsto add environment variables from vcvarsXXX.bat - bump native_assets_cli to 0.13.0
- fix: only add
-
0.0.420 Mar 2025Release notes
Open source →- fix: android should use Ninja for android builds
- fix: fixed a uri resolution issue for the local build folder
- fix: use the input's target OS instead of current.OS
- fix: null value in tool resolution
- new: add extension methods
BuildOutputBuilder.findCodeAssets,BuildOutputBuilder.addAllCodeAssets - breaking change:
BuildOutputBuilder.findAndAddCodeAssetsnow returnsList<CodeAsset>
-
0.0.317 Mar 2025Release notes
Open source →- new: add
CMakeBuilder.fromGitconstructor to create a builder from a remote repository. - new: add
buildLocaloptional parameter to build out of.dart_tool. - new: add
AddFoundCodeAssets,BuildOutputBuilder.findAndAddCodeAssetsto find and add code assets. - breaking change: move android and
ios.toolchain.cmakerelated args ofCMakeBuilderto separateAndroidBuilderArgsandAppleBuilderArgs.
- new: add
-
0.0.224 Feb 2025Release notes
Open source →- use
SystemEncodingto decode the output ofProcess - add
--log-levelfor CMake
- use
-
0.0.114 Feb 2025