opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

dynamically generate curl header file with macro if curl installed

Open lalitb opened this issue 4 years ago • 4 comments
trafficstars

Based on comment here: https://github.com/open-telemetry/opentelemetry-cpp/pull/445#discussion_r542216350 Instead of defining macro for all the cpp source files which use curl based http client, it's suggested to instead automatically generate/update the header file for WITH_CURL macro, and ensure we include this header file wherever needed.

lalitb avatar Dec 14 '20 10:12 lalitb

Note: There's also an aspect of the BAZEL build where it'd be ideal if we had a header file that included the necessary -D. See #444 for an example in bazel where libraries using CURL need to add the defines.

jsuereth avatar Dec 18 '20 17:12 jsuereth

This issue was marked as stale due to lack of activity. It will be closed in 7 days if no furthur activity occurs.

github-actions[bot] avatar Nov 22 '21 01:11 github-actions[bot]

This issue was marked as stale due to lack of activity. It will be closed in 7 days if no furthur activity occurs.

github-actions[bot] avatar Jan 22 '22 01:01 github-actions[bot]

This issue was marked as stale due to lack of activity. It will be closed in 7 days if no furthur activity occurs.

github-actions[bot] avatar Mar 24 '22 02:03 github-actions[bot]

@lalitb The issue originally reported seem out of date now.

Could this be closed ?

marcalff avatar May 16 '23 09:05 marcalff

@lalitb The issue originally reported seem out of date now.

Could this be closed ?

Yes I think this can be closed now.

lalitb avatar May 17 '23 03:05 lalitb