]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: modularize os/CMakeLists.txt
authorKefu Chai <tchaikov@gmail.com>
Tue, 17 Jun 2025 07:33:56 +0000 (15:33 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 18 Jun 2025 03:26:32 +0000 (11:26 +0800)
commit5ab2e9fb5310257faa9831003aa7cb285d7de94a
treecbc15a14bd6e5e24bfe60e4e8fa8fa7117ac7d7a
parentfb5294abba69b92770f9e144761cca1a9544afa1
cmake: modularize os/CMakeLists.txt

Split monolithic os target into per-store modules to improve build
system organization and dependency management.

Previously, the "os" target compiled all sources in the os/ directory
as a single unit and linked against all dependencies collectively.

Changes:
- Break os/CMakeLists.txt into smaller, store-specific modules
- Enable per-store compile options and dependency definitions
- Make dependency relationships more explicit and granular

This modularization improves build system maintainability and makes
the codebase structure clearer for future development.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/os/CMakeLists.txt
src/os/bluestore/CMakeLists.txt [new file with mode: 0644]
src/os/fs/CMakeLists.txt [new file with mode: 0644]
src/os/kstore/CMakeLists.txt [new file with mode: 0644]
src/os/memstore/CMakeLists.txt [new file with mode: 0644]