# Development

**URL:** https://discourse.cmake.org/c/development/9.md?page=4

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

**Page:** 5

---

## [Developments not visible in Milestones view](https://discourse.cmake.org/t/developments-not-visible-in-milestones-view/14161)

<div class="topic-metadata">

**Author:** [@Oodini](https://discourse.cmake.org/u/Oodini)\
**Replies:** 2\
**Last updated:** [July 20, 2025, 6:26am UTC](https://discourse.cmake.org/t/developments-not-visible-in-milestones-view/14161 "2025-07-20T06:26:30Z")

</div>

Hello, I like taking a looking in the Milestones view of CMake, to have an idea iof what will be added/fixed: https://gitlab.kitware.com/cmake/cmake/-/milestones Also, it is better than the release notes to have an ide…

---

## ["Show Live Issues" problem in Xcode with CMake generator and possible improvement](https://discourse.cmake.org/t/show-live-issues-problem-in-xcode-with-cmake-generator-and-possible-improvement/14176)

<div class="topic-metadata">

**Author:** [@Chinouo](https://discourse.cmake.org/u/Chinouo)\
**Replies:** 1\
**Last updated:** [July 20, 2025, 2:47am UTC](https://discourse.cmake.org/t/show-live-issues-problem-in-xcode-with-cmake-generator-and-possible-improvement/14176 "2025-07-20T02:47:03Z")

</div>

By default, CMake generates a .xcodeproj file, Xcode can index the code properly, but the Show Live Issues feature doesn’t work with this file. Code issues are only shown after building, However, if I create a new Xcode…

---

## [\[3.31.6\] Toolchain file gets parsed twice](https://discourse.cmake.org/t/3-31-6-toolchain-file-gets-parsed-twice/13950)

<div class="topic-metadata">

**Author:** [@Boldviking](https://discourse.cmake.org/u/Boldviking)\
**Replies:** 3\
**Last updated:** [July 20, 2025, 2:42am UTC](https://discourse.cmake.org/t/3-31-6-toolchain-file-gets-parsed-twice/13950 "2025-07-20T02:42:08Z")

</div>

Hello everyone. I have been using cmake for quite some time and I really enjoy it. However today we stumbled upon an issue that got us thinking a bit. Its about toolchain files and how they get loaded. Now we never re…

---

## [What file permissions do find\_{library,path,file} require?](https://discourse.cmake.org/t/what-file-permissions-do-find-library-path-file-require/13849)

<div class="topic-metadata">

**Author:** [@scivision](https://discourse.cmake.org/u/scivision)\
**Replies:** 3\
**Last updated:** [July 20, 2025, 2:37am UTC](https://discourse.cmake.org/t/what-file-permissions-do-find-library-path-file-require/13849 "2025-07-20T02:37:23Z")

</div>

Recently CMP0109 was added to find\_program to clarify sensible file permissions required for find\_program() to stop and declare a program as found. What is the official behavior regarding file permissions required for: …

---

## [feature request: assert](https://discourse.cmake.org/t/feature-request-assert/13847)

<div class="topic-metadata">

**Author:** [@KSergeyP](https://discourse.cmake.org/u/KSergeyP)\
**Replies:** 1\
**Last updated:** [July 20, 2025, 2:36am UTC](https://discourse.cmake.org/t/feature-request-assert/13847 "2025-07-20T02:36:24Z")

</div>

you could add: include(assert) assert\_var(message\_type message var) - is var defined? assert\_ndef(message\_type message var) - is not var defined? assert\_empty(message\_type message var) - is var empty? assert\_empty(me…

---

## [Is it possible to create alias for \`add\_custom\_target()\`?](https://discourse.cmake.org/t/is-it-possible-to-create-alias-for-add-custom-target/13842)

<div class="topic-metadata">

**Author:** [@leha-bot](https://discourse.cmake.org/u/leha-bot)\
**Replies:** 2\
**Last updated:** [July 20, 2025, 2:35am UTC](https://discourse.cmake.org/t/is-it-possible-to-create-alias-for-add-custom-target/13842 "2025-07-20T02:35:35Z")

</div>

And if this ability absent, should we support it for complementary support of pretty “double-coloned” (namespace::target) names?

---

## [CMake: Add support for ensuring time\_t is Y2038-safe](https://discourse.cmake.org/t/cmake-add-support-for-ensuring-time-t-is-y2038-safe/13754)

<div class="topic-metadata">

**Author:** [@Francois-Xavier\_Le\_B](https://discourse.cmake.org/u/Francois-Xavier_Le_B)\
**Replies:** 1\
**Last updated:** [July 20, 2025, 2:34am UTC](https://discourse.cmake.org/t/cmake-add-support-for-ensuring-time-t-is-y2038-safe/13754 "2025-07-20T02:34:23Z")

</div>

Hello Kitware Team, The Year 2038 problem threatens 32-bit systems using a 32-bit time\_t, which overflows in January 2038. Autoconf 2.72 addresses this problem with its AC\_SYS\_YEAR2038\_RECOMMENDED macro, introduced in …

---

## [Ability to set global properties in configure presets?](https://discourse.cmake.org/t/ability-to-set-global-properties-in-configure-presets/13726)

<div class="topic-metadata">

**Author:** [@benthevining](https://discourse.cmake.org/u/benthevining)\
**Replies:** 2\
**Last updated:** [July 20, 2025, 2:33am UTC](https://discourse.cmake.org/t/ability-to-set-global-properties-in-configure-presets/13726 "2025-07-20T02:33:10Z")

</div>

Has this ever been discussed before? Is there a reason it’s not supported? The use case would be setting properties that don’t have a variable to initialize them, such as USE\_FOLDERS

---

## [dark mode for cmake-gui](https://discourse.cmake.org/t/dark-mode-for-cmake-gui/1193)

<div class="topic-metadata">

**Author:** [@programaudio](https://discourse.cmake.org/u/programaudio)\
**Replies:** 6\
**Last updated:** [July 20, 2025, 2:30am UTC](https://discourse.cmake.org/t/dark-mode-for-cmake-gui/1193 "2025-07-20T02:30:25Z")

</div>

A dark mode for the cmake-gui Windows and Mac desktop applications would be greatly appreciated!

---

## [The compile\_commands.json is not usable with run-clang-tidy](https://discourse.cmake.org/t/the-compile-commands-json-is-not-usable-with-run-clang-tidy/13565)

<div class="topic-metadata">

**Author:** [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)\
**Replies:** 2\
**Last updated:** [July 20, 2025, 2:26am UTC](https://discourse.cmake.org/t/the-compile-commands-json-is-not-usable-with-run-clang-tidy/13565 "2025-07-20T02:26:30Z")

</div>

With cmake v3.30.4 generated compile\_commands.json file: \[ { "directory": "C:/Users/KLEIN\_CL/Workspace/cmake/ModernCmakeStarter/build/user", "command": "C:\\\\PROGRA~1\\\\MIB055~1\\\\2022\\\\PROFES~1\\\\VC\\\\Tools\\\\Llvm\\\\bin\\…

---

## [Adding CMake Script unit test generation functionality into the CMake binary.](https://discourse.cmake.org/t/adding-cmake-script-unit-test-generation-functionality-into-the-cmake-binary/13528)

<div class="topic-metadata">

**Author:** [@Christopher\_Nugent](https://discourse.cmake.org/u/Christopher_Nugent)\
**Replies:** 7\
**Last updated:** [July 20, 2025, 2:24am UTC](https://discourse.cmake.org/t/adding-cmake-script-unit-test-generation-functionality-into-the-cmake-binary/13528 "2025-07-20T02:24:23Z")

</div>

Good morning. I’ve recently been working on the build system for a project of mine, and, desiring to keep the dependency list low, I have opted to write my conditional build logic in CMake. This has led me to write som…

---

## [CMake-gui keeps inserting %3B instead of ; between library files in VC](https://discourse.cmake.org/t/cmake-gui-keeps-inserting-3b-instead-of-between-library-files-in-vc/13510)

<div class="topic-metadata">

**Author:** [@Rubber\_Telly\_Media](https://discourse.cmake.org/u/Rubber_Telly_Media)\
**Replies:** 1\
**Last updated:** [July 20, 2025, 2:22am UTC](https://discourse.cmake.org/t/cmake-gui-keeps-inserting-3b-instead-of-between-library-files-in-vc/13510 "2025-07-20T02:22:12Z")

</div>

As Above

---

## [Feature Request: More robust retry policy for FetchContent / ExternalProject\_Add in download.cmake](https://discourse.cmake.org/t/feature-request-more-robust-retry-policy-for-fetchcontent-externalproject-add-in-download-cmake/7560)

<div class="topic-metadata">

**Author:** [@Greg](https://discourse.cmake.org/u/Greg)\
**Replies:** 7\
**Last updated:** [July 20, 2025, 1:46am UTC](https://discourse.cmake.org/t/feature-request-more-robust-retry-policy-for-fetchcontent-externalproject-add-in-download-cmake/7560 "2025-07-20T01:46:09Z")

</div>

I have a CI builds which occasionally fail in FetchContent when downloading an URL with the error status\_code: 28 status\_string: “Timeout was reached” which is unfortunate. I guess this machine is on a intermittently…

---

## [Feature request: default values for environment variables in presets](https://discourse.cmake.org/t/feature-request-default-values-for-environment-variables-in-presets/12933)

<div class="topic-metadata">

**Author:** [@Braden](https://discourse.cmake.org/u/Braden)\
**Replies:** 2\
**Last updated:** [July 20, 2025, 1:43am UTC](https://discourse.cmake.org/t/feature-request-default-values-for-environment-variables-in-presets/12933 "2025-07-20T01:43:52Z")

</div>

It would be helpful to have the ability to supply a default value for environment variables in presets (when the environment variable is not defined). My use case is this… I’d like to make the build directory a subdirec…

---

## [Debug Adapter: Adding Stack Trace Formatting support](https://discourse.cmake.org/t/debug-adapter-adding-stack-trace-formatting-support/12828)

<div class="topic-metadata">

**Author:** [@jophippe](https://discourse.cmake.org/u/jophippe)\
**Replies:** 1\
**Last updated:** [July 20, 2025, 1:36am UTC](https://discourse.cmake.org/t/debug-adapter-adding-stack-trace-formatting-support/12828 "2025-07-20T01:36:18Z")

</div>

Hi CMake Team! I’m a developer on the Visual Studio CMake integration, and we got a request to improve the Call Stack view when using the CMake debugger. Right now, the Call Stack in VS only shows the function name, and …

---

## [Request: "verbatim" or "recurse" to copy\_directory](https://discourse.cmake.org/t/request-verbatim-or-recurse-to-copy-directory/7423)

<div class="topic-metadata">

**Author:** [@kfsone](https://discourse.cmake.org/u/kfsone)\
**Replies:** 11\
**Last updated:** [July 20, 2025, 1:30am UTC](https://discourse.cmake.org/t/request-verbatim-or-recurse-to-copy-directory/7423 "2025-07-20T01:30:46Z")

</div>

TLDR: Please add an option to copy\_directory to copy the directory AND its contents, i.e. copy\_directory -r d1 d2 dest will result in dest/d1/... and dest/d2/.... copy\_directory surprises me often by not quite behaving…

---

## [Feature Request: find Python3 package](https://discourse.cmake.org/t/feature-request-find-python3-package/11337)

<div class="topic-metadata">

**Author:** [@mwtoews](https://discourse.cmake.org/u/mwtoews)\
**Replies:** 2\
**Last updated:** [July 19, 2025, 4:38pm UTC](https://discourse.cmake.org/t/feature-request-find-python3-package/11337 "2025-07-19T16:38:32Z")

</div>

In a project I’m involved with, we need to check if certain Python packages are available to the interpreter. To do this, I have written a basic macro find\_Python3\_package. This is used in a CMake block like this: find…

---

## [Help/command/if: list all condition operators in precedence order list](https://discourse.cmake.org/t/help-command-if-list-all-condition-operators-in-precedence-order-list/11509)

<div class="topic-metadata">

**Author:** [@Lex-2008](https://discourse.cmake.org/u/Lex-2008)\
**Replies:** 5\
**Last updated:** [July 19, 2025, 3:26pm UTC](https://discourse.cmake.org/t/help-command-if-list-all-condition-operators-in-precedence-order-list/11509 "2025-07-19T15:26:44Z")

</div>

I believe there might be other people, not only me, who, when first opened documentation for if() command, saw list of condition operators in “Condition Syntax” section, and wrongfully assumed that they are the only chec…

---

## [CPack (rpm) prebuild jar file changes checksum](https://discourse.cmake.org/t/cpack-rpm-prebuild-jar-file-changes-checksum/11110)

<div class="topic-metadata">

**Author:** [@dabitz](https://discourse.cmake.org/u/dabitz)\
**Replies:** 6\
**Last updated:** [July 19, 2025, 2:39pm UTC](https://discourse.cmake.org/t/cpack-rpm-prebuild-jar-file-changes-checksum/11110 "2025-07-19T14:39:07Z")

</div>

I would like to generate a rpm package using cpack. I’m using install(DIRECTORY … DESTINATION …) to also install a bunch of prebuild jar files. But after rpm generation the packed jar files got modified and don’t have …

---

## [Feature Request: Access global properties from generator expression](https://discourse.cmake.org/t/feature-request-access-global-properties-from-generator-expression/11677)

<div class="topic-metadata">

**Author:** [@dbs4261](https://discourse.cmake.org/u/dbs4261)\
**Replies:** 1\
**Last updated:** [July 19, 2025, 2:37pm UTC](https://discourse.cmake.org/t/feature-request-access-global-properties-from-generator-expression/11677 "2025-07-19T14:37:20Z")

</div>

A simple example: Currently the global property must be assigned to a variable before being using in a generator expression: get\_property(IS\_MULTI\_CONFIG GLOBAL PROPERTY GENERATOR\_IS\_MULTI\_CONFIG) set(CMAKE\_RUNTIME\_OUT…

---

## [Cmake 3.30.2 bootstrap failure on MacOS with gcc and old Xcode SDK](https://discourse.cmake.org/t/cmake-3-30-2-bootstrap-failure-on-macos-with-gcc-and-old-xcode-sdk/11579)

<div class="topic-metadata">

**Author:** [@rhtownsend](https://discourse.cmake.org/u/rhtownsend)\
**Replies:** 1\
**Last updated:** [July 19, 2025, 2:24pm UTC](https://discourse.cmake.org/t/cmake-3-30-2-bootstrap-failure-on-macos-with-gcc-and-old-xcode-sdk/11579 "2025-07-19T14:24:40Z")

</div>

I’m trying to bootstrap Cmake 3.30.2 on a MacOS (14.6.1) Apple silicon system using gcc (13.3.0), but with a wrinkle: the gcc compiler was built against an old Xcode SDK (11.1) so that I can use it on older MacOS systems…

---

## [outdated description in "Mastering cmake"](https://discourse.cmake.org/t/outdated-description-in-mastering-cmake/11415)

<div class="topic-metadata">

**Author:** [@Li\_Haohuang](https://discourse.cmake.org/u/Li_Haohuang)\
**Replies:** 1\
**Last updated:** [July 19, 2025, 2:12pm UTC](https://discourse.cmake.org/t/outdated-description-in-mastering-cmake/11415 "2025-07-19T14:12:14Z")

</div>

In this chapter Testing With CMake and CTest — Mastering CMake The descprition marked up is not found in the cmake code snippets. When I click into ‘remove’ link, I find this command is deprecaded, so this sentence …

---

## [versioning by commit hash](https://discourse.cmake.org/t/versioning-by-commit-hash/11318)

<div class="topic-metadata">

**Author:** [@victorstewart](https://discourse.cmake.org/u/victorstewart)\
**Replies:** 1\
**Last updated:** [July 18, 2025, 8:30pm UTC](https://discourse.cmake.org/t/versioning-by-commit-hash/11318 "2025-07-18T20:30:36Z")

</div>

there are a number of open source libraries which resist versioning and expect users to build from the master branch. this is fine until you need to force a rebuild to the latest… it would be great if we could also crea…

---

## [Suggestion: Enable FetchContent to Support Extracting Files with '.zst' Extension](https://discourse.cmake.org/t/suggestion-enable-fetchcontent-to-support-extracting-files-with-zst-extension/14347)

<div class="topic-metadata">

**Author:** [@TheUser](https://discourse.cmake.org/u/TheUser)\
**Replies:** 1\
**Last updated:** [July 12, 2025, 6:43am UTC](https://discourse.cmake.org/t/suggestion-enable-fetchcontent-to-support-extracting-files-with-zst-extension/14347 "2025-07-12T06:43:22Z")

</div>

Used CMake version: 4.0.3 I am trying to use FetchContent to fetch MINGW64-ICU on Windows. Here is my CMake configuration code: cmake\_minimum\_required(VERSION 3.20) FetchContent\_Declare( ICU # Download from MS…

---

## [Suggestion for changes in documentation of tutorial Step 2](https://discourse.cmake.org/t/suggestion-for-changes-in-documentation-of-tutorial-step-2/14344)

<div class="topic-metadata">

**Author:** [@scar027](https://discourse.cmake.org/u/scar027)\
**Replies:** 1\
**Last updated:** [July 11, 2025, 5:05pm UTC](https://discourse.cmake.org/t/suggestion-for-changes-in-documentation-of-tutorial-step-2/14344 "2025-07-11T17:05:49Z")

</div>

Hi, I was recently following along the documentation for the tutorial and in Step 2, Exercise 2, I found this part rather confusing because of how it is put forth. There are a couple of issues that I have with this. …

---

## [No SOURCES given to target: \_\_CMAKE\_\_CXX26 on ubuntu 25.04](https://discourse.cmake.org/t/no-sources-given-to-target-cmake-cxx26-on-ubuntu-25-04/14240)

<div class="topic-metadata">

**Author:** [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)\
**Replies:** 17\
**Last updated:** [July 7, 2025, 6:41pm UTC](https://discourse.cmake.org/t/no-sources-given-to-target-cmake-cxx26-on-ubuntu-25-04/14240 "2025-07-07T18:41:16Z")

</div>

import std does also not work with gcc-15 on ubuntu 25.04! builder@5b11ff1f2350:~/workdir$ cmake -S . -B build -G Ninja --fresh -- The CXX compiler identification is GNU 15.0.1 -- Detecting CXX compiler ABI info -- Detec…

---

## [RFC: inject CMakeLists.txt to add\_subdirectory()](https://discourse.cmake.org/t/rfc-inject-cmakelists-txt-to-add-subdirectory/14108)

<div class="topic-metadata">

**Author:** [@bmcdonnell-fb](https://discourse.cmake.org/u/bmcdonnell-fb)\
**Replies:** 5\
**Last updated:** [May 30, 2025, 12:48pm UTC](https://discourse.cmake.org/t/rfc-inject-cmakelists-txt-to-add-subdirectory/14108 "2025-05-30T12:48:44Z")

</div>

RFC / Proposal / Feature Request I’d like to be able to optionally specify a file to the add\_subdirectory() command, which it will use as CMakeLists.txt, as if it were overlaid into the subdirectory. The file can have a…

---

## [cmake.check\_cache deleted during generation when using cmake\_file\_api (Xcode)](https://discourse.cmake.org/t/cmake-check-cache-deleted-during-generation-when-using-cmake-file-api-xcode/14228)

<div class="topic-metadata">

**Author:** [@zrajnai-shapr3d](https://discourse.cmake.org/u/zrajnai-shapr3d)\
**Replies:** 4\
**Last updated:** [June 13, 2025, 3:10pm UTC](https://discourse.cmake.org/t/cmake-check-cache-deleted-during-generation-when-using-cmake-file-api-xcode/14228 "2025-06-13T15:10:45Z")

</div>

We have recently added functionality to our build system that involves a call to cmake\_file\_api(QUERY API\_VERSION 1 CODEMODEL 2). Since adding this call we are seeing the following in the build output when triggering a …

---

## [Feature Request: FindBLAS should report which vendor it found](https://discourse.cmake.org/t/feature-request-findblas-should-report-which-vendor-it-found/14210)

<div class="topic-metadata">

**Author:** [@Jacobfaib](https://discourse.cmake.org/u/Jacobfaib)\
**Replies:** 1\
**Last updated:** [June 9, 2025, 2:10pm UTC](https://discourse.cmake.org/t/feature-request-findblas-should-report-which-vendor-it-found/14210 "2025-06-09T14:10:08Z")

</div>

It is useful to know which BLAS implementation find\_package(BLAS) has found, because the user might want to make use of non-standard API. For example, you might want to set the number of OpenMP threads used by the libra…

---

## [Strange errors while build examples with CXX\_MODULEs on main branch](https://discourse.cmake.org/t/strange-errors-while-build-examples-with-cxx-modules-on-main-branch/14181)

<div class="topic-metadata">

**Author:** [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)\
**Replies:** 6\
**Last updated:** [June 7, 2025, 6:59pm UTC](https://discourse.cmake.org/t/strange-errors-while-build-examples-with-cxx-modules-on-main-branch/14181 "2025-06-07T18:59:59Z")

</div>

bash-5.2$ cd Tests/RunCMake/CXXModules/examples/import-std bash-5.2$ !CXX CXX=g++-15 cmake -S . -B build --fresh -D CMAKE\_CXX\_STANDARD\_LIBRARY=libstdc++ -- The CXX compiler identification is GNU 15.1.0 -- Checking whethe…

[Previous page](https://discourse.cmake.org/c/development/9.md?page=3)

[Next page](https://discourse.cmake.org/c/development/9.md?page=5)
