# Nested project

**URL:** <https://discourse.cmake.org/t/nested-project/13161>\
**Category:** Code\
**Created:** [December 9, 2024, 3:57pm UTC](https://discourse.cmake.org/t/nested-project/13161 "2024-12-09T15:57:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oodini](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/o/db5fbb/32.png) [@Oodini](https://discourse.cmake.org/u/Oodini)\
**Post date:** [December 9, 2024, 3:57pm UTC](https://discourse.cmake.org/t/nested-project/13161/1 "2024-12-09T15:57:22Z")

</div>

Hello,

I have a Git project, which is supposed to be a service in a SOA.  
But as it is possible the SOA part may be removed later, I’d like to make a library, with a wrapped SOA service.

Here is the question :  
Could I do a CMake project (the SOA service) nesting an other project (the library, with its own unit tests), imported with `add_subdirectory()` ?
