Skip to content

Add granular CMake targets with generate_cmake.py#590

Closed
afrind wants to merge 1 commit intofacebook:mainfrom
afrind:export-D91009064
Closed

Add granular CMake targets with generate_cmake.py#590
afrind wants to merge 1 commit intofacebook:mainfrom
afrind:export-D91009064

Conversation

@afrind
Copy link
Contributor

@afrind afrind commented Jan 22, 2026

Summary:
Add granular CMake targets for proxygen following the same pattern as mvfst,
fizz, and wangle. This introduces:

  • generate_cmake.py: Generates CMakeLists.txt files from BUCK/TARGETS files
  • ProxygenFunctions.cmake: Infrastructure for proxygen_add_library() macro
  • ProxygenCompatAliases.cmake: Backward compatibility aliases for moxygen
  • Granular libraries under lib/ with proper dependency tracking
  • Lint integration for keeping CMake in sync with BUCK

The monolithic proxygen::proxygen target is preserved for backward compatibility.
Dependencies now come naturally from BUCK files rather than blanket variables.

Manual CMakeLists.txt files (httpserver, httpclient/samples) have been updated
to use proxygen_add_library where appropriate.

Differential Revision: D91009064

Summary:
Add granular CMake targets for proxygen following the same pattern as mvfst,
fizz, and wangle. This introduces:

- generate_cmake.py: Generates CMakeLists.txt files from BUCK/TARGETS files
- ProxygenFunctions.cmake: Infrastructure for proxygen_add_library() macro
- ProxygenCompatAliases.cmake: Backward compatibility aliases for moxygen
- Granular libraries under lib/ with proper dependency tracking
- Lint integration for keeping CMake in sync with BUCK

The monolithic proxygen::proxygen target is preserved for backward compatibility.
Dependencies now come naturally from BUCK files rather than blanket variables.

Manual CMakeLists.txt files (httpserver, httpclient/samples) have been updated
to use proxygen_add_library where appropriate.

Differential Revision: D91009064
@meta-cla meta-cla bot added the CLA Signed label Jan 22, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 22, 2026

@afrind has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91009064.

@meta-codesync
Copy link

meta-codesync bot commented Feb 14, 2026

This pull request has been merged in 82e2ac1.

meta-codesync bot pushed a commit to facebook/hhvm that referenced this pull request Feb 14, 2026
Summary:
X-link: facebook/proxygen#590

Add granular CMake targets for proxygen following the same pattern as mvfst,
fizz, and wangle. This introduces:

- generate_cmake.py: Generates CMakeLists.txt files from BUCK/TARGETS files
- ProxygenFunctions.cmake: Infrastructure for proxygen_add_library() macro
- ProxygenCompatAliases.cmake: Backward compatibility aliases for moxygen
- Granular libraries under lib/ with proper dependency tracking
- Lint integration for keeping CMake in sync with BUCK

The monolithic proxygen::proxygen target is preserved for backward compatibility.
Dependencies now come naturally from BUCK files rather than blanket variables.

Manual CMakeLists.txt files (httpserver, httpclient/samples) have been updated
to use proxygen_add_library where appropriate.

Reviewed By: hanidamlaj

Differential Revision: D91009064

fbshipit-source-id: da7234bb29b9f372e989d35540d035ef11c0a2c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants