Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

1,522,990

Downloads of v 3.26.4:

12,784

Last Update:

19 May 2023

Package Maintainer(s):

Software Author(s):

  • Andy Cedilnik
  • Bill Hoffman
  • Brad King
  • Ken Martin
  • Alexander Neundorf

Tags:

cmake compiler make build foss cross-platform

CMake

  • 1
  • 2
  • 3

3.26.4 | Updated: 19 May 2023

Downloads:

1,522,990

Downloads of v 3.26.4:

12,784

Software Author(s):

  • Andy Cedilnik
  • Bill Hoffman
  • Brad King
  • Ken Martin
  • Alexander Neundorf

CMake 3.26.4

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install CMake, run the following command from the command line or from PowerShell:

>

To upgrade CMake, run the following command from the command line or from PowerShell:

>

To uninstall CMake, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade cmake -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade cmake -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install cmake
  win_chocolatey:
    name: cmake
    version: '3.26.4'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'cmake' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.26.4'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller cmake
{
    Name     = "cmake"
    Version  = "3.26.4"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'cmake':
  ensure   => '3.26.4',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved as a trusted package on 19 May 2023.

Description

CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice. The suite of CMake tools were created by Kitware in response to the need for a powerful, cross-platform build environment for open-source projects such as ITK and VTK.

Development

MSI Properties

ADD_CMAKE_TO_PATH

  • None - Do not add CMake to PATH (default)
  • System - Add CMake to system PATH for all users
  • User - Add CMake to PATH for the current user

DESKTOP_SHORTCUT_REQUESTED

  • 0 = Do not create desktop icon (default)
  • 1 = Create CMake desktop icon

ALLUSERS

  • 0 = Install for the current user only
  • 1 = Install for all users (default)

For example: choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'


Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
CMake 3.26.3 38678 Wednesday, April 5, 2023 Approved
CMake 3.26.2 6075 Thursday, March 30, 2023 Approved
CMake 3.26.1 7670 Thursday, March 23, 2023 Approved
CMake 3.26.0 9077 Wednesday, March 15, 2023 Approved
CMake 3.26.0-rc6 66 Thursday, March 9, 2023 Exempted
CMake 3.26.0-rc5 73 Wednesday, March 1, 2023 Exempted
CMake 3.26.0-rc4 87 Wednesday, February 22, 2023 Exempted
CMake 3.26.0-rc3 85 Thursday, February 16, 2023 Approved
CMake 3.26.0-rc2 64 Friday, February 10, 2023 Approved
CMake 3.26.0-rc1 178 Friday, February 3, 2023 Approved
CMake 3.25.3 6586 Wednesday, March 8, 2023 Approved
CMake 3.25.2 47355 Friday, January 20, 2023 Approved
CMake 3.25.1 53999 Thursday, December 1, 2022 Approved
CMake 3.25.0 25586 Thursday, November 17, 2022 Approved
CMake 3.25.0-rc4 659 Wednesday, November 9, 2022 Exempted
CMake 3.25.0-rc3 702 Wednesday, November 2, 2022 Exempted
CMake 3.25.0-rc2 715 Thursday, October 20, 2022 Exempted
CMake 3.25.0-rc1 305 Thursday, October 13, 2022 Exempted
CMake 3.24.4 41 Wednesday, March 8, 2023 Approved
CMake 3.24.3 17331 Wednesday, November 2, 2022 Approved
CMake 3.24.2 40025 Tuesday, September 13, 2022 Approved
CMake 3.24.1 11533 Thursday, August 18, 2022 Approved
CMake 3.24.0 23380 Friday, August 5, 2022 Approved
CMake 3.24.0-rc5 54 Friday, July 29, 2022 Exempted
CMake 3.24.0-rc4 87 Wednesday, July 20, 2022 Exempted
CMake 3.24.0-rc3 141 Thursday, July 7, 2022 Exempted
CMake 3.24.0-rc2 151 Friday, June 24, 2022 Exempted
CMake 3.24.0-rc1 142 Wednesday, June 15, 2022 Exempted
CMake 3.23.5 279 Wednesday, November 2, 2022 Approved
CMake 3.23.4 61 Wednesday, October 5, 2022 Approved
CMake 3.23.3 6181 Friday, July 29, 2022 Approved
CMake 3.23.2 43101 Thursday, May 26, 2022 Approved
CMake 3.23.1 45692 Tuesday, April 12, 2022 Approved
CMake 3.23.0 12235 Tuesday, March 29, 2022 Approved
CMake 3.23.0-rc5 161 Thursday, March 24, 2022 Exempted
CMake 3.23.0-rc4 120 Friday, March 18, 2022 Exempted
CMake 3.23.0-rc3 162 Friday, March 11, 2022 Exempted
CMake 3.23.0-rc2 296 Wednesday, February 23, 2022 Exempted
CMake 3.23.0-rc1 357 Tuesday, February 8, 2022 Exempted
CMake 3.22.6 224 Friday, July 29, 2022 Approved
CMake 3.22.5 142 Thursday, June 2, 2022 Approved
CMake 3.22.4 174 Tuesday, April 12, 2022 Approved
CMake 3.22.3 21818 Saturday, March 5, 2022 Approved
CMake 3.22.2 42903 Tuesday, January 25, 2022 Approved
CMake 3.22.1 43100 Wednesday, December 8, 2021 Approved
CMake 3.22.0 15530 Thursday, November 18, 2021 Approved
CMake 3.22.0-rc3 148 Saturday, November 13, 2021 Exempted
CMake 3.22.0-rc2 284 Friday, October 29, 2021 Exempted
CMake 3.22.0-rc1 402 Thursday, October 14, 2021 Exempted
CMake 3.21.6 776 Saturday, March 5, 2022 Approved
CMake 3.21.5 142 Tuesday, February 1, 2022 Approved
CMake 3.21.4 25336 Wednesday, October 27, 2021 Approved
CMake 3.21.3 35999 Monday, September 20, 2021 Approved
CMake 3.21.2 16497 Wednesday, August 25, 2021 Approved
CMake 3.21.0 25922 Wednesday, July 14, 2021 Approved
CMake 3.21.0-rc3 121 Thursday, July 8, 2021 Exempted
CMake 3.21.0-rc2 219 Wednesday, June 30, 2021 Exempted
CMake 3.21.0-rc1 237 Wednesday, June 23, 2021 Exempted
CMake 3.20.6 1388 Monday, September 20, 2021 Approved
CMake 3.20.5 15627 Monday, June 21, 2021 Approved
CMake 3.20.4 5907 Monday, June 14, 2021 Approved
CMake 3.20.3 13621 Friday, May 28, 2021 Approved
CMake 3.20.2 38755 Thursday, April 29, 2021 Approved
CMake 3.20.1 13773 Thursday, April 8, 2021 Approved
CMake 3.20.0 12129 Tuesday, March 23, 2021 Approved
CMake 3.20.0-rc5 135 Wednesday, March 17, 2021 Approved
CMake 3.20.0-rc4 120 Thursday, March 11, 2021 Exempted
CMake 3.20.0-rc3 104 Thursday, March 4, 2021 Exempted
CMake 3.20.0-rc2 122 Thursday, February 25, 2021 Exempted
CMake 3.20.0-rc1 88 Wednesday, February 24, 2021 Exempted
CMake 3.19.8 1456 Wednesday, April 7, 2021 Approved
CMake 3.19.7 8863 Monday, March 15, 2021 Approved
CMake 3.19.6 11206 Wednesday, February 24, 2021 Approved
CMake 3.19.5 6175 Tuesday, February 16, 2021 Approved
CMake 3.19.4 11799 Thursday, January 28, 2021 Approved
CMake 3.19.3 12228 Wednesday, January 13, 2021 Approved
CMake 3.19.2 14340 Wednesday, December 16, 2020 Approved
CMake 3.19.1 13952 Tuesday, November 24, 2020 Approved
CMake 3.19.0 3648 Wednesday, November 18, 2020 Approved
CMake 3.19.0-rc3 200 Saturday, November 7, 2020 Exempted
CMake 3.19.0-rc2 194 Wednesday, October 28, 2020 Exempted
CMake 3.19.0-rc1 177 Wednesday, October 14, 2020 Exempted
CMake 3.18.6 199 Thursday, February 11, 2021 Approved
CMake 3.18.5 408 Wednesday, November 18, 2020 Approved
CMake 3.18.4 50024 Wednesday, October 7, 2020 Approved
CMake 3.18.3 9564 Tuesday, September 22, 2020 Approved
CMake 3.18.2 17803 Thursday, August 20, 2020 Approved
CMake 3.18.1 12329 Friday, July 31, 2020 Approved
CMake 3.18.0 8973 Wednesday, July 15, 2020 Approved
CMake 3.18.0-rc4 149 Friday, July 10, 2020 Exempted
CMake 3.18.0-rc3 156 Thursday, July 2, 2020 Exempted
CMake 3.18.0-rc2 275 Wednesday, June 17, 2020 Exempted
CMake 3.18.0-rc1 194 Wednesday, June 10, 2020 Exempted
CMake 3.17.5 365 Tuesday, September 15, 2020 Approved
CMake 3.17.4 131 Friday, July 31, 2020 Approved
CMake 3.17.3 26518 Thursday, May 28, 2020 Approved
CMake 3.17.2 32482 Tuesday, April 28, 2020 Approved
CMake 3.17.1 12293 Thursday, April 9, 2020 Approved
CMake 3.17.0 11617 Friday, March 20, 2020 Approved
CMake 3.17.0-rc3 256 Thursday, March 12, 2020 Exempted
CMake 3.17.0-rc2 225 Tuesday, March 3, 2020 Exempted
CMake 3.16.8 808 Monday, June 1, 2020 Approved
CMake 3.16.7 158 Wednesday, May 27, 2020 Approved
CMake 3.16.6 1910 Friday, April 10, 2020 Approved
CMake 3.16.5 9873 Wednesday, March 4, 2020 Approved
CMake 3.16.4.20200221 6252 Friday, February 21, 2020 Approved
CMake 3.16.2 23740 Thursday, December 19, 2019 Approved
CMake 3.16.1 10904 Tuesday, December 10, 2019 Approved
CMake 3.16.0 11019 Tuesday, November 26, 2019 Approved
CMake 3.16.0-rc4 241 Tuesday, November 19, 2019 Exempted
CMake 3.16.0-rc3 275 Thursday, October 31, 2019 Exempted
CMake 3.16.0-rc2 256 Sunday, October 20, 2019 Exempted
CMake 3.16.0-rc1 394 Thursday, October 10, 2019 Exempted
CMake 3.15.6 377 Tuesday, December 17, 2019 Approved
CMake 3.15.5 17472 Thursday, October 31, 2019 Approved
CMake 3.15.4 11785 Wednesday, October 2, 2019 Approved
CMake 3.15.3 8756 Wednesday, September 4, 2019 Approved
CMake 3.15.2 8800 Thursday, August 8, 2019 Approved
CMake 3.15.1 1576 Friday, July 26, 2019 Approved
CMake 3.15.0 1251 Wednesday, July 17, 2019 Approved
CMake 3.15.0-rc4 390 Thursday, July 11, 2019 Exempted
CMake 3.15.0-rc3 277 Friday, June 28, 2019 Exempted
CMake 3.15.0-rc2 221 Wednesday, June 19, 2019 Exempted
CMake 3.15.0-rc1 251 Tuesday, June 4, 2019 Exempted
CMake 3.14.7 10890 Wednesday, October 2, 2019 Approved
CMake 3.14.6 6941 Tuesday, July 16, 2019 Approved
CMake 3.14.5 11176 Friday, May 31, 2019 Approved
CMake 3.14.4 5039 Tuesday, May 14, 2019 Approved
CMake 3.14.3 116032 Monday, April 22, 2019 Approved
CMake 3.14.2 2848 Friday, April 12, 2019 Approved
CMake 3.14.1 4412 Friday, March 29, 2019 Approved
CMake 3.14.0 4743 Thursday, March 14, 2019 Approved
CMake 3.14.0-rc4 192 Friday, March 8, 2019 Exempted
CMake 3.14.0-rc3 224 Friday, March 1, 2019 Exempted
CMake 3.14.0-rc2 264 Friday, February 15, 2019 Exempted
CMake 3.14.0-rc1 217 Thursday, February 7, 2019 Exempted
CMake 3.13.5 299 Tuesday, May 14, 2019 Approved
CMake 3.13.4 8563 Monday, February 4, 2019 Approved
CMake 3.13.3 7329 Tuesday, January 15, 2019 Approved
CMake 3.13.2 8684 Thursday, December 13, 2018 Approved
CMake 3.13.1 16415 Wednesday, November 28, 2018 Approved
CMake 3.13.0 2702 Wednesday, November 21, 2018 Approved
CMake 3.13.0-rc3 228 Wednesday, November 7, 2018 Exempted
CMake 3.13.0-rc2 243 Thursday, October 25, 2018 Exempted
CMake 3.13.0-rc1 217 Tuesday, October 9, 2018 Exempted
CMake 3.12.4 4779 Friday, November 2, 2018 Approved
CMake 3.12.3 1652 Wednesday, October 3, 2018 Approved
CMake 3.12.2 13187 Friday, September 7, 2018 Approved
CMake 3.12.1 4120 Thursday, August 9, 2018 Approved
CMake 3.12.0 3922 Tuesday, July 17, 2018 Approved
CMake 3.12.0-rc3 296 Monday, July 9, 2018 Exempted
CMake 3.12.0-rc2 263 Saturday, June 30, 2018 Exempted
CMake 3.12.0-rc1 274 Friday, June 15, 2018 Exempted
CMake 3.11.4 4512 Thursday, June 14, 2018 Approved
CMake 3.11.3 2433 Friday, June 1, 2018 Approved
CMake 3.11.2 2533 Thursday, May 17, 2018 Approved
CMake 3.11.1 7438 Tuesday, April 17, 2018 Approved
CMake 3.11.0 9340 Thursday, March 29, 2018 Approved
CMake 3.11.0-rc4 326 Monday, March 19, 2018 Exempted
CMake 3.11.0-rc3 329 Saturday, March 10, 2018 Exempted
CMake 3.11.0-rc2 312 Tuesday, February 27, 2018 Exempted
CMake 3.11.0-rc1 339 Thursday, February 15, 2018 Exempted
CMake 3.10.3 6922 Friday, March 16, 2018 Approved
CMake 3.10.2 18800 Thursday, January 18, 2018 Approved
CMake 3.10.1.20180115 1911 Monday, January 15, 2018 Approved
CMake 3.10.1 6694 Thursday, December 14, 2017 Approved
CMake 3.10.0 6624 Tuesday, November 21, 2017 Approved
CMake 3.9.6 673 Thursday, November 30, 2017 Approved
CMake 3.9.1 12272 Thursday, August 10, 2017 Approved
CMake 3.9.0 2610 Tuesday, July 18, 2017 Approved
CMake 3.8.2 5250 Wednesday, May 31, 2017 Approved
CMake 3.8.1 3143 Tuesday, May 2, 2017 Approved
CMake 3.8.0 2547 Tuesday, April 11, 2017 Approved
CMake 3.7.2 5715 Friday, January 13, 2017 Approved
CMake 3.7.0 2960 Saturday, November 12, 2016 Approved
CMake 3.6.1 4222 Friday, July 22, 2016 Approved
CMake 3.6.0 2413 Wednesday, July 20, 2016 Approved
CMake 3.5.2 7643 Saturday, June 18, 2016 Approved
CMake 3.4.3 6813 Monday, February 1, 2016 Approved
CMake 3.4.1 2651 Thursday, December 3, 2015 Approved
CMake 3.4.0 481 Friday, November 13, 2015 Approved
CMake 3.3.2 1323 Thursday, September 17, 2015 Approved
CMake 3.3.1 547 Friday, August 14, 2015 Approved
CMake 3.3.0 5047 Friday, July 24, 2015 Approved
CMake 3.2.3 4306 Tuesday, June 2, 2015 Approved
CMake 3.2.2 1572 Wednesday, April 15, 2015 Approved
CMake 3.2.1 859 Monday, April 6, 2015 Approved
CMake 3.1.3 2722 Monday, February 16, 2015 Approved
CMake 3.1.1.20150213 431 Wednesday, February 18, 2015 Approved
CMake 3.1.1 804 Thursday, February 5, 2015 Approved
CMake 3.0.2 4143 Monday, September 15, 2014 Approved
CMake 2.8.12 2035 Thursday, February 6, 2014 Approved
CMake 2.8.9 1867 Wednesday, October 3, 2012 Approved
CMake 2.8.8 766 Friday, August 3, 2012 Approved
Discussion for the CMake Package

Ground Rules:

  • This discussion is only about CMake and the CMake package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or CMake, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus