# C++20 modules and packages?

**URL:** https://discourse.cmake.org/t/c-20-modules-and-packages/9253
**Category:** Usage
**Created:** [October 23, 2023, 1:56pm UTC](https://discourse.cmake.org/t/c-20-modules-and-packages/9253 "2023-10-23T13:56:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Glad](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@Glad](https://discourse.cmake.org/u/Glad)
#### Post date: [October 23, 2023, 1:56pm UTC](https://discourse.cmake.org/t/c-20-modules-and-packages/9253/1 "2023-10-23T13:56:53Z")

</div>

Hi,

That question may look stupid for those more experienced than me with Cmake, but will c++20 modules make Cmake packages (using cpack) less relevant if only targeting c++ libs?  
My idea is that you will have everything you need in a module without the need to create a package.

But again, I may generate a lot of nonsense by writing this (and I don’t realize).

Thanks,

---

<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: [October 23, 2023, 6:55pm UTC](https://discourse.cmake.org/t/c-20-modules-and-packages/9253/2 "2023-10-23T18:55:36Z")

</div>

No, you still need libraries, config files, and more.

---

<div class="post-metadata">

### Author: ![Glad](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/g/5daacb/32.png) [@Glad](https://discourse.cmake.org/u/Glad)
#### Post date: [October 23, 2023, 7:00pm UTC](https://discourse.cmake.org/t/c-20-modules-and-packages/9253/3 "2023-10-23T19:00:35Z")

</div>

Thanks Ben
