# CDash build name customizability?

**URL:** https://discourse.cmake.org/t/cdash-build-name-customizability/13819
**Category:** Usage
**Created:** [March 26, 2025, 7:46am UTC](https://discourse.cmake.org/t/cdash-build-name-customizability/13819 "2025-03-26T07:46:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![benthevining](https://discourse.cmake.org/user_avatar/discourse.cmake.org/benthevining/32/1924_2.png) [@benthevining](https://discourse.cmake.org/u/benthevining)
#### Post date: [March 26, 2025, 7:46am UTC](https://discourse.cmake.org/t/cdash-build-name-customizability/13819/1 "2025-03-26T07:46:06Z")

</div>

I’d like my CDash build names to include the build configuration (not sure why that’s not listed anywhere in CDash by default). Unless I’m missing something, it seems non-trivial to override this, I can’t find any CLI flags or variables you can set for this, it looks like I’d have to resort to writing a custom CDash script?

How are people handling this? Am I missing something obvious here?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 26, 2025, 11:51am UTC](https://discourse.cmake.org/t/cdash-build-name-customizability/13819/2 "2025-03-26T11:51:52Z")

</div>

In a CTest script, there is [`CTEST_BUILD_NAME`](https://cmake.org/cmake/help/latest/variable/CTEST_BUILD_NAME.html).

---

<div class="post-metadata">

### Author: ![benthevining](https://discourse.cmake.org/user_avatar/discourse.cmake.org/benthevining/32/1924_2.png) [@benthevining](https://discourse.cmake.org/u/benthevining)
#### Post date: [March 26, 2025, 6:47pm UTC](https://discourse.cmake.org/t/cdash-build-name-customizability/13819/3 "2025-03-26T18:47:52Z")

</div>

So to customize the build name, do I need to use a custom ctest script? Currently I’ve just been running `ctest -D Nightly`

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 27, 2025, 2:33pm UTC](https://discourse.cmake.org/t/cdash-build-name-customizability/13819/4 "2025-03-27T14:33:11Z")

</div>

The `DartConfiguration.tcl` file seems to have a `BUILDNAME` variable that might be used from the configure step. Does that work?

---

<div class="post-metadata">

### Author: ![benthevining](https://discourse.cmake.org/user_avatar/discourse.cmake.org/benthevining/32/1924_2.png) [@benthevining](https://discourse.cmake.org/u/benthevining)
#### Post date: [March 27, 2025, 6:34pm UTC](https://discourse.cmake.org/t/cdash-build-name-customizability/13819/5 "2025-03-27T18:34:04Z")

</div>

Does that mean you can set a variable called `BUILDNAME` in the configure stage?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [March 28, 2025, 8:39pm UTC](https://discourse.cmake.org/t/cdash-build-name-customizability/13819/6 "2025-03-28T20:39:18Z")

</div>

It comes from somewhere, yes. I don’t know if CTest unconditionally builds it from other info or not. I’d try it and see what happens.
