Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Avoid multiple compilations of same source files #9675

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

merlimat
Copy link
Contributor

Motivation

CMake is driving the compilation of source files multiple times, once per each library type (static, dynamic and dynamicWithoutSSL). All the variants are using the same flags when compiling the sources.

Instead we can define an object lib in CMake and use that to build the libraries, compiling just once.

This will significantly reduce the build time.

@merlimat merlimat merged commit b8170ee into apache:master Feb 23, 2021
@merlimat merlimat deleted the cpp-client-mem-limit branch February 23, 2021 02:19
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.

None yet

2 participants