# CPack.Info.plist.in seems to be unused

**URL:** https://discourse.cmake.org/t/cpack-info-plist-in-seems-to-be-unused/5256
**Category:** Development
**Created:** [March 21, 2022, 2:03am UTC](https://discourse.cmake.org/t/cpack-info-plist-in-seems-to-be-unused/5256 "2022-03-21T02:03:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [March 21, 2022, 2:03am UTC](https://discourse.cmake.org/t/cpack-info-plist-in-seems-to-be-unused/5256/1 "2022-03-21T02:03:30Z")

</div>

Does anyone know the purpose of the file at `Modules/Internal/CPack/CPack.Info.plist.in` in CMake’s repository? I can’t find anything that seems to reference it. I’m not even sure if it was ever actually used, even though it is mentioned in a comment in `CPack.cmake` (and that appears to be the only place it is and has ever been referenced).

@brad.king

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [March 21, 2022, 4:24am UTC](https://discourse.cmake.org/t/cpack-info-plist-in-seems-to-be-unused/5256/2 "2022-03-21T04:24:58Z")

</div>

Looks like `CPack.Description.plist.in`, `CPack.DS_Store.in`, and various other `CPack.*` template files are unused as well, so they are all potentially part of the same set of incomplete/removed functionality.

---

<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 21, 2022, 6:49am UTC](https://discourse.cmake.org/t/cpack-info-plist-in-seems-to-be-unused/5256/3 "2022-03-21T06:49:53Z")

</div>

FWIW, I see references in [`b1a74218401a6d990b570cae8141cad97fb8dc19`](https://gitlab.kitware.com/cmake/cmake/-/commit/b1a74218401a6d990b570cae8141cad97fb8dc19) from 2004 at least. No idea when it stopped being used, but it seems it was used at some point.

Nevermind, that is for the `Info.plist` file. No idea where these other ones come into the picture.

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [March 21, 2022, 4:16pm UTC](https://discourse.cmake.org/t/cpack-info-plist-in-seems-to-be-unused/5256/4 "2022-03-21T16:16:54Z")

</div>

I think the deprecated `Source/CPack/cmCPackPackageMakerGenerator.cxx` uses these files, but constructs their name programmatically. See the `CopyResourcePlistFile` calls.

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [March 21, 2022, 8:09pm UTC](https://discourse.cmake.org/t/cpack-info-plist-in-seems-to-be-unused/5256/5 "2022-03-21T20:09:47Z")

</div>

Fantastic, thanks. That was the info I was looking for. I thought there might be some sort of programmatic use, but had no success finding it earlier.
