# CMake/CPack with system extensions MacOS

**URL:** <https://discourse.cmake.org/t/cmake-cpack-with-system-extensions-macos/959>\
**Category:** Code\
**Tags:** os:macos\
**Created:** [April 9, 2020, 7:46am UTC](https://discourse.cmake.org/t/cmake-cpack-with-system-extensions-macos/959 "2020-04-09T07:46:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![skratchi](https://discourse.cmake.org/user_avatar/discourse.cmake.org/skratchi/32/492_2.png) [@skratchi](https://discourse.cmake.org/u/skratchi)\
**Post date:** [April 9, 2020, 7:47am UTC](https://discourse.cmake.org/t/cmake-cpack-with-system-extensions-macos/959/1 "2020-04-09T07:47:00Z")

</div>

The concept of system extensions or DEXTs is fairly new to MacOS. My team is in process of developing one. Is it planed to support this technology? Building and signing a dext with cmake would be a great extension. Another great thing would be, to include a possibility to add a dext with cpack into an app bundle.

---

<div class="post-metadata">

**Author:** ![kyle.edwards](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/k/65b543/32.png) [@kyle.edwards](https://discourse.cmake.org/u/kyle.edwards)\
**Post date:** [April 9, 2020, 1:16pm UTC](https://discourse.cmake.org/t/cmake-cpack-with-system-extensions-macos/959/2 "2020-04-09T13:16:57Z")

</div>

We do not currently have any functionality for building dexts with CMake, but it sounds like a very interesting project! If you can write a CMake module to do it (or, if necessary, modify CMake itself), I think we might be willing to add it to CMake.

FWIW, it is certainly possible to build things like kernels and drivers in CMake - ReactOS uses CMake, even for the kernel, and I myself have used it in attempting to write my own OS kernel.

---

<div class="post-metadata">

**Author:** ![skratchi](https://discourse.cmake.org/user_avatar/discourse.cmake.org/skratchi/32/492_2.png) [@skratchi](https://discourse.cmake.org/u/skratchi)\
**Post date:** [June 25, 2020, 8:16am UTC](https://discourse.cmake.org/t/cmake-cpack-with-system-extensions-macos/959/3 "2020-06-25T08:16:21Z")

</div>

Sorry for the long time silence. Can you refer me to a documentation on how to create a CMake module?

---

<div class="post-metadata">

**Author:** ![gatkinso](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@gatkinso](https://discourse.cmake.org/u/gatkinso)\
**Post date:** [August 18, 2021, 12:51pm UTC](https://discourse.cmake.org/t/cmake-cpack-with-system-extensions-macos/959/4 "2021-08-18T12:51:02Z")

</div>

Hi - this topic seems to be over a year old - has there been any work towards enabling system extension development with cmake?
