Skip to content

build(cmake): split test definitions into per-directory CMakeLists.txt#2646

Open
darion-yaphet wants to merge 1 commit into
facebook:mainfrom
darion-yaphet:split-tests-cmake
Open

build(cmake): split test definitions into per-directory CMakeLists.txt#2646
darion-yaphet wants to merge 1 commit into
facebook:mainfrom
darion-yaphet:split-tests-cmake

Conversation

@darion-yaphet

Copy link
Copy Markdown

Move folly_define_tests() blocks out of the root CMakeLists.txt and into individual CMakeLists.txt files co-located with their test directories. The root file now uses include() to pull them in.

This makes it easier to add, remove, or modify tests for a specific module without touching the top-level build file.

@meta-cla meta-cla Bot added the CLA Signed label Apr 25, 2026
Move folly_define_tests() blocks out of the root CMakeLists.txt and into
individual CMakeLists.txt files co-located with their test directories.
The root file now uses include() to pull them in.

This makes it easier to add, remove, or modify tests for a specific
module without touching the top-level build file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant